What to do when an error occurs during sketch writing with Arduino Nano
- 2018/10/09
- 22:27
What to do when an error occurs during sketch writing with Arduino Nano
Hello everyone! I’m RoboTakao.
When trying to write a sketch to Arduino Nano, the following error occurred and it did not work. It was after installing the library of M5Stack, so I thought that was the effect. But it did not go well on another MacBook that did not have the M5Stack library. Previously it was done properly.

Avrdute: stk500_recv(): programmer is not responding
Avedude: stk500_getsync() attempt 1of 10: not in sync: resp=0x00
After all, since it worked out with a very simple solution method, I would like to share it.
General notes
1) Cable failure (disconnection, compatibility)
2) Does the board, processor, serial port match?
I prepared a new cable there, but it did not work
Arduino Nano has no problem with board setting, processor setting is ATmega 328P and there is no problem. Select serial port properly recognized.
For Arduino Nano, I installed the driver of FTDI and reinstalled it.
We also made necessary settings. (See past postings here)
Even this will not work.
There is no problem when trying with Arduino UNO.
There was an important description in the site of Switch Science when trial and error was done.
https://www.switch-science.com/catalog/2554/
Arduino Nano, manufactured after January 2018, has a new boot loader and it is necessary to choose the processor as follows
After January 2018 ATmega328P
Before January 2018 ATmega328P (Old BootRoader)

My Arduino Nano was before January 2018, so I had to choose an old boot loader.
I switched it, I could write it very easily.
It seems that this is a problem as I recently updated Arduino IDE when I installed the M5Stack library.
Please be careful of everyone.
Thnak you! Good bye!
スポンサードリンク