Go Down

Topic: Problem uploading - stk500_getsync(): not in sync: resp=0xe0 (Read 2 times) previous topic - next topic

UNEpy

Jan 27, 2012, 01:21 pm Last Edit: Jan 27, 2012, 01:36 pm by UNEpy Reason: 1
Good evening,
I'm new in this forum, I'm from Paraguay and I had recived my first arduino board 4 days ago. However, when I try uploading a sketch in my arduino duemilanove with atmega 328 I get the following error.

  • stk500_getsync(): not in sync: resp=0xe0



I tried the following acctions to solve the problem

  • Verify that the right port is choosen (windows7/Ubuntu 11.04)

  • Verify that the right board is choosen (windows7 32, 64/Ubuntu 11.04)

  • Update the driver (windows7 32, 64)

  • Change the atmega328 chip for an other atmega328 (windows7 32, 64/Ubuntu 11.04)

  • Change the USB cable (windows7 32, 64/Ubuntu 11.04)


but I get the same error... :(
The 2 atmega 328 chips aparently are functional, because one of them blinks the pin 13 when is conected and the other one sends an output which can be viewed on the serial monitor.
I hope you can help me..

Pictures of my arduino and its chip
http://dl.dropbox.com/u/12372165/DSCN1657_50X2.jpg
http://dl.dropbox.com/u/12372165/DSCN1660_50X2.jpg


johnwasser

Is it possible that someone burned an optiboot (UNO) bootloader on your chips?  Try selecting the Arduino UNO board to see if that works.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

franky37265

Hi,

I just bought a Arduino Mega2560 rev3 and I did not want to use the arduino software with sketches etc. I want to use AVR Studio 5 with visual studio. I also had this error with uploading with avr dude and searched the internet for solution.

I found a solution:

Make a .bat file and put this in and replace de directory names etc to match your computer.
and change the last option -UFlash to -Uflash:w:yourhexfile2upload.hex:i

/*bat file */
G:\Downloads\arduino-0022\arduino-0022\hardware/tools/avr/bin/avrdude -CG:\Downloads\arduino-0022\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cavrispmkII -P\\.\COM3 -b115200 -D -Uflash:w:G:\Development\Arduino\Projects\General_Test_Project\General_Test_Project\Debug\General_Test_Project.hex:i
pause
/*end bat file */

Then click the reset button on Arduino and immidiatly double clik the bat file and the arduino is uploaded.
My Arduino is cennected with serial cable on COM3.

Works every time!

Spread this solution...please

Frank

vbnewcomer

I'm too very new in this field, just purchased Uno Rev 3, run first blink Led demo and it worked very fine. changed in parameters of blinking and delay timings and that too worked fine. After i closed it, Arduino 1.0, now even with same program of blinking led, when i compile/run it works, it uploads too with done uploading and after that following error and new program is not working, old program which was worked fine, still runs fine on board but can't upload it again due to this error.

avrdude: stk500_getsync(): not in sync: resp=0x00

Now, with little knowledge of electronics and very new to Arduino, can't solved this error.

Can anybody please let me help where to look or what can be my mistake ?

vbnewcomer

Thank you moderators for posting my older post regarding error. But looking to verbose (File-Preference-Verbos) i instantly figured out that, there was common (Tools-Serial Port-Com8) which was already used by Arduino board too. So I changed to any other available (Tools-SerialPort-Com13) and my program/sketch worked fine. I think i may have changed it accidently !!!

Again, posting so that another users may get some help.

Go Up