Nano ATmega328: Difference between revisions
From wikiluntti
Line 9: | Line 9: | ||
While using Arduino IDE (ver 1.8.19) | While using Arduino IDE (ver 1.8.19) | ||
* Board: Arduino Nano | * Board: Arduino Nano | ||
* Processor: ATMega328P, | * Processor: ATMega328P, ATMega328p (old bootloader) or ATMega168. The old bootloader uses 75600 bps and the newer 115200bps. | ||
* Port /dev/ttyUSB0 | * Port /dev/ttyUSB0 | ||
gives the following error message | gives the following error message | ||
Line 23: | Line 23: | ||
# A [https://support.arduino.cc/hc/en-us/articles/360020366520-How-to-do-a-loopback-test loopback test] can be performed, which will rule out problems with the serial chip: | # A [https://support.arduino.cc/hc/en-us/articles/360020366520-How-to-do-a-loopback-test 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: | The device is following: |
Revision as of 22:12, 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
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