Solution: avrdude stk500_getsync(): not in sync resp=0x30 error for Arduino

por N.fletch

Solution: avrdude stk500_getsync(): not in sync resp=0x30 error for Arduino

I have had this error: I would plug my Arduino Uno into my Windows 7 PC (this guide should be relevant for Windows 8, Vista and XP also) but whenever I would upload any sketch to the board, all I would get is "avrdude stk500_getsync() not in sync resp=0x30" for a response. This board however worked seamlessly with my Linux machine.

After much searching online, I found there was no 'clear' solution to this.

Joyfully, the fix is actually very easy (at least for me, hopefully for you as well!). So far, there seems to be 2 big causes to this issue: you have the wrong COM port selected (the IDE does not see your board) and/or your Arduino drivers are not set properly.

Unlikely Cause: Bootloader is missing

Before we begin, we should check the bootloader of the Arduino for comprehension. If the bootloader is gone or corrupt, this can cause the issue.
To do this: power and reset the board. Check to see if the pin 13 built-in LED lights; if it is not then your bootloader may be missing. If this is the case, then your problem is beyond the scope of this guide. I would suggest visiting this Sparkfun guide:

If the LED lights, then your bootloader still exists.

Cause #1: Wrong COM Port 

With the Arduino plugged to the computer, open "Device Manager" and check the "Ports". Check to see if an Arduino device is listed here; if it is, then make note of which COM port the Arduino is on and check that you have this selected in the Arduino IDE (Tools -> Serial Ports). If the COM port your board is on does not show within the IDE, then try different USB ports.

If you can't even see "Ports"; then for some reason, your computer isn't even recognizing that a device is plugged into it. Test your computer by plugging other USB devices into that port. Possibly your Arduino fails at life; try it with other computers.

Cause #2: Drivers not Installed

If you don't see an Arduino device listed under Ports; then you are probably seeing an "Unknown Device". Check to make sure that "Unknown Device" is indeed, the Arduino by plugging and unplugging the board from the computer. "Unknown Device" should appear and reappear. Assuming this is the case, you will need to install the drivers manually for your Arduino. Windows XP, Vista and 7 users may continue with the guide; if you are a Windows8 user, then please make reference to the comment left by finnigan16 below.

Right click on that "Unknown Device" and select "Properties". Click on the "Driver" Tab (Picture 2; Note: In my Picture 2, I already have the driver set, hence why my window reads "Arduino UNO R3 (COM4) Properties", when yours will probably read "Unknown Device Properties").

Select to "Update Driver..." and then choose to select the folder containing the driver on your computer. Conveniently, you already have the drivers for the Arduino on your computer when you installed the Arduino IDE. Navigate to within the Arduino files (where your .exe is; it'll probably be in your Downloads if you didn't move it. In the third picture, you can see my pathway to the drivers folder) to the "drivers" folder and choose the folder. The computer should automatically choose to install one of the drivers within the folder you selected. Simply proceed with the installation and that should fix the problem.

Make sure the Serial Port is then selected correctly!


Nós temos uma política de comentários em que todos devem ser gentis.
Por favor, seja positivo e construtivo.

summitboarder diz: Abr 12, 2014. 11:19 AM

To try and make this an even more comprehensive solution guide to the given error, I found removing any wire attached to pin 0 (RX) from the arduino made the error go away.

Raitis diz: Abr 2, 2014. 5:52 AM

Thank you so much! Can barely believe that the reason for my frustration while looking for an error in code or circuit was solely my dumbness with not checking IDE. :D

N.fletch diz: Abr 2, 2014. 6:18 AM

Glad it helped! Usually when I get stumped, I start over with very basics: "if I can't upload this code and it seems fine, can I upload any code at all?". Then I build back up from there.

vairamani diz: Mar 4, 2014. 10:29 PM

user should select the right comport by verifying it in the device manager and choose the correct comport in tools->serialport

edbarted diz: Fev 2, 2014. 6:12 AM

In case of displaying a notice: "avrdude: stk500_getsync(): not in sync: resp=0x00"
download the CDM driver for particular operation system from: .
After the installation a new port (com) will be created.
To set Arduino to a new com port and the problem is solved.

Elminator diz: Jan 6, 2014. 2:57 PM
Thank you! My arduino uno was giving me trouble and I didn't know how to fix it. Your instructions helped me get some of the basic projects off the ground.
jvlutters diz: Jan 3, 2014. 7:27 AM
thank you bro this did really help me :D
Dave+J diz: Dez 25, 2013. 2:20 PM
Thank you for this instructable, I just spent an hour trying to get this sorted out and your instructions got my sketch up and running in 10 minutes.
N.fletch diz: Dez 26, 2013. 6:41 AM
Thanks! Glad to hear this guide is still helping people.
klug diz: Out 27, 2013. 1:52 AM
If you have this problem with an avr barebones only arduino tick Show verbose output during upload and you will see what's the issue. Most likely your uart bridge fails to reset your chip while uploading. (problem with the 100nF cap/ resistor or connection)
If you have an arduino board maybe you blew the chip or the ftdi chip if not driver/ide is the issue.
playinmyblues diz: Out 7, 2013. 4:34 PM
Great short tutorial! It was just what I needed to get my Arduino running on Windows.
N.fletch diz: Out 8, 2013. 6:53 AM
Great! Glad to hear it has helped you out!
bansuri.shankar diz: Ago 31, 2013. 9:42 AM
Solved my problem...thanks for sharing the solution...cheers!
mahadevan diz: Jun 18, 2013. 11:53 AM
I have also had this problem and circumvented using pressing the 'reset' button Arduino at the point the 'avrdude' is trying to flash. More info is at my blog 
tzq33tdq diz: Mai 31, 2013. 6:36 PM
My Arduino Uno R3 did this and your Instructables helped me fix it! Thanks mate, you're a life-saver!!!
chriscos diz: Mar 16, 2013. 11:09 AM
You will also get this error if you have he wrong board selected from Tools > Board.

