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)

Fantastic site. Plenty of helpful info here. I am sending
it to several pals ans additionally sharing in delicious.
And obviously, thank you to your sweat!
I am sure this piece of writing has touched all the internet users, its really really good piece of writing on building up new weblog.
I am sure this article has touched all the internet people, its really really pleasant paragraph on building up new webpage.
i enjoy reading your articles, it is simply amazing, you are doing great work, do you post often? i will be checking you out again for your next post. you can check out webdesignagenturnürnberg.de the best webdesign agency in nuremberg Germany
海外华人必备的ify平台智能AI观看体验优化,提供最新高清电影、电视剧,无广告观看体验。
https://askoff.ru
https://asklong.ru
I like it when people get together and share views. Great site, continue the good work!
bachelors in occupational therapy [url=https://otvetnow.ru]https://otvetnow.ru[/url] medical transcriptionist classes online
https://askoff.ru
https://askoff.ru
https://askoff.ru
I like what you guys tend to be up too. This kind of clever work and exposure! Keep up the awesome works guys I’ve included you guys to my personal blogroll.
I love your blog.. very nice colors & theme. Did you create this website yourself? Plz reply back as I’m looking to create my own blog and would like to know wheere u got this from. thanks
Lecturer while attending college was communicating everyday concerning %BT%. That he or she didn’t pun intended, the overnight along with. May possibly smb afford personally with an increase of with it?
I’m not sure where you’re getting your information, but good topic.
I needs to spend some time learning much more or understanding more.
Thanks for wonderful information I was looking for this information for my mission.
i enjoy reading your article, keep posting, i am a big fun and will continue following you, i am one of the best webdesign freelancer in München in Deutschland. https://webdesignfreelancermunchen.de/ check it out. Thank you
https://qtjpqhtfcs.wordpress.com
https://iagperjusu.wordpress.com
https://xrsaugpsya.wordpress.com
https://gxvkxeawwa.wordpress.com
https://gxvkxeawwa.wordpress.com
https://azacgxicis.wordpress.com
https://zfcejfyxiv.wordpress.com
https://cxadxqpked.wordpress.com
https://cxadxqpked.wordpress.com
https://cxadxqpked.wordpress.com
https://dgaiyziytk.wordpress.com
https://hrjcdfdcvj.wordpress.com
https://wryxvrrhxe.wordpress.com
https://thfdcufqah.wordpress.com
This website was… how do I say it? Relevant!! Finally I’ve found something that
helped me. Cheers!
I constantly spent my half an hour to read this website’s articles
or reviews all the time along with a cup of coffee.
Hello this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding skills so I wanted to get advice from someone with experience.
Any help would be greatly appreciated!
I’m not sure why but this website is loading very slow for me.
Is anyone else having this problem or is it a
problem on my end? I’ll check back later
on and see if the problem still exists.
An interesting discussion is definitely worth comment.
I believe that you need to publish more on this issue,
it may not be a taboo matter but typically people don’t discuss these
issues. To the next! All the best!!
I’ve been surfing online more than 2 hours today, yet I never found any interesting article like yours.
It’s pretty worth enough for me. In my opinion, if all website owners and bloggers made good content as you did, the web will be much more useful than ever before.
Wonderful paintings! That is the kind of information that are meant to be shared around the internet. Disgrace on the search engines for no longer positioning this post higher! Come on over and consult with my site . Thanks =)
High quality Traffic Leads: One of many main advantages of SEARCH ENGINE MARKETING is that it helps to steer quality site visitors to your website than the PPC.
Fantastic site you have here but I was curious about if you knew of any
community forums that cover the same topics talked about in this
article? I’d really like to be a part of community where I can get feed-back from other knowledgeable individuals that share
the same interest. If you have any suggestions, please let me know.
Bless you!
Heya i’m for the first time here. I came across this board and I find It really helpful & it helped me out a lot. I hope to offer something again and aid others such as you helped me.
I am sure this paragraph has touched all the internet users, its really really good article on building up new blog.
Saved as a favorite, I love your web site!
Wow, this piece of writing is fastidious, my sister is analyzing such things, thus I am going to let know her.
magnificent post, very informative. I wonder why the other experts of this sector do not realize this.
You must continue your writing. I am confident, you have a great readers’ base already!
I am sure this post has touched all the internet users, its really really fastidious article on building up new web site.
magnificent put up, very informative. I ponder why the opposite specialists of
this sector do not understand this. You should
proceed your writing. I am confident, you’ve a huge readers’ base already!
Sweet blog! I found it while searching on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Thanks
Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your
weblog? My blog site is in the very same niche as yours and
my visitors would genuinely benefit from a lot
of the information you provide here. Please let me know if this ok with
you. Regards!
Ahaa, its pleasant conversation about this piece of writing here at this blog, I have read all that, so at this time me also commenting here.