Olá,
Recentemente meu Arduino parou de ser reconhecido pelo computador. Realizei diversos testes:
– Troquei o Atmega328
– Regravei a bootloader
– Testei o controlador fora da placa
– Medi com o multimetro as conexões básicas para ver se fechava o circuito
Nada disso solucionou o problema e então decidi tentar programar o atmega8u2 que é responsável por controlar a conexão com a USB. Encontrei dois artigos principais os quais usei como base:
Atualizando o Atmega8U2 no Uno ou no Mega2560 usando DFU (Ingles) e também Como atualizar o firmware do atmega8u2 Updating the Atmega8U2 on an Uno or Mega2560 using DFU
Ambos utilizavam de soluções que era necessário soldar um resistor na placa, o que eu não queria fazer, então verifiquei que próximo ao atmega8u2 existem pinos de ICSP e imaginei que os mesmos servem para programar o atmega8u2. Decidi tentar, por garantia removi meu Atmega328 da placa. E conectei meu USB Asp seguindo os pinos da imagem, lembrando que o pino 1 possui uma marcação próxima no meu Arduino UNO uma pequena bolinha.
Após a conexão acessei o diretório que continha os hex do atmega8u2 do arduino Uno (/arduino/hardware/arduino/firmware/) e usei o comando:
sudo avrdude -c usbasp -p m8 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex
O mesmo não aceitou dizendo que o identificador de ambos eram diferentes:
avrdude: Yikes! Invalid device signature.
voltei a pesquisar e descobri que o at90usb162 é compativel, então decidi arriscar e forçar a escrita com a opção
sudo avrdude -c usbasp -p usb162 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex -F
Esperei gravar, desliguei o arduino, conectei meu atmega328 e a conexão USB voltou a aparecer no computador, tornando assim possivel eu utilizar meu Arduino pela USB novamente.
Matheus
PS: Logo após regravar a bootloader meu atmega328 não sincronizava com a USB, então escrevi a bootloader do atmega328 pro arduino uno novamente e tudo funcionou perfeitamente.
Referencias:
http://8515.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=688637
http://image.pinout.net/pinout_10_pin_files/connector_pinout.php?image=avr_icsp.png&pinout=%20This%20a%20pinout%20of%20the%20AVR%20ICSP%20header.%20(6-pin%20&%2010-pin)