I have multiple arduino's. If I forget to change from Arduino Uno to Arduino Duemilanove (AT Mega 328). Then I get this error if I try to upload to my Duemilanove board.
Ardu-kes diz: Fev 13, 2013. 5:46 AM
response to my self. Removed the switch that was connected to Uno pin1(TX) and the board worked fine again. :-§ The switch was switched/disconnected/connected at different points, so that was another layer of confusion.
Ardu-kes diz: Fev 8, 2013. 1:29 AM
Got the same error, suddenly.
IDE updated to 1.0.3.
Changed Uno R3 to a different one. Upload works, but COM6 changed to COM3.
Swapped in original Uno, 'COM3 not available. Select COM port'. Selecting COM6.
Same error appears.
Uninstalled COM6 in dev man. PC XP reboot.
Dev man:COM1 and COM2. Plugd in orig Uno. New HW found.
Install driver, already in system. Finish. New HW on COM6 (dev man)
Start Ardu IDE 1.0.3, load Example->Basic->Blink - Upload - OK.
Load own sketch, connect LCD, upload ok.
So, the COM-port initial selection is stored in the UNO?
stringstretcher diz: Jan 15, 2013. 2:24 AM
I have a variation on the problem... avrdude says :
avrdude: Can't find programmer id "arduino"

Valid programmers are:
dasa3 = serial port banging, reset=!dtr sck=rts mosi=txd miso=cts [/home/jim/arduino-0021/hardware/tools/avrdude.conf:776]
dasa = serial port banging

bla bla bla...
Can I just edit the avrdude config file? I am running IDE 0022 on Ubuntu 11.04. Works on my Mega, but the Uno refuses to upload!
N.fletch diz: Jan 15, 2013. 5:14 PM
You certainly stumped me here; I am running 12.04. I have the Arduino 0022 IDE from the SW center and the IDE from Arduino's website and they both work for me. Try the one on Arduino's website! It's a bit more up to date than the SW center one.

I'm not sure if editing the avrdude.conf file would work. Even if it is the source of your problem, it's over half a MB in pure text! It would take forever to find an issue.

Sorry I couldn't be of more help; good luck!
teknohawk diz: Jan 10, 2013. 3:52 PM
WOW! i browsed for a solution for so long without answers to this exact question! thanks so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
finnigan16 diz: Jan 9, 2013. 4:18 PM
great Instructable. Unfortunately It didn't work for me, however I did find a fix so I thought I'd post it here for anybody else with the same problem. My problem is that I'm using Windows 8 and apparently the arduino drivers aren't signed and therefore windows 8 will not utilize them. Fortunately YouTube user beachedwhale found an easy work around that'll get it working without turning off driver signing. You can watch his video by following this link:

In a nutshell, you update the driver through device manager and use the wizard to pick from a list of device drivers on your computer, when this list comes up you choose a Compaq Ricochet Wireless USB Modem, apparently the two devices use the same driver, you just need to change a few of the driver's settings once it's installed (make sure the baud rate is 9600, etc...).

It only takes about two minutes to do, definitely worth a try if your getting this error and running Windows 8.
N.fletch diz: Jan 9, 2013. 5:38 PM
I never verified this error with Windows8; thanks for helping make my Instructable more comprehensive. I'll make an edit above pointing to this for those with Windows8.
iironmiike1 diz: Jan 9, 2013. 12:39 PM
I found this by Google'ing the error code, and it lead me immediately to the problem. 5 minutes later my sketch was up and running. Thanks for a great Instructable!
N.fletch diz: Jan 9, 2013. 5:38 PM
Thanks! I'm happy to know it helped.
arcraven diz: Dez 27, 2012. 4:39 AM
This instruction fixed my issue quickly, thanks!
curtlg diz: Nov 27, 2012. 12:44 PM
Had the same error with Leonardo. In my case the wrong board was identified in the board pull down list. I have no idea how that happened!!!!
N.fletch diz: Nov 27, 2012. 3:41 PM
That must have been frustrating!
basheersubei diz: Out 2, 2012. 11:15 PM
one VERY useful comment to add is to make sure no other programs are currently using the specific COM port that the Arduino is using. For example, I spent 2 hours trying to fix the error described in this page, and then I realized that I had run a few MatLab commands that opened the serial port but I never closed it. The problem persisted even after uninstalling and then reinstalling the Arduino drivers, until I told MatLab to close the serial port.

Also, try restarting your computer in worst cases...

Thanks for the helpful instructable!
wtaylor09 diz: Ago 23, 2012. 6:01 PM
thanks this helped and fixed my problem
botronics diz: Ago 10, 2012. 12:25 PM
I'm trying to use my Arduino on a Windows 2000 machine. i get that message when trying to upload the program. Will the Arduino work on Windows 2000?
N.fletch diz: Ago 12, 2012. 8:28 AM
Honestly, I have no experience with Windows 2K. My suggestion would be to look over this following link:
That article appears to be very comprehensive; you'll probably find a solution there.