Nano ATmega328

From wikiluntti

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

  1. Make sure you have selected the right board and port correct board
  2. If using the classic Nano, try selecting a different processor in Tools > Processor.
  3. A loopback test can be performed, which will rule out problems with the serial chip:

Other notes

The device is following:

Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter

Uploading on Windows