Error uploading to Nano

I had two old nano boards which were working OK and then didn't use for a while.
On trying to use them again recently I kept getting upload error messages.

They have been in a drawer for a while so presumed they were damaged.

Today received two brand new Nano boards aadvertised as
Nano V3.0 For Arduino with CH340G 5V 16M compatible ATmega328P

Cannnot upload sketches to either of these

error message reads

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch

I am using Arduino IDE 1.8.9
Windows 10

With no board pins connecetd to anything

I have checked that IDE is set to Nano

I have checked under Tools that COM Port is set

I have checked in Windows Device Manager that device is working properly

I also reset Port from COM 5 to COM 3
This appears in IDE

I have downloaded and installed CH341 Driver - twice

I have unplugged USB several times with or without IDE open

Restarted IDE several times with cable connected and disconnected

Used two different cables

Pressed reset buttons at various points

The green light goes on
When sketch finished compiling red light breifly flashes
When uploading - red light comes on
Error message appears.

Have connected an Arduino UNO R3 to same PC same IDE version with no problem.

Extensive search on Google with many suggestions none of which work

Would appreciate a little help

None of the abover makes any difference

I ha

Select Tools > Processor > ATmega328P (Old Bootloader).

I am having the same exact problem. I have 4 nano's(clones) and all of them refuse to load a sketch from 1.8.9. I spent days trying every combination of setting and every sketch and could get non of them to work. I even tried serial TTL hook-up and still no luck. I tried 4 different com ports and old boot loader and new.

I even tried to use ISCP header and my isp programmer but got nothing.

I finally fired up my old PC and installed Arduino 1.8.4 and I'm running windows 7pro 64 bit and it seems to be working there. so Im not sure what the deal is....

I have updated all my ch340 drivers and even installed Adafruit drivers and nothing helped

P.S the system that wont work is also Windows 7 64 bit

Please do this:

  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to "Show verbose output during: compilation"
  • Check the checkbox next to "Show verbose output during: upload
  • Click "OK"
  • Sketch > Upload
  • After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.
Arduino: 1.8.9 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 21620 bytes (70%) of program storage space. Maximum is 30720 bytes.
Global variables use 1249 bytes (60%) of dynamic memory, leaving 799 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b115200 -D -Uflash:w:C:\Users\joe01\AppData\Local\Temp\arduino_build_259613/SDCard.ino.hex:i 

avrdude: Version 6.3-20171130
         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          : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

jwise:

Arduino: 1.8.9 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 21620 bytes (70%) of program storage space. Maximum is 30720 bytes.
Global variables use 1249 bytes (60%) of dynamic memory, leaving 799 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b115200 -D -Uflash:w:C:\Users\joe01\AppData\Local\Temp\arduino_build_259613/SDCard.ino.hex:i

avrdude: Version 6.3-20171130
        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          : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Select Tools > Processor > ATmega328P (Old Bootloader) and then try uploading again.

In the Arduino IDE under TMenu header Tools -> Board selection there is lis of parameters to be selected for all boards. A drop down menu entry addressing bootloaders, where you can specify to use an old format Bootloader.
Give it a try for your Nano Boards.
I regularly get the same problem when I switch between ESP boards and Nano that the default Boot Loader is selected. and I forget to change it to Old format.
Hope it helps , I dont have an Arduino IDE alive at the moment to give the exact wording.
The Information for the Nano boards addresses Memory size and spiffs sizes , your port to use, debug port selection,upload baudrateand more (I do not list these in same order as the IDE).
I am sure you will find what I mean.
My IDE is version 1.8.5 but there are a later version, I dont know if this information per board still contain the Old Boot format option.