Show Posts
Pages: 1 2 [3]
31  Using Arduino / Installation & Troubleshooting / Re: Timeout() issue with WinAvr/Avrdude on 2560 .HEX upload on: January 07, 2012, 05:32:31 pm
I have the verbose compile settings turned on and can see what is happening when the compiler is executed within the IDE, however, there are no messages when the program is uploaded to the board (i.e. using avrdude).  In fact the last message that I can see prior to the program being uploaded within the IDE is:

Binary sketch size: 1602 bytes (of a 258048 byte maximum)

What do I need to set and where do I do the settings to get a verbose IDE/avrdude upload?

Thanks,
 -Ken Q.
32  Using Arduino / Installation & Troubleshooting / Re: Timeout() issue with WinAvr/Avrdude on 2560 .HEX upload on: January 06, 2012, 10:22:54 pm
Ok, I tried using the baud rate the boot loader expects of 115200 and received the same error message:

avrdude: stk500v2_ReceiveMessage(): timeout

Another thread indicated that:

"The serial monitor ties up the com port just as an upload would, make sure no serial monitors are open, go to com4's properties and click advanced, set a port spec above com10. Select the applicable port in the ports menu in the arduino ide  tools....Serial Ports"

So I set the COM port to COM15 and received the same error message.  Any recommendations would be welcome...

Thanks,
 -Ken Q.
33  Using Arduino / Installation & Troubleshooting / Re: Timeout() issue with WinAvr/Avrdude on 2560 .HEX upload on: January 06, 2012, 01:27:01 am
I will try that but I was wondering if I have to set the com port to 115200 as well.  I believe the default com port in windows, when it finds a hardware "COM device", is 9600.

Thanks
 -Ken Q.
34  Using Arduino / Installation & Troubleshooting / Timeout() issue with WinAvr/Avrdude on 2560 .HEX upload on: January 04, 2012, 10:50:45 pm
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.
35  Using Arduino / Installation & Troubleshooting / Re: Sketches Not Uploading To Mega on: January 04, 2012, 10:02:44 pm
Sorry Dante, didn't mean to hijack the thread.  I thought you were experiencing the same issue as I was.  I will open a new thread.  I hope you figure this thing out...I hope I figure mine out too.
36  Using Arduino / Installation & Troubleshooting / Re: Sketches Not Uploading To Mega on: January 03, 2012, 08:30:17 pm
I thought this might help, let me know if anyone needs more:

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
37  Using Arduino / Installation & Troubleshooting / Re: Sketches Not Uploading To Mega on: January 03, 2012, 08:16:18 pm
I am currently running Windows XP.  The com port does show up in
<Control Panel>-><System>-><Hardware>-><Device Manager>-><Ports (Com & Lpt)>-><Arduino Mega 2560 R3 (Com4)>

I have tried all of the Reset advice provided in the documented solution (i.e. hold the button down and run run avrdude) but still the best I can get is the Timeout() error.  Is there some other piece of information that I can provide to assist in debugging this?
38  Using Arduino / Installation & Troubleshooting / Re: Sketches Not Uploading To Mega on: January 02, 2012, 07:31:14 pm
I am able to get sketches uploaded, however, I am unable to use avrdude to upload anything to the ATmega 2560.  It seems like a lot of people are having this same issue, however, there does not appear to be a consistent solution.
Pages: 1 2 [3]