Nano ATmega328: Difference between revisions
From wikiluntti
Line 18: | Line 18: | ||
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x18 | avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x18 | ||
</pre> | </pre> | ||
Not in sync error is described in https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading#avrdude-stk500_recv-and-stk500_getsync | This error is a communication problem. Not in sync error is described in https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading#avrdude-stk500_recv-and-stk500_getsync | ||
# Make sure you have selected the right board and port correct board | # Make sure you have selected the right board and port correct board | ||
# If using the classic Nano, try selecting a different processor in Tools > Processor. | # If using the classic Nano, try selecting a different processor in Tools > Processor. |
Revision as of 22:13, 12 March 2024
Introduction
Cheap Arduino Nano clone.
Problems while uploading a sketch.
Uploading on Linux
While using Arduino IDE (ver 1.8.19)
- Board: Arduino Nano
- Processor: ATMega328P, ATMega328p (old bootloader) or ATMega168. The old bootloader uses 75600 bps and the newer 115200bps.
- Port /dev/ttyUSB0
gives the following error message
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9e avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x66 ... avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x18
This error is a communication problem. Not in sync error is described in https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading#avrdude-stk500_recv-and-stk500_getsync
- Make sure you have selected the right board and port correct board
- If using the classic Nano, try selecting a different processor in Tools > Processor.
- A loopback test can be performed, which will rule out problems with the serial chip:
Other notes
- pushing the reset button just before uploading.
The device is following:
Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter