Hi everyone!
I am mostly new to Arduino so I apologise in advance if my dilemma does not seem problematic. I recently downloaded the Arduino IDE 2.3.4 on windows 11 using my school laptop (Acer Travelmate IP). However, when I go to upload my most recent sketch (eg. making an LED blink), the software takes to long to upload. My most recent sketch had me waiting for 45 minutes. Even now, I still haven't been able to upload my code. This is worrying sign. This sketch took up 924 bytes of the software's memory, an underwhelming thought when considering some of the more complex projects that have been made using Arduino. I have tried everything from rewriting the entire sketch to using different ports but noting has worked. Below, you will find some images regarding my issue. If you have any advice, please notify me. Thank you for consideration.
Hi @maestro47. I'm going to ask you to provide the full verbose output from an upload.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Uncheck the box next to Show verbose output during:
☑
compile in the "Preferences" dialog. - Check the box next to Show verbose output during: ☐ upload.
- Click the "OK" button.
The "Preferences" dialog will close. - Attempt an upload, as you did before.
- Wait for the upload to go into a hang state, as either indicated by no new text being printed to the black "Output" panel at the bottom of the Arduino IDE window, or by the same text being printed over and over again.
- Right click on the black "Output" panel at the bottom of the Arduino IDE window.
A context menu will open. - Select Copy All from the menu.
- Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>
icon on the post composer toolbar.
This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the upload output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
Looks like you only compiled the code (Verify in Arduino speak). Now you have to upload it. I don't use the IDE anymore but the upload button should be right beside the verify button.
FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB\sketch\sketch_dec19a.ino.cpp -o nul
Generating function prototypes...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB\sketch\sketch_dec19a.ino.cpp -o C:\Users\s29012\AppData\Local\Temp\3769344995\sketch_merged.cpp
C:\Users\s29012\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\s29012\AppData\Local\Temp\3769344995\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\s29012\\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\eightanaloginputs" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp" -o "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\s29012\AppData\Local\arduino\cores\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\core.a
Linking everything together...
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp.o" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/..\\..\\cores\\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\\core.a" "-LC:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB" -lm
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.eep"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.hex"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.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.
avrdude: ser_open(): can't open device "\\.\COM4": Access is denied.
Failed uploading: uploading error: exit status 1
Hi ptillisch,
This was my output after following your instructions. Thank you for the helpful advice.
Thank you van_der_decken,
Sorry about the misleading picture. I have tried to upload this sketch multiple times without any luck. I hope this clarifies my problem.
Do you by chance have the serial monitor open? If so, close it and try again. If not, look for some other program that has that com port open.
Hi van_der_decken
I closed the monitor. When this didn't work, I tried the other com ports. Whenever I did this, the same error code appeared. Would you happento know what it means? Thank you.
[quote="maestro47, post:8, topic:1333653, full:true"]
Hi van_der_decken
I closed the monitor. When this didn't work, I tried the other com ports. Whenever I did this, the same error code appeared. Would you happento know what it means? Thank you.
P.S: Sorry about the first message
FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB\sketch\sketch_dec19a.ino.cpp -o nul
Generating function prototypes...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB\sketch\sketch_dec19a.ino.cpp -o C:\Users\s29012\AppData\Local\Temp\3205194079\sketch_merged.cpp
C:\Users\s29012\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\s29012\AppData\Local\Temp\3205194079\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\s29012\\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\eightanaloginputs" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp" -o "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\s29012\AppData\Local\arduino\cores\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\core.a
Linking everything together...
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB\\sketch\\sketch_dec19a.ino.cpp.o" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/..\\..\\cores\\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\\core.a" "-LC:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB" -lm
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.eep"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.hex"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.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.
"C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM4" -b115200 -D "-Uflash:w:C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.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\s29012\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: ser_open(): can't open device "\\.\COM4": Access is denied.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Restart your computer and then try the upload again. In rare occasions, a glitch causes the port to get stuck open. This is one possible cause of the upload error. Restarting your computer restores the port to the normal working state and so fixes that particular cause of the error.
If the upload still fails after restarting your computer, add a reply here on this forum thread to let us know.
Hi ptsillisch,
I restarted my laptop and tried uploading using multiple monitors. None of them worked. The error code was the same each time with a few hidden variables. Do you know what this means? Thanks again.
FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\BD7E96B8E4CE4FA9D620099B10FC314F\sketch\sketch_dec20a.ino.cpp -o nul
Generating function prototypes...
C:\Users\s29012\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\s29012\AppData\Local\arduino\sketches\BD7E96B8E4CE4FA9D620099B10FC314F\sketch\sketch_dec20a.ino.cpp -o C:\Users\s29012\AppData\Local\Temp\1302086792\sketch_merged.cpp
C:\Users\s29012\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\s29012\AppData\Local\Temp\1302086792\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\s29012\\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=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\eightanaloginputs" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F\\sketch\\sketch_dec20a.ino.cpp" -o "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F\\sketch\\sketch_dec20a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\s29012\AppData\Local\arduino\cores\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\core.a
Linking everything together...
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F\\sketch\\sketch_dec20a.ino.cpp.o" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/..\\..\\cores\\arduino_avr_nano_cpu_atmega328_c901b9c16e6e82aaa33405626496a7a6\\core.a" "-LC:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F" -lm
"C:\\Users\\s29012\\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\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.ino.eep"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.ino.elf" "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.ino.hex"
"C:\\Users\\s29012\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\s29012\\AppData\\Local\\arduino\\sketches\\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.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.
"C:\Users\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM6" -b115200 -D "-Uflash:w:C:\Users\s29012\AppData\Local\arduino\sketches\BD7E96B8E4CE4FA9D620099B10FC314F/sketch_dec20a.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\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM6
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=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xb4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xb4
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
That's progress. You are able to communicate with the port now.
Since it's a Nano, you may have one with the old bootloader. Try switching to that and see if it's any better.
Hi van_der_decken,
Apologies if I have failed to understand the advice you have given me ( I am still very new to Arduino) . Just to clarify, are you suggesting I burn my current bootloader in Tools Settings? Thanks again.
No, just select the old bootloader variant of the Nano.
Dear van_der_decken
Good new's! The "LED blink" sequence is fully operational! However, the uploading issue still remains and I have a quite a bit error code in my output. Do you know what it means? Thank you.
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\s29012\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\s29012\AppData\Local\arduino\sketches\71A7F78CE262FBBC4E30ED8F7093ABFB/sketch_dec19a.ino.hex"
avrdude: writing flash (924 bytes):
Writing | ################################################## | 100% 0.28s
avrdude: 924 bytes of flash written
avrdude done. Thank you.
That is the sign of a successful upload with verbose output enabled, nothing more. If you turn off Show verbose output during: ☐ upload much of that will go away.
Hi van_der_decken
Thank you so much for helping me over these past few days. You have bee a big help. On one final sidenote, how do I stop my program. I tried unplugging and plugging in the USB as well as restarting the NANO, but that has not worked. Thanks again.
The uploaded sketch will run until you upload a different sketch over it.
Thank you for all your help van_der_decken. I will close this chat now. Good luck with all your future endeavours.
And you give yourself the solution, and don't give a single like to anyone who's helped you along the way? Good luck getting help the next time you need it; I certainly won't be there to help you!