0

Last week I retried some of my Arduinos and one Mega was working without a problem, but two Uno's didn't work anymore. The error I got was something like:

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

Where yy where all different kind of values (I cannot copy/paste it as I'm not near the Arduino's).

Does anybody know where to find a document what the response values mean?

1

They don't mean anything.

AVRDude sends a packet, and expects a certain response. When it gets something that it's not expecting it tells you it's "out of sync", and tells you what the actual response was it got. That is, what byte it received over the serial port. That could be something that your sketch is sending, or complete garbage if you're communicating with a floating serial input, or anything at all.

  • Thanks, no wonder I couldn't found an 'error table' ... I would hope it would mean something more useful ... in that case I try it on another computer and otherwise I have some dead Uno's. – Michel Keijzers Apr 23 '19 at 18:41
  • Are they real ones? Or the dreaded CH340G? – Majenko Apr 23 '19 at 18:45
  • One is a real one (even with a removable DIP Atmel) and the other is a CH340G. – Michel Keijzers Apr 23 '19 at 18:46
  • 2
    Step one of diagnosis is to try a loopback test. Hold the board in RESET, and connect pin 0 to pin 1. Try and communicate and see if what you send is echoed back. – Majenko Apr 23 '19 at 18:48
  • Good advice thanks ... I will try it (probably in weekend, not much home until that time). – Michel Keijzers Apr 23 '19 at 18:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.