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


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

So the reader is aware: This article covers the main causes for this issue, but some of the other Instructable users have found somewhat "niche" causes to the issue that were not covered in this article and are discussed in the comment section below. If this article does not solve your problem, please visit the comment section below.

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

This is what you should see when you open Device Manager:

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. Below, you can see 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 downloaded the Arduino IDE. Navigate to the Arduino folder you downloaded that contains the Arduino IDE.  In that folder, go to the "drivers" folder and choose the "drivers" folder itself (see the picture below for the path). 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!

If you have checked the possible causes discussed here and your issue still isn't solved, be sure to check the comment section. Some of you have found niche causes to the issues which are discussed below.
Post a comment
Be nice!

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

PeppaQuotaPeeps diz: Set 17, 2014. 8:09 AM

hey guys, I have an ARDUINO PRO MINI and i don't know what driver to install for it, i don't think there is a specific driver for it, or is there? Help please! :(

N.fletch diz: Set 17, 2014. 10:39 AM

When you downloaded/installed the Arduino IDE, the driver should be included in the drivers folder. When updating the driver, you only need to select the "Drivers" folder and let Windows pick the driver. At least that's how I did it.

creative_35 diz: Set 4, 2014. 3:43 AM

I removed the power(5v) of blue tooth and it worked for me

Primo+instructables diz: Set 5, 2014. 12:12 PM

the same here.

if the bluetooth is connected unplug the 5v.

matt.gleason.5245 diz: Ago 21, 2014. 12:45 PM

Thank you very much!!

It was a simple fix for me. COM1 was automatically selected in Ardunio Tools and I had to set it to COM3.

Thank you for the help!!

chearn427 diz: Ago 16, 2014. 3:44 PM

Worked for me; great instructable!

ecozcelik diz: Ago 6, 2014. 2:16 AM

Thank you so much !!!

ceeyus diz: Ago 5, 2014. 12:23 PM

Help Please...

I am using a Freeduino board with atmega 8 and i am having this error. I tried installing drivers multiple times , restarted it , tried changing the com ports and even the board (arduino uno to arduino duimilanov) but no avail . only thing i can see is a green light and also there are no issues with the boot loader.

Joe_M diz: Jul 26, 2014. 11:07 AM

The problem for me was with the lack of experience, I was selecting Upload with programmer, where by simply using Upload was successful.

squiresfan diz: Jun 16, 2014. 12:26 PM

You legend. Worked a treat for me. Wheeeee look at my LED go..... Blinking LED today... take over the world tpmorrow :)

davisbr9 diz: Mai 3, 2014. 1:28 PM


I have the Due ("ATMega3X8E" on the chip), and I seem to be getting this error regardless of what I try.

I have verified the COMM port, many times. Changed them, even.

I have tried both of the Due boards available in the IDE list. Many others as well.

I have uninstalled and reinstalled, updated, etc. the drivers for the board.

I have changed USB cables multiple times.

I have tried on two completely different Due boards, each from completely different vendors.

Nothing works. It's not the bootloader, my "L" LED comes on normally. The only difference between the two Due boards is the one I have today, the "L" LED blinks when powered. The previous one stays on.

There is nothing on the main forums about this issue, other than what this write-up says.

Has anyone else fixed this issue, specifically on the Due? Thanks!

tvance929 diz: Mai 2, 2014. 12:30 PM

My problem ... I had a wire coming out of pin 0 -- Dont do that when uploading... ugh!

"DISCONNECT ANY WIRES going to pin 0 (RX) while you do the upload." <-- thanks Keith!

yapadqoi diz: Mai 15, 2014. 3:58 AM

@tvance929 You were the guy for my problem ! Thank you for sharing your fix. I indeed did connect my pin 0 to the Tx of a device i want to control from my arduino and ended up with this error (resp=0x07 in my case).

The funny thing is that i even didn't need to connect this pin since i'm not expecting any data from my device, just have to tell it what to do.

Thanks to Keith too :)

tvance929 diz: Mai 15, 2014. 5:15 AM
Moose+Dr diz: Jun 28, 2014. 7:14 PM

You saved me a lot of pain! I don't know what changed, I tested out my system, a greenhouse control, then placed it in the greenhouse. It failed, a wire disconnected. I brought it back in, and had this problem. Fortunately, I came across your suggestion quickly. I adjusted my outputs to begin at 1 rather than 0, and poof, problem solved! So a wire in output 0 seems to generate the problem intermittently.

matthew99997 diz: Ago 5, 2014. 5:32 PM

@tvance929 - thank you! That was my problem, too.

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

Kudzu_Kid diz: Jul 29, 2014. 9:07 AM

This was *exactly* my fix. Device Mangler, etc; all checked out fine... but until I set the COM port to match in IDE (Arduino 1.0.5) just had a blink on the onboard LED... which added to the irony / frustration, since I was starting with "Blink" as my first sketch. Thanks ton Vairamani, you nailed it!! Now... on to bigger projects! ;-)

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.
Kudzu_Kid diz: Jul 29, 2014. 9:09 AM

It IS still helping people... And the niche comments too... This article & comments helped tremendously.

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.