Hi,
I am experiencing a timeout issue when I try to upload a .hex file compiled in WinAvr using the avrdude utility. I experience the same issue when I run avrdude from the command line. I hope this is enough information to get some feedback on this issue, please let me know if more data is required:
O/S: Windows XP SP3
WinAvr: v2.0.8.718-basie
Arduino IDE: 1.0
avrdude: v5.11
Processor: ATmega2560
Com Ports: I have tried COM4 and COM2 (They both show up in the Device Manager properly as:
"Arduino Mega 2560 R3 (COM2)" and "COM4" respectively.
I have tried to hold the Reset Button down prior to uploading my .hex file at a variety of time points. This is as suggested in several of the threads on the forum.
The exact error I am receiving is: "avrdude: stk500v2_ReceiveMessage(): timeout"
I am able to upload sketches with the Arduino IDE.
I wasn't sure if this would help debug my issue but the following is an example session and its returned error code:
avrdude -F -v -pm2560 -cstk500v2 -P\\.\COM4 -b19200 -D -Uflash:w:"C:\Documents and Settings\Mozart\My Documents\Arduino Test Project\MEGA_GPIO_EXAMPLE1\MEGA_GPIO_EXAMPLE1\Debug\MEGA_GPIO_EXAMPLE1.hex":i
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Arduino\arduino-1.0\hardware\tool
s\avr\bin\avrdude.conf"
Using Port : \\.\COM4
Using Programmer : stk500v2
Overriding Baud Rate : 19200
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
etc.....
Thank you for any assistance you can provide. Please let me know if more information is required.
-Ken Q.