Im simply just trying to upload a test sketch to my arduino nano (Nano 3.0 ATmega328P CH340) and its stuck on uploading.
The Port is set properly, the board is set properly, but it still refuses to load the sketch onto the nano.
I enabled verbose logging and this is what shows up at the end:
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\xhick\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8a
Things I've already tried:
Pressing the reset button while uploading/as soon as it starts
Trying a different usb port
Trying a different usb cable entirely
Trying a different processor (old bootloader)
Different sketches
A program called a "bootloader" is stored in a special area of memory in the Nano board's microcontroller. The classic Nano (as well as its 3rd party derivatives) have been manufactured with two different types of bootloader installed.
You must configure the Tools > Processor menu in Arduino IDE according to which bootloader is installed on your Nano. Having the incorrect configuration selected in this menu is one of the potential causes of uploads failing with the "avrdude: stk500_recv(): programmer is not responding" error.
The single blink on reset tells us that your Nano board has the "old" bootloader installed.
I can see from the verbose upload output that you have Arduino IDE incorrectly configured for use with the Nano boards that have the modern bootloader.
Select Tools > Processor > ATmega328P (Old Bootloader) from the Arduino IDE menus and then try uploading again.
Hopefully this time the upload will finish successfully.
If it still fails, please provide the full verbose output that is produced from the upload attempt with the corrected Tools > Processor configuration. Please note that it is expected that uploads will fail when using a board with the "old" bootloader while you have Arduino IDE in the Tools > Processor > ATmega328P configuration, so it is essential for you to leave it in the Tools > Processor > ATmega328P (Old Bootloader) during all subsequent troubleshooting efforts.
the past few times ive used the old bootloader it would throw a random error, but after it threw the error this time i tried to just reupload and it went through perfectly.
If you encounter this problem again, just let us know and we'll investigate further. It might have been caused by some completely separate problem that will have its own distinct solution.