Introduction: Solution: Avrdude Stk500_getsync(): Not in Sync Resp=0x30 Error for Arduino

Picture of 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 3 big causes to this issue:
  • 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.

Comments

finnigan16 (author)2013-01-09

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.

N.fletch (author)finnigan162013-01-09

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.

sundeepbuddy (author)N.fletch2016-03-02

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

NikitaB15 (author)sundeepbuddy2016-05-31

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

OuissalB (author)NikitaB152017-05-15

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

SaikatS3 (author)sundeepbuddy2016-03-09

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.

kvlpnd (author)SaikatS32017-04-14

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. :(

TarunL (author)finnigan162015-12-05

Hello I am Tarun Lodhi.
Just tell me what you after plug the aurdino cable with you computer so that I can help you.

but it didnot work for me. i have tried many process and still the problm is not solved

MarkF210 (author)2017-08-15

I had purchased the BTE13-010 - Arduino Mini Clone from ebay which stated it was a ATmega328P Module. However, after much frustration I switched the Arduino IDE "processor" to the ATmega168 (keeping board at Arduino Pro or Pro Mini)... and boom - success.

kcarver3 (author)MarkF2102017-09-16

I had the same problem on a Nano, or the reverse. I got the error when the processor was set to ATmega168 and the problem went away when I set it to ATmega368P. This Instructable really helped me find the solution, so thanks!

adawda (author)2017-08-15

Thanks! This fixed problem immediately.

AradT1 (author)2016-09-01

Please help .When I upload something to the arduino , this error occurs:

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xdb

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xdb

Asad UllahK4 (author)AradT12017-07-04

Hello,

Just press reset button "while uploading" is in progress (For Arduino Pro-Mini only).

And done!!!!!!!!!!!!!!!

Asad UllahK4 (author)2017-07-04

Hello All,

Just press reset button "while uploading" is in progress (For Arduino Pro-Mini only).

And done!!!!!!!!!!!!!!!

MitkoK (author)2017-07-02

Thanks! I tryed toconnect HC-05 module and I used pin 0 RX. So I just used another pin to get the job done

JaviHer (author)2017-05-05

Thank you! I was using the TX and RX pins that make the crash, this was helpful.

SubhajitS5 made it! (author)2017-04-11

None of the problem u have told. My audrino's green light and the port no 13 was blinking still my audrino is not working. I can't upload any program. please help me. It's urgent..

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified.

Problem uploading to board.

BXGXC (author)2017-01-24

So i'm trying to turn a mindflex into an eeg through an arduino UNO but I get this message:

Sketch uses 4008 bytes (12%) of program storage space. Maximum is 32256 bytes.

Global variables use 502 bytes (24%) of dynamic memory, leaving 1546 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

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

An error occurred while uploading the sketch

I know that the hardware is correct because I have both the tx and the rx LEDs blinking

SubhajitS5 made it! (author)BXGXC2017-04-11

None of the problem u have told. My audrino's green light and the port no 13 was blinking still my audrino is not working. I can't upload any program. please help me. It's urgent...

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x86

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x86

Problem uploading to board

ZulfidinK1 (author)2017-04-09

Hi

Cause #0: Wire coming out of pin 0, (RX)

Does it mean I have disconnect wire that is connected to RX pin ?

SnehashisA (author)2017-02-14

i am using windows7 64 bit OS. trying to connect arduino nano v3 which has ftdi chip(FT232RL)please tell me what should show on printer and hardware section on my computer & also in device manager when I connect the arduino nano for uploading the sketch & printing....? FT232RL USB UART OR ARDUINO NANO(COM 1/2/3....)?

CarlosM175 (author)2017-02-05

Me Ajudou bastante, foi so desconectar os cabos do modulo blutu...

ChinmayP14 (author)2017-01-27

Thanks a lot bro love you :*

Blun7 (author)2017-01-02

I found a BIG solution posted by Uria Dubinsky!! After trying EVERYTHING in this post, I found his at https://www.instructables.com/id/Uploading-sketch-t... He fixes the sync problem by using a empty uno's built in UART to properly sync before uploading!! Works like a charm. Note one reader KaranD16 does clarify his wiring in the comments, look for that! But the solution is that by using the uno, you get the DTR you need to sync. WORKS GREA!!

Sandbird (author)2016-12-23

For me it was bad soldering at the bottom of the Rx Tx pins. They didnt make a 100% contact with the board..I re-did all the pins and after that it worked flawlessly.

Please check your soldering!

BallscrewBob (author)2016-12-05

There are a lot of fixes (and causes) for that particular error.

Its an old fix but still valid for some people.

For more up to date answers I would suggest a search from inside the http://forum.arduino.cc/ forum to get all the stk 500 answers in a more usable bundle of results.

SanL3 (author)2016-11-02

I am getting the same error but I am on Mac, also the shield spec says its W5100 Ethernet Shield V1.0 With POE And Micro-SD Card Slot For Arduino 2009 UNO Duemilanove

however the the I have Arduino UNO R3, is it different then the Duemilanove ?

vandenbrande (author)2016-10-14

Cause number 4, board broken... that's my cause

elom38 (author)2016-09-25

I just had a cause #4 : you selected a wrong "card type" in "Tools" menu.

I selected Arduino Uno but I tried to send code to an Arduino Nano.

gparvind (author)2016-09-17

For me the problem was DTR pin. CH340 usb converter didn't have dtr pin. Pressing and holding the reset button on pro mini before compiling and releasing it just when uploading starts in arduino did the trick.

https://www.youtube.com/watch?v=TFARDFn8fs0

gparvind (author)2016-09-17

I am using ch340 usb converter to program arduino pro mini. com port is recognized but I get the same error on program upload. I have set the baud rate of com port also to 57600 that arduino expects. Here is the console output:

Using Port : COM4

Using Programmer : arduino

Overriding Baud Rate : 57600

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0e

I have installed the driver for ch340, arduino version is 1.6.11 and os is windows 10. led on arduino pro mini board blinks (maybe due to a pre-installed program). None of the solutions seem to work. Any help would be great.

mnull (author)2016-09-15

I got this error because there was another application reading from the serial port when I tried to flash my new program.
In my case, it was a python script that was monitoring serial data being
generated by the arduino but I suppose it could happen as the result of
just having a serial console (like putty or minicom) open while trying
to flash. At any rate, look for any process that might be using the com
port and kill it OR (if the process terminates when it loses serial
connectivity) unplug the arduino and plug it back in.

Shovons2 (author)2016-09-02

error: redefinition of 'void setup()'

AaryanL (author)2016-08-07

In my case it solved:

if we remove Rx pin before uploading.than it is ok. so first upload by disconnecting RX pin than connect it after upload completes.

Thanks to those who have found out the same solution and guided.

AaryanL (author)2016-08-07

In my case it solved:

if we remove Rx pin before uploading.than it is ok. so first upload by disconnecting RX pin than connect it after upload completes.

Thanks to those who have found out the same solution and guided.

raghav_anand98 (author)2016-07-20

Hey, this didn't work for me. My problem was far simpler. I had screwed the arduino down on a piece of wood very tight. The second I loosened the screws the problem disappeared!

AnjneyM (author)2016-07-16

my sketch is uploading and running but for some reason arduino is showing an error(ubuntu 15.10):

Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)

