Hey guys, I've been encountering a problem with uploading any code to my Arduino Mega 2560 (revision 3)
I've searched through the other forum posts, and have tried changing stk500v2 to wiring and vice versa. I've tried changing the programmer, I've tried different computers (both Windows 7 64-bit though, have not tried uploading from a different OS)
I do not have three exclamation points (this problem happens with any code I try to upload [I've been testing with blink]).
It's not getting a response back from the main chip at all by the looks of things.
Have you considered the possibility that whatever you have been connecting up to the board might have fried it? What were you doing just before this started happening?
I can still see the values of my program going through and lighting up pin 13, which makes me believe that the board itself isn't fried.
I encountered the error once when I left a wire going from pin 6 and the reset pin, and taking that out let me upload again. Then after a bit more testing (running actuators, some through controllers, stopping them with a button) it just wasn't letting me upload at all.
Well, I rewrote the bootloader, and still no communication. I think it probably at this point is some sort of hardware problem between the chip and the USB plug-in.
Something might've grounded out and messed some communication wire out. I guess be careful where your wires fall.
Anyways, thanks for the help guys, I'm going to give up on this board.
I am having the identical problem with the Mega 2560. I downloaded a succession of different versions of a program for reading a DS18B20 temperature sensor. That was the only device connected to the Arduino and I did not change anything as I debugging the software.
All of a sudden I started getting the identical timeout error described in this post and it now will not download any program I previously downloaded successfully. I find it hard to believe I fried the Arduino and I am hoping some guru has an answer for what is going on.
It might be a wierd question, but you have selected the right serial com port that's fine. But have you selected the right model of board, like "Mega2560 Mega ADK" in your case? Check at the bottom of you IDE windows on the right side.
Some time we can do some unnoticed clicking and change stuff without realizing it...
I found the problem, but I don't know how it happened. I set the IDE to communicate on Com4 and for some reason it changed to COM1. I changed it back to COM4 and now it works!
Thanks for the heads up (or more correctly eyes lower right) Frederic!