I can't upload the code to my Arduino Nano

Hello There,

I am trying to run the blink LED example on my arduino nano (cloned version). The IDE that i am using is 1.8.18 running. After making the following selections:

  • Board: Arduino Nano
  • Port: COM24
    -Processor: ATMEGA328P(OldBootloader)

What i have done:

  • Testing Port by connecting and Arduino UNO to the same COM24 and running the same code. Arduino UNO works fine.
  • Using a different USBA-MicroB cable on Arduino Nano, it doesn't work

Below is the full entire output after selecting "show verbose output during upload":

`Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Users\M74485\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\M74485\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM24 -b57600 -D -Uflash:w:C:\Users\M74485\AppData\Local\Temp\arduino_build_908543/Blink.ino.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\M74485\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM24
     Using Programmer              : arduino
     Overriding Baud Rate          : 57600

`

I know this is a common issue that have been resplved by other members but the majority of them are fixing this issue by either:

  • going backwards a version
  • removing and installing again the driver

any suggest on this matter?

Welcome to the forum

Have you tried using the ATmega328P Processor option ?

@UKHeliBob, thanks for your reply. I have tried both versions with the same result :face_with_diagonal_mouth: .

Is this the first time that you tried to program it? If not, what is the history?

What is the serial-to-usb converter on the Nano? It's the IC on the bottom of the board.

If you don't know, use windows device manager. Double click on the port, select the Details tab and select Hardware Ids from the Property drop down.

For an official Nano with FTDI

For a clone with CH340

Same question for your Uno; note that an official Uno will be different from the the above ones.

@sterretje No, I have programmed before, but on my personal PC, which has a different version compared to the one I am using at my workplace. Initially, this Nano was soldered onto the development board. I desoldered it from the development board as I needed something for a quick prototype. Please see below the images from device manager on the arduino nano connected to my PC.

Looking forward to your reply, Cheers :slight_smile:

You did not answer the question (or not explicitly) if your Uno uses the same serial-to-usb converter. If not, I doubt the Nano will be on the same COM port.

Different version of what? The driver for the CH340? The operating system? The IDE?

Hallo, versuche doch mal, den Nano in der IDE als UNO anzumelden. Das hilft, wenn der Nano einen USB-Chip "CH340C" hat.
Viel Glück, Ben

@b-d , please use the English language in the English sections of the forum.

Note that clone Nanos usually have the "old boot loader".