avrdude: stk500_recv(): programmer is not responding

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

SaiS51 (author)2016-07-08

Binary sketch size: 1,062 bytes (of a 32,256 byte maximum)

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

i am using freeduino.i have tried everything but still this error showing up

RahulY25 (author)2016-06-13

I was facing the same problem. I just connected Arduino USB cable to another USB port of my laptop and it started working.

GauravA15 (author)2016-05-27

Hi, I shorted vin and gnd by mistake. After that i am getting this error code while uploading.Please help. Thanks

Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 450 bytes (1%) of program storage space. Maximum is 32,256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x90

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x90

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#up... for suggestions.

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

SabriM (author)2014-12-12

Just watch the video below. The guy answers in the last seconds. 3.57 sec .

Pretty simple. Plug off tx and rx cable and upload. Then plug them in. Thats all.

Randor9 (author)SabriM2016-05-17

thank you very much man he did expplain it very good just unplug the tx en rx wires while uploading after that plug them back in :)

JulienG1 (author)SabriM2015-01-13

What he answered related to bluetooth comms. If you are uploading the program from the bluetooth adapter and you disconnect RX and TX how is the the bluetooth board going to communicate with the arduino, with just vcc and gnd. Those perform power, not signal functions. He may well be using a FTDI to write to the board but that part isn't shown.. some clarification is necessary.

JonK38 (author)2016-05-05

Thanks!!! I fought this for hours, and only was able to get success once you said about the drivers among the Arduino files. I tried the ones the manufacturer recommended, but no luck. Thanks for the tip!

ilyasmbark (author)2016-04-21

I have tried all the possible ways to remove this error but it doesn't works. What to do now??

SiddharthS71 (author)2016-04-14

Thank you, instructables; I would never have figured that out on my own

WalidM8 (author)2016-03-21

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x04

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x04

hussainb (author)2016-03-13

Well, I had this Richduino-UNO-Basic-Arduino-Board with the same problem, I just figured out a way to make it work, I opened the serial monitor and passed a few random gibberish by setting "carriage return" and 19200 baud from the Arduino IDE interface.

After doing that, I closed the serial window and tried to upload the program and it uploaded successfully.

SaikatS3 (author)2016-03-09

if you get this error code:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x97.

U might have bricked the communication IC on the Arduino board. I work with Arduino Nanos. My Nano board stopped uploading programs, so I replaced the Nano board with another nano board without modifying any connections it worked fine.

About This Instructable

580,822views

51favorites

License:

Bio: My name is Nick, I work at Continental and just recently got my BSEE. I love working with projects on lower levels to design them ... More »
More by N.fletch:The Rhapsody TartChronosMEGA; a wrist watchStanding Linear Actuator; powered by Modtronix
Add instructable to: