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