Using either Visual Studio Code or Arduino IDE 2, I cannot upload to any nano boards.
Sketch uses 15864 bytes (51%) of program storage space. Maximum is 30720 bytes.
Global variables use 491 bytes (23%) of dynamic memory, leaving 1557 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\jcoco\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\jcoco\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM7" -b115200 -D "-Uflash:w:C:\Users\jcoco\AppData\Local\Temp\arduino\sketches\8286BA38D4AA54796654E53A8787E41E/ukmarsey.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\jcoco\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x67
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x73
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6c
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
I have AVR Boards 1.8.6 installed and the Arduino Nano selected. The application already running on the Nano displays data on the serial port so I think my cable is a data cable that I'm trying to use to program it. Same thing on my Linux box as my Windows box. I can upload the same sketch to a Uno successfully. What's up?
Joe