Computers, Development Boards & Shields
Educational & Robotics Kits
Electronic Sensors
Motors & Controllers
Communication & Display
Electronic Components
Soldering & Lab Tools

0
avrdude: stk500_getsync(): not in sync

Hello, I bought a Bareduino Plus, and installed it as shown, do you put the rx tx gnd 5vin and reset cables in the same pins as the normal Bareduino? i did so, installed the drivers and i get this error each time i want to upload

avrdude: stk500_getsync(): not in sync: resp=0×00
avrdude: stk500_disable(): protocol error, expect=0×14, resp=0×51

Thanks for your help

1 Answer

0
accepted

The following are the most likely causes for your problem:

Generally when programming the Bareduino or Versalino™ (with jumper wires) the protocol error

“avrdude: stk500_getsync(): not in sync: resp=0×00
avrdude: stk500_disable(): protocol error, expect=0×14, resp=0×51?

is usually a result of the Reset failing to occur. Since you said you are using the USB Serial Light the first thing you should check is that your reset line is tied to the reset on the USB Serial Light through a 100 nF capacitor (this allows the reset to occur).

Another good trick to make sure everything else is setup right is to put an LED between ground and pin 13 (reference https://www.virtuabotix.com/core/?p=407chip pin-out guide for pin location). If the LED blinks you have your power and crystal setup correctly.

If you are still getting he error at this point than the most likely problem is that you have your transmit and receive lines swapped (remember with the USB Serial Light the Transmit goes to Receive and the Receive goes to Transmit).

Note: If you had the wrong device selected it would give you this error
“avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.”

The “protocol error, expect=0×14, resp=0×51? actually means that it can’t even talk to the device.

Your Answer

No comments yet.

Leave a Reply