Instructables

Arduino (uno r3) not in sync, help?

So I'm pretty new to arduino. Got myself an Uno rev3, and all was well for a couple of weeks. Now however, whenever I try to upload a sketch I get an error message telling me this:

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

Googling this has not solved anything.

I don't think there's anything messed up with the IDE, as I get this in both arduino 1.0.1 and 1.0.2, as well as Visual micro.
I tried everything I could think of. Resetting the board did nothing, neither did re-installing drivers or rebooting.

The serial bounce test showed no errors, and the Rx LED blinks when I try to upload. 

(If you are unaware, the bounce test means connecting Rx to Tx and opening a serial monitor. Everything you send should then be bounced back.)

I'm currently thinking bootloader issues, since resetting the board does not make the pin 13 LED blink. 

So, does anyone know what to do here?
------------------------------------------------------
UPDATE: I am an idiot. This whole time, I had the atmega328 plugged in backwards. It works now.

Sounds like you've screwed the bootloader. Its not uncommon. The fix requires an "SPI programmer", which plugs onto the little 6 way header on the board. Google for it, and look on Instructables.
Kirbsome! (author)  steveastrouk1 year ago
So I guess my best bet would be to build a parallel programmer. Simple enough.

Thanks.
WWC1 year ago
I am definitely not an expert but i have had this error before.
Typically it is caused from one or more of these:
Unplug the USB then plug back in
Choose the correct board
Choose the correct Port

Check the port in the device manager, easy way to get to the device manager is right click on my computer-click manage-click device manager on the left side- look for ports. Unplug the Arduino's USB and watch the ports ( COM & LPT ) to see if there is a change. Plug the USB back in and watch the ports to see if there is a change.
Good Luck
W
roedward WWC1 year ago
That worked for me! Thanks @WWC
WWC roedward1 year ago
roedward
Great i am glad it helped!
Kirbsome! (author)  WWC1 year ago
Thanks, but I've already tried all of those. None worked.
quatch1 year ago
Sometimes I get this problem when the arduino is executing a really tight loop (eg. frequency counting interrupt). Try holding down the reset button until the IDE gets to the "uploading" phase.
Kirbsome! (author)  quatch1 year ago
Tried that. Unsuccessfully, I'm afraid.
frollard1 year ago
Steveastro has the correct answer: You can use another arduino as an icsp: I made a video about it:


There are lots of others on youtube also -