Go Down

Topic: Arduino Uno, cant upload via arduino-0022 (Read 825 times) previous topic - next topic

VjGreek

I purchased an Arduino Uno, and a Rainbowduino got it all wired and working, until I tried to upload firmware and more.

I keep getting this error,

Binary sketch size: 3362 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x86
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I am using Windows XP. Com port is working, everything seems to work till it finishes upload.

When I start the upload it states:
Binary sketch size: 3362 bytes (of a 32256 byte maximum)
The Lights on my board go off, and on, and then off and on again.

then i get the Error:
avrdude: stk500_getsync(): not in sync: resp=0x86
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

How do I fix this issue?

VjGreek

Here is the Full rundown that I got from it!

Binary sketch size: 3362 bytes (of a 32256 byte maximum)
C:\Users\Greek\Downloads\arduino-0022\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Users\Greek\Downloads\arduino-0022\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM11 -b115200 -D -Uflash:w:C:\Users\Greek\AppData\Local\Temp\build4156509068787287401.tmp\firmware.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "*********\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

         Using Port            : \\.\COM11
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x86
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done.  Thank you.

giantsfan3

To get to the root of the problem quickly, I'd try these:
With ONLY the arduino Uno connected to the computer, try to upload a simple sketch like Blink.
Check that the following are correct:
[Tools] menu > [Board]  > Arduino Uno
And one more thing, try to re-install the FTDI-serial driver (you know how to do that probably)

Please report on what happens when you do that, and we can proceed from there.

Also, if the problem persists, try directly uploading using avrdude from command prompt... Not that difficult, and also useful knowledge in the future if you ever want to program small atmega chips (instead of just using the full arduino system) for your final project:
Here is a guide for that: http://www.sparkfun.com/tutorials/200

mellis

Were you ever able to upload the Uno?

Try these instructions if the Arduino Uno device is shown with a warning in the Device Manager: http://arduino.cc/en/Guide/UnoDriversWindowsXP

You don't need to reinstall the FTDI drivers; the Uno does not use an FTDI chip or drivers.

Go Up