Hello - I was working on a project with a Yun and a Mega. By accident I uploaded the Mega's code to the Yun. I tried to cancel this upload. I then tried to reupload the Yun's code. The IDE takes forever to upload and basically hangs. I have tried to reupload the Blink sketch and this takes forever as well.
One clue is that the Serial TX LED is always on. If I reset the 32U4, this light goes off but I cannot connect with USB. I have to re-reset it to get the board to be recognized over USB. I have tried all three of the Yun's reset buttons.
I tried the loop back test but the board is not recognized at all over USB. Jumpering Reset to Ground is the connection that causes the board not to be recognized.
Here is some sample error code:
Using Port : COM8 Using Programmer : avr109 Overriding Baud Rate : 57600 avrdude: ser_open(): can't set com-state for "\\.\COM8" avrdude: ser_send(): write error: sorry no info avail
Thanks for any suggestions about how to fix this.