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 | |||
# 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 [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: | |||
The device is following: | The device is following: |
Revision as of 22:05, 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, ATMeha328p (old bootloader) or ATMega168
- 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:
The device is following:
Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter