avrdude: stk500_getsync(): not in sync: resp=0x00
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 3
- Joined: Fri Aug 31, 2012 4:17 pm
avrdude: stk500_getsync(): not in sync: resp=0x00
When I try to upload a sketch I get this error in the program
avrdude: stk500_getsync(): not in sync: resp=0x00
how do i fix this?
avrdude: stk500_getsync(): not in sync: resp=0x00
how do i fix this?
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Make sure you have the right board type selected in Tools->Board. Also make sure you have the right serial port selected in Tools->Serial Port.
-
- Posts: 3
- Joined: Fri Aug 31, 2012 4:17 pm
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
It is the correct board and serial port
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Hold the shift key down while you press the upload button and post the resulting diagnostic output.
-
- Posts: 3
- Joined: Fri Aug 31, 2012 4:17 pm
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Got it fixed ty
-
- Posts: 25
- Joined: Wed Sep 26, 2012 10:17 pm
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
What was the fix, because I'm having the same issue. So far all the other sites I checked just say it could be anything. If you could post your fix It would be great.
Thanks!

-
- Posts: 25
- Joined: Wed Sep 26, 2012 10:17 pm
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Actually I just fixed it
can't tell I'm new here. I just unplugged the USB from the PC (previously I had only unplugged it from the UNO. And pressed RESET on the board as well as restarted the IDE program. Not sure which one of those fixed the issue or if all of them did but I used the BLINK program as a test run and it's working fine now. Hope this helps anyone else who might be looking.

-
- Posts: 1
- Joined: Sat Oct 06, 2012 12:10 pm
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Well even i was facing the same problem while uploading.and u had told to post the data while pressing shift key and uploading .Here's what i got. pleaseee help.
avrdude: usbdev_open(): did not find any USB device "usb"
avrdude: usbdev_open(): did not find any USB device "usb"
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
@tharun - Sounds like you have the wrong port selected. What OS are you using?
-
- Posts: 5
- Joined: Sun Oct 07, 2012 1:59 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
I am getting the same problem with my arduino... it was working fyn initially (for about 2-3 hours) but it shows the error now... i tried uploading while pressing the shift key... The output is as follows:
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "C:\Users\SONY\Desktop\Aman\Freeduino Board\Arduino IDE (arduino-0021)\hardware/tools/avr/etc/avrdude.conf"
Using Port : \\.\COM7
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
Pls help me out.. I will b grateful to you...
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "C:\Users\SONY\Desktop\Aman\Freeduino Board\Arduino IDE (arduino-0021)\hardware/tools/avr/etc/avrdude.conf"
Using Port : \\.\COM7
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
Pls help me out.. I will b grateful to you...
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
@Aman - Double check that you have the right COM port. Occasionally they get re-assigned by Windows.
Also - watch the leds on the Arduino. Do you see any flashing as it tries to upload?
Also - watch the leds on the Arduino. Do you see any flashing as it tries to upload?
-
- Posts: 5
- Joined: Sun Oct 07, 2012 1:59 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
yeah, i ve checked the comm port many a times.. its fyn..
no its not flashing.. although, it was flashing earlier.. dnt knw wat hapnd suddenly..
i suppose there's some problem with the bootloader... pls help me out...
no its not flashing.. although, it was flashing earlier.. dnt knw wat hapnd suddenly..
i suppose there's some problem with the bootloader... pls help me out...
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
If you press the reset button, do you see any flashing?
-
- Posts: 5
- Joined: Sun Oct 07, 2012 1:59 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
yeah.. aftr pressing reseset, it flashes for a sec nd then stops..
- adafruit_support_bill
- Posts: 85858
- Joined: Sat Feb 07, 2009 10:11 am
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
It sounds like the bootloader is working, but the usb/serial connection is not.
Let's try to rule out a few of the simpler possibilities first:
Let's try to rule out a few of the simpler possibilities first:
- Try different USB ports. USB 3.0 ports can be a problem, so stick with 2.0 ports if possible.
Try a different cable. (You would be surprised how often that is the problem!)
Please be positive and constructive with your questions and comments.