Hi,
I can upload to my Arduino if I use the 022 version, but not when using the 1.0 (or 1.0.1) version. It comes back with a sync fail.
This is true for several Arduiono boards and on my two machines which us Win-XP and Win7(64) respectivly. So it isnt something simple like I forgot to plug it in
As this works for thousands of other users there is something strange about my setup. I have both 022 and 1.0 (and now even 1.0.1) installed. I noticed the preferences file is the same - my settings are "transfered" between the versions. I have tried with a fresh preferences (delete the current one, it generates a new one)
Any clues where else to look?
Post a verbose output from a failure. Use a small program like Blink.
Binary sketch size: 1026 bytes (of a 30720 byte maximum)
C:\Programmer\arduino-1.0\hardware/tools/avr/bin/avrdude -CC:\Programmer\arduino-1.0\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\.\COM3 -b57600 -D -Uflash:w:C:\DOCUME~1\Michael\LOKALE~1\Temp\build5901131632528936530.tmp\Blink.cpp.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:\Programmer\arduino-1.0\hardware/tools/avr/etc/avrdude.conf"
Using Port : \.\COM3
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
No reply. The usual culprits are...
• Wrong serial port
• Wrong baud rate (because the wrong board is selected)
• Auto-reset not working
Given 0022 works, the last item seems like the most likely culprit. Does the LED on pin 13 blink a few times when you try to upload?
LED 13 blinks. Both with the 022 upload (which works) and the 1.0 (which doesn't)
What bothers me I get the same problem on the other machine. I could understand if I had this on only one - in the sense one was wrongly configured.
What kinds of board(s)? Uno? Mega?
At the moment both the Dueminlanove, a Mega 2560 and an UNO. Got a few homemade 328-boards I program with a "serial cable", I'll try with one of them. (The MEGA I've always had trouble to get to run on the Win7, so I cant confirm that one)
(Edited that test and failure includes the UNO)
I have the exact same version of avrdude here.
I don't any of these will make a difference. This list is meant to help you think of any differences or things to test...
• USB cables are the same
• USB path (e.g. hub, port on the computer) is the same
• Bare board (no shields or other connections)
• Minimal background software running
Have you tried a manual reset?
Having a little help and understanding (really more the latter) is a great support. Thanks.
The 1.0.1 now uploads correct on the win7 machine after I upgraded the USB driver (admin computer, device manager, upgrade driver ...).
I am trying the same stunt on the XP - but am having difficulty ... doesnt seem to find the driver, irrespective of my pointing to it (using the 1.0.1 kit)
The driver for the Dueminlanove? You're probably better served by getting the latest driver from Microsoft or FTDI.
Working on it ... now it is only the Duemilanova that is having difficulty.
Status so far:
After upgrading from Arduino IDE version-0022 to the Arduino 1.0.1 it was necessary to upgrade the drivers with the new ones in the kit for upload to work on an Arduino UNO and an Arduino MEGA 2560. (These use the new "u2" chip)
Unfortunatly it has not worked for the Duemilanova (which uses the "old" FTDI chip) - the version 1.0.1 IDE still can not upload to it (error message as in earlier post, LED blinks) but the 022 IDE works fine even with the latest drivers from FTDI. This happens both on an Windows XP and a Windows 7. I suspect the same problem will be with the "serial cable" from Sparkfun which also uses the FTDI chip.
(Edit: typos fixed and ambigous wording clarified)
Huh. That is odd. I doubt it will help but you may want to try avrdude 5.10 and/or the latest version of WinAVR.
Another few experiments later: The 1.0.1 works fine with my Sparkfun FTDI USB-Serial converter when going to a homebrew 328 based board, and it also works with the Duemlianove with only TX/RX where I push reset at the right time. (With the normal USB pushing reset makes no difference)
There is a faint possibility that there is a fault on the Duemlianove (but it works fine with 0022 version) but all other boards I have now work fine with the old (avrdude: Version 5.4-arduino) and the new kit (avrdude: Version 5.11).
I get exactly the same problems and solutions on both Win-XP and Win-7 machines.