Hey all,
Recently picked up an Arduino Nano CH340 and have been having issues with using it. Once I hooked it up to my PC, I uploaded an empty sketch to the board to get the annoying "L" light to spot flashing at me, then let it sit for a bit. After coming back to it, the PC seemingly didn't recognize the board via the COM port which I found was strange; I changed cables and it started to work again, however. After a while, the same issue occurred and I managed to fix it, but to my dismay, the board stopped allowing me to upload code to it, spitting out this error message, whilst still showing/knowing that the Nano was located at COM3 on both the IDE and Device Manager:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\User\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\User\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10818 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_121856 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_117719 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\User\AppData\Local\Temp\untitled544227059.tmp\sketch_may28a\sketch_may28a.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\User\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\User\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\User\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10818 -build-path C:\Users\User\AppData\Local\Temp\arduino_build_121856 -warnings=none -build-cache C:\Users\User\AppData\Local\Temp\arduino_cache_117719 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\User\AppData\Local\Temp\untitled544227059.tmp\sketch_may28a\sketch_may28a.ino
Using board 'nano' from platform in folder: C:\Users\User\AppData\Local\arduino15\packages\arduino\hardware\avr\1.8.5
Using core 'arduino' from platform in folder: C:\Users\User\AppData\Local\arduino15\packages\arduino\hardware\avr\1.8.5
Detecting libraries used...
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\sketch\\sketch_may28a.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\sketch\\sketch_may28a.ino.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\sketch\\sketch_may28a.ino.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\sketch\\sketch_may28a.ino.cpp.o"
Compiling libraries...
Compiling core...
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring_pulse.S" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_pulse.S.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring_digital.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_digital.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\hooks.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\hooks.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring_pulse.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_pulse.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring_analog.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_analog.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\WInterrupts.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WInterrupts.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring_shift.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_shift.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\wiring.c" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\HardwareSerial2.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial2.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\IPAddress.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\IPAddress.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\PluggableUSB.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\PluggableUSB.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\CDC.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\CDC.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\HardwareSerial0.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial0.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\HardwareSerial.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\HardwareSerial3.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial3.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\HardwareSerial1.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial1.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\Print.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Print.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\Stream.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Stream.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\Tone.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Tone.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\USBCore.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\USBCore.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\WMath.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WMath.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\WString.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WString.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\abi.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\abi.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\main.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\main.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" "C:\\Users\\User\\AppData\\Local\\arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino\\new.cpp" -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\new.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_pulse.S.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WInterrupts.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\hooks.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_analog.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_digital.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_pulse.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\wiring_shift.c.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\CDC.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial0.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial1.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial2.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\HardwareSerial3.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\IPAddress.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\PluggableUSB.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Print.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Stream.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\Tone.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\USBCore.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WMath.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\WString.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\abi.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\main.cpp.o"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar" rcs "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\core.a" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\core\\new.cpp.o"
Archiving built core (caching) in: C:\Users\User\AppData\Local\Temp\arduino_cache_117719\core\core_arduino_avr_nano_cpu_atmega328_46118dba23c55ca0c0c8760f30dc16aa.a
Linking everything together...
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.elf" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856\\sketch\\sketch_may28a.ino.cpp.o" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/core\\core.a" "-LC:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856" -lm
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.elf" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.eep"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.elf" "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.hex"
"C:\\Users\\User\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\User\\AppData\\Local\\Temp\\arduino_build_121856/sketch_may28a.ino.elf"
Sketch uses 444 bytes (1%) 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
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x94
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x94
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0c
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x84
avrdude: stk500_getsync(): can't communicate with device: resp=0x8c
I suspected a driver issue, so I went out and installed this CH340 driver, but despite this, I still got hit with the same error message spat back out at me. I then tried connecting it to a different USB port (COM4), but this time it failed to even recognize the board, listing it as "Unknown USB Device (Device Descriptor Request Failed)". I tried to move it back but now it's failing to recognize it at this port as well! After a bit of unplugging and replugging, I got it to work again, but it leaves me as confused as before.
I know for a fact, however, that this isn't a cable issue, as I have used both cables and each of them worked periodically, then stopped working as I've explained. On top of this, I've used both cables on my FTDI programmer with no issue, so I'm 99% sure that this isn't a cable issue.
I've tried a good amount of options, with no luck, would anyone here have any other ideas for me to try which would be able to hopefully help me get my Nano to work?