loading

Arduino Mega 2560 timeout?

I have tried uploading the simple "Blink" sketch onto a 5v Mega Pro from Spakrfun using their 5v FTDI programmer. Despite my best efforts I have kept getting this error...

Binary sketch size: 1,632 bytes (of a 258,048 byte maximum)
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

I have know I am using the correct COM port and I have the right board selected. I have tried to re-install the driver but to no avail. Nothing I have found online has worked.

sort by: active | newest | oldest
le_chak3 years ago
Hi. I had same issue and solve it. I go to hardvare manager in Windows. Find device named USB Serial Converter under USB Controllers group. Right click and Select Update Drivers. Then MANUALY select FTDI driver located in arduino folder (\arduino-1.0.5\drivers\FTDI USB Drivers) and install it. Allow window to use this driver when he ask for it. After this all work fine.
Hope this will help.

Thank you.

ketank le_chak2 years ago

Hey, What do u select as programmer in tools menu when trying to upload sketch via FTDI?

And also can you please tell which all pins on FTDI ar to be connected to ATMega2560 breakout board.

Thanks

le_chak ketank2 years ago

Hi. I'am not used external FTDI adapter. I had Mega2560 board from ElecFreaks with integrated FTDI chip.

But if you need to connect your Mega to FTDI adapter you must connect RX, TX, Reset and Ground pins.

Adapter -> MEGA
RX -> TX (18)
TX -> RX(19)
GND -> GND(any GND on board)
RST -> Reset
Power pin not nessesary because FTDI powered from USB. Also you can power your Mega from this pin.

As i know FTDI programmer emulated COM port and in application you must select COM port corresponding to adapter to upload your sketch.

TheGreatS (author)  le_chak3 years ago
Hey, thanks for you're reply. It ended up for me being that the mega had a bad crystal and I had to send it in to get it fixed. But so far this is the best general response I have seen.
anips16 months ago

Make sure you have the right board and the right processor chosen in the Tools>Board, Tools>Port, Tools>processor. If you have a wrong combination of the above 3, you might get the same error. Good Luck!

RubenFerol1 year ago

I have this problem once in a while, when i use my UNO IDE to upload to my Mini Pro. To solve it, i make another upload to my MiniPro and then select back UNO from tools/board, and that's it.

thanks man you realy helped me alot

What FTDI board do you have? Is it the FTDI Breakout board from Sparkfun? If not then you may not have the pins connected correctly. The errors you are seeing are from the PC not able to get a connection with either the FTDI board or the arduino itself.  
TheGreatS (author)  mpilchfamily3 years ago
Yes, that is the exact board I have.
Make sure it's plugged in right. Selection the Mega as your board may not be the right selection here. As the USB connection your using is different than the one used by the official Mega. The board selection is based more on the interface chip used then on the version of Arduino. Look through the documentation for any info on this subject. Also ask in the Arduino forums.