No Arduino qual a diferença entre o bootloader e o firmware?
mostbet kg [url=http://mostbet12034.ru]http://mostbet12034.ru[/url]
mostbet.com [url=mostbet12033.ru]mostbet12033.ru[/url]
mostbet kg [url=https://mostbet12035.ru/]https://mostbet12035.ru/[/url]
mostbet kg [url=https://mostbet12036.ru/]mostbet kg[/url]
mostbet скачат [url=https://mostbet12037.ru/]https://mostbet12037.ru/[/url]
бк мостбет [url=http://mostbet12039.ru]http://mostbet12039.ru[/url]
mostbet ckachat [url=https://www.mostbet12038.ru]mostbet ckachat[/url]
mostbet kg [url=http://mostbet12040.ru/]mostbet kg[/url]
Really insightful post — Your article is very clearly written, i enjoyed reading it, can i ask you a question? you can also checkout this newbies in classied. iswap24.com. thank you
1win букмекерская контора официальный сайт зеркало [url=http://1win5521.ru]http://1win5521.ru[/url]
1вин вход в личный кабинет [url=http://1win5520.ru]1вин вход в личный кабинет[/url]
flight game money [url=http://www.aviator-game-predict.com]http://www.aviator-game-predict.com[/url] .
I was suggested this web site by my cousin Im not sure whether this post is written by him as no one else know such detailed about my trouble You are incredible Thanks
скачать официальный сайт мелбет [url=https://melbet5003.ru]https://melbet5003.ru[/url]
melbet apps [url=https://www.melbet5002.ru]melbet apps[/url]
melbet .md [url=melbet5012.ru]melbet .md[/url]
promocode melbet [url=https://www.melbet5011.ru]https://www.melbet5011.ru[/url]
melbet probleme de logare [url=https://www.melbet5014.ru]melbet probleme de logare[/url]
melbet купон [url=https://melbet5005.ru/]melbet купон[/url]
1win xyz [url=https://1win12020.ru]1win xyz[/url]
пароль для мелбет [url=melbet5004.ru]melbet5004.ru[/url]
melbet зеркало 2020 [url=https://melbet5009.ru]https://melbet5009.ru[/url]
Just checking out umcassino and thought I’d share the love. It’s really solid with a user-friendly interface. Give it a whirl, you won’t regret it! You can find it here: umcassino
пин ап ставки на виртуальный спорт [url=https://pinup5014.ru/]https://pinup5014.ru/[/url]
Yo, check out 23win8bet. It has been solid to me. Plus all the games make you feel like you got to be on 23win8bet
1win русский [url=www.1win5522.ru]www.1win5522.ru[/url]
1вин покер [url=1win5512.ru]1win5512.ru[/url]
1win aviator yuklab olish [url=https://www.1win5514.ru]https://www.1win5514.ru[/url]
Really insightful post — Your article is very clearly written, i enjoyed reading it, can i ask you a question? you can also checkout this newbies in seo
Do you have a spam problem on this site; I also am a blogger, and I was wondering your situation; we have created some nice methods and we are looking to swap
techniques with others, please shoot me an e-mail if interested.
I like the valuable info you provide in your articles. I’ll
bookmark your weblog and check again here
regularly. I am quite certain I’ll learn many new stuff right here!
Best of luck for the next!
Really great read — I appreciate how clearly you explained the importance of local online presence for businesses today. It’s a topic many companies overlook, i find it very interesting and very important topic. can i ask you a question? also we are recently checking out this newbies in the webdesign industry., you can take a look . waiting to ask my question if allowed. Thank you
Hello, this weekend is good for me, because this
time i am reading this fantastic educational post
here at my residence.
как зайти на сайт мостбет [url=https://mostbet2029.help]https://mostbet2029.help[/url]
Instagram Chat Assistant – $250 a Day. Several online retailers are looking to hire additional Instagram Chat Assistants to help drive more sales through Direct Messages sent to their Instagram accounts. This is online work that can be done from anywhere, full training is provided and the pay is $250 a day. Hiring workers from all countries. Read full details here to complete your application if you are interested. You can find more info here: http://chat-assistant.advertising4you.co.uk
мостеб [url=http://mostbet2031.help/]http://mostbet2031.help/[/url]
1win yangi domen [url=https://MAQOLALAR.UZ/]https://MAQOLALAR.UZ/[/url]
I went over this website and I believe you have a lot of superb info, saved to fav (:.
1win uganda [url=https://1win5741.help/]https://1win5741.help/[/url]
Everything said made a lot of sense. But,
consider this, suppose you added a little content? I ain’t suggesting your information isn’t solid, however what if you added a post title to possibly
get people’s attention? I mean Programming atmega8u2 on Arduino Uno using USB Asp – Matheus Bratfisch is kinda vanilla.
You might peek at Yahoo’s front page and watch how they create article titles to grab viewers to
click. You might add a video or a related pic or two to grab readers excited about everything’ve written.
Just my opinion, it could make your blog a little bit more interesting.
Good day! I know this is kinda off topic however , I’d figured I’d
ask. Would you be interested in exchanging links or maybe guest writing a blog article or vice-versa?
My website covers a lot of the same subjects as yours and I believe we could greatly benefit from each other.
If you happen to be interested feel free to shoot me an e-mail.
I look forward to hearing from you! Awesome blog by
the way!
Write more, thats all I have to say. Literally,
it seems as though you relied on the video to make your point.
You definitely know what youre talking about, why waste your intelligence on just posting videos to
your blog when you could be giving us something enlightening to read?
1win az hesabı necə açmaq [url=http://1win5760.help/]http://1win5760.help/[/url]
Greetings! Very helpful advice within this article! It’s the little changes which will make the greatest changes.
Many thanks for sharing!
i enjoy reading this great article, i have shared it many times on my website and started following you, Do you post more often ?? i am the owner of https://webdesignagenturbayreuth.de/ a webdesign agency in bayreuth Germany, webdesign agentur bayreuth, you can link up if you are interested. Thank you