avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Elangovan's picture

Offline

Joined: Sep 19, 2018

Replies: 0
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
July 30, 2019 - 4:48pm

hello. i am doing a project where i am trying to upload sketch in my arduino NANO. i have checked wiring and i have even tried changing my USB cable few times but whenever i tried uploading the sketch in my Arduino NANO i am getting following error:

Sketch uses 17360 bytes (56%) of program storage space. Maximum is 30720 bytes.
Global variables use 1238 bytes (60%) of dynamic memory, leaving 810 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch

 

i have tried every possible way to rectify the problem but cant get through it. please can u explain the error and a possible solution. 

Ferry's picture

Offline

Joined: Sep 20, 2018

Replies: 8
change processor setting from tools
July 30, 2019 - 6:22pm

okay so we have faced this problem when we were using arduino nano. this happens with the chinese cloned arduino nano which you are using right now. the chinese cloned Arduino Nano is still using old bootloader of arduino nano so follow the below instruction to get rid of this error:

Select Tools > Processor > Atmega328P(Old Bootloader) 

This will solve your problem.