Arduino Nano not upload bar is full but doesnt finish

My chinese Arduino Nano doesnt upload anymore. Im am trying to upload the "Blink" program. There is no error message because the upload is never done. A few months ago I got it working and found out, that it uses the ATmega328P (old bootloader).
Now I've checked the box "Show verbose output during compilation". And now it says:

Archiving built core (caching) in: C:\Users\justu\AppData\Local\Temp\arduino_cache_42031\core\core_arduino_avr_nano_cpu_atmega328old_d72cf7820821928d7aba3a85f82dacbf.a
Linking everything together...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.elf" "C:\Users\justu\AppData\Local\Temp\arduino_build_662054\sketch\Blink.ino.cpp.o" "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/core\core.a" "-LC:\Users\justu\AppData\Local\Temp\arduino_build_662054" -lm
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.elf" "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.eep"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.elf" "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.hex"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-size" -A "C:\Users\justu\AppData\Local\Temp\arduino_build_662054/Blink.ino.elf"
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.
An error occurred while uploading the sketch

I have deleted the beginning of the output, because too long
i am so confused pls help :c

Can you enable verbose mode for upload, not for compile? Need to see how upload failed, not how compile succeeded. :wink:

How emabrassing, I've checked the wrong box, here is the upload error.

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:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

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

avrdude: ser_open(): can't open device "\.\COM5": Das System kann die angegebene Datei nicht finden.

avrdude done. Thank you.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for > suggestions.

The part "Das System kann die angegebene Datei nicht finden." is german for some reason and means "The System can't find the stated file". Hope this is useful and great thanks you replied.

What does windows device manager think about the board?

Whenever I see

\.\COM

I unplug and replug the arduino and it solves the problem and the port name becomes correct again, like COM5. Not sure what causes the problem.

Hi,
Welcome to the forum.

What version IDE are you using?
Have you recently updated and then the problem has occurred?
Can you try an earlier version of the IDE?

Thanks.. Tom.... :grinning: :+1: :coffee: :australia:

Hm aparrently I selected the wrong port, now i have a new error message wich says even less ._. hre it is:

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:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

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

An error occurred while uploading the sketch

and thats it. The device manager says:

Ports (COM & LPT) -> USB SERIAL CH340 (COM5)

is that correct? I was using the lastest version of the IDE and i've tried a bunch of older versions, no one works. The nano itself is intact I believe, because i have the same problem with a new one i bought a while ago

So it is COM5. Only thing I can thing of is that you might have chosen the wrong processor.

  1. 328P
  2. 328P old bootloader
  3. 168P

Try them, it will not damage the board.

I've already tried that. Now i had a difentent idea. I tried it out with my old laptop. It worked. At least for the new one. The old one says in the console:

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, (here is the website of bdmicro, but i cant post it here)
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Program >Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/>etc/avrdude.conf"
     User configuration file is "C:\WINDOWS\system32\avrdude.rc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : usb
     Using Programmer              : stk500v2

avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

avrdude done. Thank you.

Beim Hochladen des Sketches ist ein Fehler aufgetreten (means: An error occured while >uploading the sketch)

So apparently it cant find a special file? Maybe I've broken it when soldering. If that information above helps you, please reply. But so far, great thanks for all your effort, I really appreciate your answer speed. For now, I'll programm on the new one, I (yet) have no use for the (maybe?) broken one.

If you're referring to the above line, that is not a problem.

But I suspect that this would indicate that it's not properly detected.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.