Go Down

Topic: I keep getting this error code while trying to upload  (Read 255 times) previous topic - next topic

panda151

I keep getting this error code
Code: [Select]
Arduino: 1.8.10 (Windows 8.1), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_284445 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_250137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Owner\Documents\Arduino\libraries\yes\yes.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=8MHzatmega328 -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_284445 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_250137 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Owner\Documents\Arduino\libraries\yes\yes.ino
Using board 'pro' from platform in folder: C:\Program
Using core 'arduino' from platform in folder: C:\Program
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/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=8000000L -DARDUINO=10810 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\sketch\\yes.ino.cpp" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/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=8000000L -DARDUINO=10810 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\sketch\\yes.ino.cpp" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\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\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/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=8000000L -DARDUINO=10810 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\sketch\\yes.ino.cpp" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\sketch\\yes.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\Owner\AppData\Local\Temp\arduino_cache_250137\core\core_arduino_avr_pro_cpu_8MHzatmega328_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.elf" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445\\sketch\\yes.ino.cpp.o" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/..\\arduino_cache_250137\\core\\core_arduino_avr_pro_cpu_8MHzatmega328_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445" -lm
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.elf" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.eep"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.elf" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.hex"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_284445/yes.ino.elf"
Sketch uses 4334 bytes (14%) of program storage space. Maximum is 30720 bytes.
Global variables use 238 bytes (11%) of dynamic memory, leaving 1810 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 -PCOM3 -b57600 -D -Uflash:w:C:\Users\Owner\AppData\Local\Temp\arduino_build_284445/yes.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:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1d
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1d

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Invalid library found in C:\Users\Owner\Documents\Arduino\libraries\yes: no headers files (.h) found in C:\Users\Owner\Documents\Arduino\libraries\yes
Invalid library found in C:\Users\Owner\Documents\Arduino\libraries\yes: no headers files (.h) found in C:\Users\Owner\Documents\Arduino\libraries\yes

RudolfAtRTC


pert

@panda151 please tell us how you have the USB to serial adapter connected to your Pro Mini.

pert

What about the missing library "yes. h"?
The "Invalid library found" messages displayed in the output are unrelated to the upload failure. My recommendation would be for panda151 to focus on fixing the upload error for now.

You can safely ignore the "Invalid library found" messages, however they can act as a red herring when there is another problem, and are also just annoying because they clutter up the output. So eventually I would suggest figuring out what is wrong with that library and either fixing or deleting it. I am happy to help out with that, but would prefer to work on the upload issue first.

Go Up