Every time I try to upload code to my arduino I always get this error : avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x17. How do i fix it ?

marked as duplicate by Juraj, sempaiscuba, VE7JRO, per1234, jsotola Oct 28 '18 at 0:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @Juraj Mine is 0x17 the other one is 0x00 – F.Ahmed Oct 27 '18 at 16:12
  • nothing special for 0x17 – Juraj Oct 27 '18 at 16:15
  • @Juraj Different responses = different error – F.Ahmed Oct 27 '18 at 16:18
  • 1
    it is not an error code. it is a random value received instead of expected value – Juraj Oct 27 '18 at 16:19

Welcome to the community! I'm not able to comment yet so i'll answer here. Try changing the connection to other USB port. If that doesnt work check this question, the solutions can be similar (Juraj is right in the comments) : avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program

Good Luck!

  • Comments are not for answering, so you did the right thing by posting an answer. :) – Nick Gammon Oct 28 '18 at 6:48

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