This was is a weird error I got when trying to upload my code to my Ardiono Nano. I was finally able to solve this.
Arduino Nano avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
So basically this means that your computer can not talk to your Arduino Nano. There can be many causes but here is what I think is most likely.
You bought an Arduino Nano from amazon, ebay or any Chinese manufacturer. It uses a different chip-set that was made before 2018 January 1st and uses an older Bootloader, but your computer software is set to the newer Bootloader. Nothing wrong with that you just need to know about it.
Check for the bottom of the board for the board for the chip with label “CH340” or something very similar with maybe a different last digit.
You could get a new board from the following link: Arduino Nano.
Or try one of these solutions.
1. If you are using the default Arduino Desktop app to upload your code:
- In the Menu under Tools select Board: “Arduino Nano”
- Be sure to select ATmega328P (Old Bootloader)
2. If you are using Atom with Platform.io
Here is a link if you are interested in this IDE. Platform IO IDE.
platformio.inifile should look like this.
[env:nanoatmega328] platform = atmelavr board = nanoatmega328 framework = arduino
Or if you are creating a complete new project be sure to select:
Ardiono Nano ATmega 328 and NOT
Arduiono Nano ATmega 328 (New Bootloader)
3. Update the Bootloader.
Update the Bootloader for the CH340 chip.
I did not go with this one but if you want to share your story let me know in the comment section.
Other Possible Causes:
Here are some other possible causes if this did not fix your problem:
- A wire is connected to pin0
- You have the wrong COM port selected (the IDE does not see your board)
- Your Arduino drivers are not set properly.
First two should be an easy fix: disconnect pin 0 and select the right COM port.
Check the bottom of your Arduino see the fine letters on the small chip.
If your Arduino was bough on amazon or ebay and made in china most likely your chip will say something like CH340 or CH341 or something along those lines. If your operating system does not recognize your Arduino here is the driver for you. Download the Windows CH340 Driver.
I hope this helped you, let me know in the comments. Cheers Lehel!
This solved it. Thank you!
My pleasure. I am really glad to hear that.
Thank you, this solved it with the “old bootloader” setting. The weird thing is that it had all been working on this laptop, and I haven’t changed a thing /on this computer/. I did fiddle with my program, which uses Serial library, changing the baudrate, on my desktop. Then, coming back to the laptop, the uploads failed.
#metoo Fingers worn out Googling before I found your blog.. the “old bootloader” trick.
Thanks for going to the bother of enlightening me.
Thanks for your comment, I am really glad you found the post and were able to solve your issue.
I try do my best with keywords and SEO but there is always room for improvement. What keywords were you searching for? Maybe I can do better on ranking on those words to help others find this post.
Thanks, I solved my problem thanks to you (“old bootloader”).
I found your site by writing in google:avrdude stk500_getsync () attempt 1 of 10 not in sync resp = 0x00 arduino nano.
Thank you for your comment!
using Platform Io on VSCode;
changed my ini file env to uno instead of uno_wifi_rev2
Thank you for your comment.
Excellent, Works perfectly.
Nice info, Sir.
Hi! using OldBootloader solved the issue for me! Thanks a lot!
Thanks for taking the time to publish this. I was about to go mad trying to get my nano to work until I tried this.
I had a micro:bit connected to my PC at the same time as I was trying to flash the Arduino. Removing the micro:bit and reconnecting the Arduino solved my issue. I use Debian.
Nr. 1 helped!!!