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

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
kikathom
 
Posts: 3
Joined: Fri Aug 31, 2012 4:17 pm

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

Post by kikathom »

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?

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

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.

kikathom
 
Posts: 3
Joined: Fri Aug 31, 2012 4:17 pm

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

Post by kikathom »

It is the correct board and serial port

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

Hold the shift key down while you press the upload button and post the resulting diagnostic output.

kikathom
 
Posts: 3
Joined: Fri Aug 31, 2012 4:17 pm

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

Post by kikathom »

Got it fixed ty

daremick
 
Posts: 25
Joined: Wed Sep 26, 2012 10:17 pm

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

Post by daremick »

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!

daremick
 
Posts: 25
Joined: Wed Sep 26, 2012 10:17 pm

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

Post by daremick »

Actually I just fixed it :P 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.

tharun
 
Posts: 1
Joined: Sat Oct 06, 2012 12:10 pm

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

Post by tharun »

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"

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

@tharun - Sounds like you have the wrong port selected. What OS are you using?

Aman
 
Posts: 5
Joined: Sun Oct 07, 2012 1:59 am

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

Post by Aman »

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

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

@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?

Aman
 
Posts: 5
Joined: Sun Oct 07, 2012 1:59 am

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

Post by Aman »

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

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

If you press the reset button, do you see any flashing?

Aman
 
Posts: 5
Joined: Sun Oct 07, 2012 1:59 am

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

Post by Aman »

yeah.. aftr pressing reseset, it flashes for a sec nd then stops..

User avatar
adafruit_support_bill
 
Posts: 88041
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

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:
  • 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!)
And what kind of Arduino are you using? Is it an UNO?

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”