Go Down

Topic: stk500_getsync() not in sync (Read 201 times) previous topic - next topic


Mar 17, 2019, 10:05 am Last Edit: Mar 17, 2019, 10:22 am by misha782
I'm getting this error message when uploading my sketch:
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch
I've noticed that disconnecting from pin 0 solves the problem.
Found confirmation for pin 0 problem, could someone knowledgeable comment on this issue please?

Why does that occur? How do I resolve it? Are there common workarounds?
Does that mean I can't use Digital0 in my project?


Digital 0 and Digital 1 are the pins used by the hardware serial port.  If you want to use Serial you can't use those pins for digital I/O.  The USB chip is connected to those pins for sketch upload.  If your hardware interferes with either pin you will have to disconnect it to upload.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp
See who has no social life: https://forum.arduino.cc/index.php?action=stats :)

Go Up