I think I am toast, or my brain is about to be toast!
There should be a fix for this somewhere, but I have not found it.
I was uploading a sketch on my Mega 2560 R3 then I by accident hit the serial monitor button.
The upload failed and the Mega is non responsive after that.
It has worked flawless as monitor for my heating system and never given me troubles like this.
This is what I get when trying to upload:
“Sketch uses 27,022 bytes (10%) of program storage space. Maximum is 253,952 bytes.
Global variables use 1,464 bytes (17%) of dynamic memory, leaving 6,728 bytes for local variables. Maximum is 8,192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer”
And this with shift-key pushed:
“Sketch uses 27,048 bytes (10%) of program storage space. Maximum is 253,952 bytes.
Global variables use 1,464 bytes (17%) of dynamic memory, leaving 6,728 bytes for local variables. Maximum is 8,192 bytes.
avrdude: usbdev_open(): did not find any USB device "usb"”
The leds is red both power and pin 13.
The board is recognized in Windows 10, XP and Ubuntu.
I can upload to other boards like another Mega and Uno with out any problems.
The problem is specific to this Mega!
I tried the sketches from Nick Gammon but that didn't work, just getting a bunch of crap in the serial monitor.
I have read all troubleshooters that I can find, obviously not the right one.
Now I am out of ideas and steam and need some help.
Any suggestions what to do, cause my knowledge wont take me much further.