Pages: [1]   Go Down
Author Topic: Problem uploading - stk500_getsync(): not in sync: resp=0xe0  (Read 2301 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



* DSCN1657_50X2.jpg (123.27 KB, 500x375 - viewed 24 times.)

* DSCN1660_50X2.jpg (87.46 KB, 500x375 - viewed 17 times.)
« Last Edit: January 27, 2012, 07:36:54 am by UNEpy » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 202
Posts: 8711
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it possible that someone burned an optiboot (UNO) bootloader on your chips?  Try selecting the Arduino UNO board to see if that works.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

The Netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good morning
Thank you for your reply.
I've tried your suggestions, but I get the same error..

this is what I did this time:
  • I chose arduino UNO instead arduino duemilanove
  • I executed .bat field (see attachment for more details)

I've attached the print screen of the folowing items:


* archivoBAT.png (37.12 KB, 710x210 - viewed 24 times.)

* CMD-BAT.png (37.43 KB, 668x340 - viewed 26 times.)

* programa-SERIALmonitor.png (81.52 KB, 912x574 - viewed 31 times.)
« Last Edit: January 30, 2012, 09:17:23 am by UNEpy » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 202
Posts: 8711
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the output of the batch file (you can get the same in the IDE by selecting 'Show verbose output during: [ ] compilation  [X] upload' in Preferences...) it looks like the Arduino is not responding at all.  Have you tried a loopback test to see if your USB-to_Serial is working in both directions?  The instructions are here: http://arduino.cc/forum/index.php/topic,73748.0.html
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your reply.
I've tried your suggestion. I followed the instructions in  http://arduino.cc/forum/index.php/topic,73748.0.html and I haven't received any echo from the arduino, in the serial monitor.

I've attached the picture of my arduino with:
  • the jumper from RESET to GND
  • the jumper from TX to RX

http://dl.dropbox.com/u/12372165/DSCN1671_50X2.jpg


* DSCN1671_50X2.jpg (94.61 KB, 411x364 - viewed 22 times.)
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 202
Posts: 8711
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So the USB-to-Serial isn't working properly.  Next step is to refresh the USB-to-Serial firmware:

http://arduino.cc/en/Hacking/DFUProgramming8U2
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much for your sugestions, all of you have been very nice with me.

However, I've decided not to refresh the firmware, because it might void the warranty I have from the store I bought it.

Regards from Paraguay
Logged

Pages: [1]   Go Up
Jump to: