avrdude: stk500 Error

I have been using an Uno for 2-3 months. Occasionally it used to give the following error when i tried to upload a code.

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

I just took out the USB cable and re inserted it, and it was solved previously. But from today onwards, nothing is working. It keeps on giving the error when i try to upload a code. I checked all the things i could think of.

  1. the port selection
  2. checked the driver settings, updated it
  3. made sure there were no connections from the arduino(Tx and Rx) while uploading
  4. made sure the bootloader was allright (led 13 was lighting up when powered)

When i open the serial monitor, i can see the previously loaded code being executed, so the arduino is working. But it just cant take in a new code. What other things may i try? Is it possible that the arduino or a part of it is damaged?

I had something similar to you.
Burning the bootloader helped.

My pin 13 LED is lighting up so i dont think its a problem with the bootloader. The reset is also working. I tried with the manual reset as well. Is it possible that a part of the arduino is damaged or something? I read a few posts on the web and it seems there are a few other people who have also faced the same problem after 2-3 months of usage.

Someone please suggest some ideas. I tried it on a different system, exactly same result. The only thing left to do is to change the USB cable but there is not the faintest chance that it will do anything. I didnot put it under any sort of pressure or anything.

Most importantly, the arduino was working allright even a couple of days back. But now i cant upload codes anymore. The arduino is showing in the device manager and the serial monitor is displaying the execution of the previous code.

I am totally at bay with this thing. I am not sure if i need to buy a new arduino or not. And if indeed this one is damaged, i would really like to have some clue as to what went wrong.

Hi,

I have the same problems with my nano v3.0....Cannot use it with avrdude, Arduino IDE (tested with the Blink program and doesn't want to load it) and also the terminal access doesn't work....

The L LED flashes after the manual reset....so now I'm clueless on what could be wrong...

As I'm new with the Arduino....how do you burn the Bootloader?

Thanks!

If the LED flashes i dont think it will be an issue with the bootloader. Anyway this is a way to burn the bootloader.

There are a lot of responses for questions related to programming and project solutions but unfortunately no one seems to have an idea about a hardware problem like this. :frowning:

Thanks!

But how can you burn it to Arduino Mini if you don't have the Arduino UNO?

Well there may be more ways to do it. I think this is one of the simpler ways and you are gonna need a second arduino for this. Why do you think its a problem with your bootloader?

Total noob here. Trying to load and run blink or fade for initial check to
know whether my Nano is alive or not, and I get the avrdude:stk500 err.

Does the fact that I even get that message mean that my com port is
actually recognizing the Nano's existence? Could it be something very
basic that I am either doing wrong or omitting to do? In Windows 7.

Actually in my case it reads
avrdude.exe: stk500_getsync(): not in sync: resp=0x00
Is that the same error you guys are talking about.

Yes it is the same error. When i started, i also got that error a few times before i got everything right. There are a few basic points which you need to take care of, to eliminate that error. Mostly for starters, it is to do with selecting the correct port and device. Have you done that? You need to check the device manager to see which port is being used.

Unfortunately, I am well past that stage. But now, after 3 months of usage, i am getting that message again. Tell me if you manage to sort out your problem. I am totally in the dark here with mine.

Hi Ryan. Thanks for the tip. My comport reads as com3.
It does change between when device is connected and when not.
So I am assuming that it is reading the port. Not sure it is recognizing
the Arduino though. How can I tell if it is?

With the arduino connected, in the device manager under ports, you will find one with 'Arduino Uno (COM 3)'. If you can find that, then everything is fine over there.

But probably you would not have the driver installed yet, so it would show an unknown device. Take the USB cable in and out and locate the device that comes and disappears. Right click on that and install the driver. If done properly, it should read 'Arduino UNO (COM 3)'.

Tell me if it worked.

Ryanmackie:
What other things may i try?

http://forum.arduino.cc/index.php?topic=73748.0
Pass or fail?