Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Circuit Playground Upload Error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Circuit Playground Upload Error

by MrDan on Wed Apr 21, 2021 6:44 pm

I have already been successful several times uploading programs to the circuit playground. So I have checked the board type and COM port. Even if I try to upload a blank or blink program it takes on average ~5 minutes (yes I've timed it several times) to give me "An error occurred while uploading the sketch" message. I've tried the double tapping the reset button no luck there.

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.13 (Windows 8.1), Board: "Adafruit Circuit Playground"

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\admin\Documents\Arduino\libraries -fqbn=arduino:avr:circuitplay32u4cat -vid-pid=239A_8011 -ide-version=10813 -build-path C:\Users\admin\AppData\Local\Temp\arduino_build_887136 -warnings=none -build-cache C:\Users\admin\AppData\Local\Temp\arduino_cache_583133 -prefs=build.warn_data_percentage=75 -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 -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-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\admin\AppData\Local\Temp\untitled995693786.tmp\sketch_apr22a\sketch_apr22a.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\admin\Documents\Arduino\libraries -fqbn=arduino:avr:circuitplay32u4cat -vid-pid=239A_8011 -ide-version=10813 -build-path C:\Users\admin\AppData\Local\Temp\arduino_build_887136 -warnings=none -build-cache C:\Users\admin\AppData\Local\Temp\arduino_cache_583133 -prefs=build.warn_data_percentage=75 -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 -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-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\admin\AppData\Local\Temp\untitled995693786.tmp\sketch_apr22a\sketch_apr22a.ino

Using board 'circuitplay32u4cat' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

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=atmega32u4 -DF_CPU=8000000L -DARDUINO=10813 -DARDUINO_AVR_CIRCUITPLAY -DARDUINO_ARCH_AVR -DUSB_VID=0x239A -DUSB_PID=0x8011 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Circuit Playground\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\circuitplay32u4" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\sketch\\sketch_apr22a.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

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=atmega32u4 -DF_CPU=8000000L -DARDUINO=10813 -DARDUINO_AVR_CIRCUITPLAY -DARDUINO_ARCH_AVR -DUSB_VID=0x239A -DUSB_PID=0x8011 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Circuit Playground\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\circuitplay32u4" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\sketch\\sketch_apr22a.ino.cpp" -o "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"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\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\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=atmega32u4 -DF_CPU=8000000L -DARDUINO=10813 -DARDUINO_AVR_CIRCUITPLAY -DARDUINO_ARCH_AVR -DUSB_VID=0x239A -DUSB_PID=0x8011 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Circuit Playground\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\circuitplay32u4" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\sketch\\sketch_apr22a.ino.cpp" -o "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\sketch\\sketch_apr22a.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\admin\AppData\Local\Temp\arduino_cache_583133\core\core_arduino_avr_circuitplay32u4cat_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=atmega32u4 -o "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.elf" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136\\sketch\\sketch_apr22a.ino.cpp.o" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/..\\arduino_cache_583133\\core\\core_arduino_avr_circuitplay32u4cat_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136" -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\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.elf" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.eep"

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.elf" "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.hex"

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\admin\\AppData\\Local\\Temp\\arduino_build_887136/sketch_apr22a.ino.elf"

Sketch uses 3372 bytes (11%) of program storage space. Maximum is 28672 bytes.

Global variables use 149 bytes of dynamic memory.

An error occurred while uploading the sketch

MrDan
 
Posts: 1
Joined: Wed Apr 21, 2021 6:34 pm

Please be positive and constructive with your questions and comments.