Introduction: 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
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 be2 3 big causes to this issue:
Unlikely Cause #1: 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: http://www.sparkfun.com/tutorials/247.
If the LED lights, then your bootloader still exists.
Cause #0: Wire coming out of pin 0, (RX)
All credit goes to tvance929 and his comment below for finding this one. Some people seem to have this happen to them so it seems worth it to bring this up top here.
Apparently this issue will also occur if you have a wire connected to pin 0 (RX) on the Arduino.
Cause #1: Wrong COM Port or Wrong Arduino Board selected
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.
It appears some have received this issue by having the incorrect Arduino board selected as cdogjune has pointed out. Check that you have picked the right board in the "Tools" menu.
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.
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
- A wire is connected to pin0
- You have the wrong COM port selected (the IDE does not see your board)
- Your Arduino drivers are not set properly.
Unlikely Cause #1: 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: http://www.sparkfun.com/tutorials/247.
If the LED lights, then your bootloader still exists.
Cause #0: Wire coming out of pin 0, (RX)
All credit goes to tvance929 and his comment below for finding this one. Some people seem to have this happen to them so it seems worth it to bring this up top here.
Apparently this issue will also occur if you have a wire connected to pin 0 (RX) on the Arduino.
Cause #1: Wrong COM Port or Wrong Arduino Board selected
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.
It appears some have received this issue by having the incorrect Arduino board selected as cdogjune has pointed out. Check that you have picked the right board in the "Tools" menu.
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.
218 Comments
10 years ago on Introduction
Hi,
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:
http://www.youtube.com/watch?v=CdE72XUYC7k
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.
Reply 10 years ago on Introduction
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.
Reply 7 years ago
Hello , I am using Arduino UNO board in windows 8 . When I am uploading a sample code to the board it is showing the error:
avrdude: stk500_getsync() not in sync resp=0x00 ,
I have tried every possible suggestion given the group but still didnot find any solution .I had checked the port connections,board name in tools bar, updated drivers, no problem with boot loader .Please help me with this.
My mail ID::saisandeep.kollipara95@gmail.com
Reply 7 years ago
I am getting the same error.
The two above reasons mentioned is not valid in my case too.
Did any thing else work out for you?
nikita@dhamainnovations.com
Reply 6 years ago
Did you get an answer? could solved the problem ?
If yes would you please share with me how did you do it, cause I am struggling with this error for more than a week
Reply 7 years ago
Sandeep, try to upload the same code again on another Uno board, if it works then the communication IC your older board is dead. I had the same problem and error code 0X00, my IC got burnt in Nano.
Reply 6 years ago
So, what did you do? Did you try any other steps? Please let me know since I also have same problem with UNO R3. It seems at the moment that there is no otherway for now. :(
Reply 7 years ago
Hello I am Tarun Lodhi.
Just tell me what you after plug the aurdino cable with you computer so that I can help you.
Reply 8 years ago on Introduction
but it didnot work for me. i have tried many process and still the problm is not solved
1 year ago
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf8
If the pin 13 LED lights up on connecting the board, yet the code shows the above mentioned problem while uploading code even when there is surely no problem in the code or the hardware setup itself, it might be a corrupted bootloader**
Here's what you can exactly do to fix the problem:
https://support.arduino.cc/hc/en-us/articles/36001...
**(The bootloader is a piece of code that is stored in a reserved space of the memory of your Arduino board.Basically, this code initiates the sketch as soon as the board is powered on and also allows new sketches to be uploaded from the PC)
Tip 1 year ago
I had to switch to ATmega328P (Old Bootloader) on the IDE. Then it loaded right up.
2 years ago on Introduction
I realize this is old but the cause 0 still works. The was a solder blob between the rx and tx pins. Removing this blob fixed it, thanks.
2 years ago
I had this problem when trying to upload a Bootloader to a Creality Ender 3 Pro v1.1.4 board. The solution to my issue (rapidly blinking L led) and the avrdude error with Arduino was to connect only the Arduino Uno board to the computer and press the Upload button first. After that the led got steady on the Arduino board. After that I connected the Creality board and the led started blinking normaly, meaning that it can accept a Bootloader , and it worked.
2 years ago on Introduction
Hi, thanks for the detailed instruction - it worked!! Unfortunately, all the instructions for beginning with Arduino are the same, many times over, and tell you to select a UNO board. If I hadn't seen you mention the board could be wrong, it would never have occurred to me to doubt the instructions I had initially received. Sure enough, my kit has a Mega 2560, and once I switched it up, no more problems! Bet that's at least half these issues, because nobody expects the tutorials to be wrong. They absolutely are. Thanks again, and Warm Regards. :)
2 years ago
2 number solution solved my problem. Set processor to ATmega328P(Old bootloader).
4 years ago
I bought a cheap Arduino Nano clone from China which uses the CH340C USB chip instead of the chip found on the genuine Arduino. I fixed it by:
1) Installing the CH340 driver
2) Set processor to ATmega328P(Old bootloader)
3) Using Arduino IDE installed locally on my Win10 pc, NOT the online Arduino IDE. NB. If both the locally installed and online Arduino IDE are open at the same time they can generate a different error "avrdude: ser_open(): can't open device "\\.\COM8": Access is denied." Simply close the online Arduino IDE to fix this error.
Reply 3 years ago
Thank you.
2 number solution solved my problem. Set processor to ATmega328P(Old bootloader).
Thank you again.
Reply 3 years ago
2) Set processor to ATmega328P(Old bootloader) worked for me.
Thank you
Reply 3 years ago
2) Set processor to ATmega328P(Old bootloader) worked for me. Thank you
Reply 3 years ago
Thanks man