Nano RP2040 Connect upload error - Executing command: Exit status 1

The upload process in Chrome on Windows 10 is not completing.

The .elf file is produced in the temp dir but it looks like the transfer process is not happening. When the board mounts as a mass storage device the elf binary can be manually copied across and the code executes correctly.

Here's the Web Editor output

/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:mbed_nano:nanorp2040connect -build-cache /tmp -build-path /tmp/926212828/build -verbose -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs runtime.tools.rp2040tools.path=/home/builder/.arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.xtensa-esp32-elf-gcc.path=/home/builder/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.serial-discovery.path=/home/builder/.arduino15/packages/builtin/tools/serial-discovery/1.2.1 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.esptool_py.path=/home/builder/.arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.ctags.path=/home/builder/.arduino15/packages/builtin/tools/ctags/5.8-arduino11 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -libraries /tmp/926212828/custom -libraries /tmp/926212828/pinned /tmp/926212828/Blink

Using board 'nanorp2040connect' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1

Using core 'arduino' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1

Detecting libraries used...

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10611 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/926212828/build/sketch/Blink.ino.cpp -o /dev/null

Generating function prototypes...

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10611 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/926212828/build/sketch/Blink.ino.cpp -o /tmp/926212828/build/preproc/ctags_target_for_gcc_minus_e.cpp

/home/builder/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/926212828/build/preproc/ctags_target_for_gcc_minus_e.cpp

Compiling sketch...

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10611 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/926212828/build/sketch/Blink.ino.cpp -o /tmp/926212828/build/sketch/Blink.ino.cpp.o

Compiling libraries...

Compiling core...

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10611 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/includes.txt /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/double_tap_usb_boot.cpp -o /tmp/926212828/build/core/double_tap_usb_boot.cpp.o

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10611 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/cores/arduino @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/includes.txt /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/variant.cpp -o /tmp/926212828/build/core/variant.cpp.o

Using precompiled core: /tmp/core/core_arduino_mbed_nano_nanorp2040connect_7004d165bbd24d3844bbfb057d36f4d5.a

Linking everything together...

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -L/tmp/926212828/build -Wl,--gc-sections -w -Wl,--as-needed @/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/ldflags.txt -T/home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/linker_script.ld -Wl,-Map,/tmp/926212828/build/Blink.ino.map --specs=nosys.specs -o /tmp/926212828/build/Blink.ino.elf /tmp/926212828/build/sketch/Blink.ino.cpp.o /tmp/926212828/build/core/double_tap_usb_boot.cpp.o /tmp/926212828/build/core/variant.cpp.o -Wl,--whole-archive /tmp/926212828/build/../../core/core_arduino_mbed_nano_nanorp2040connect_7004d165bbd24d3844bbfb057d36f4d5.a /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/2.1.1/variants/NANO_RP2040_CONNECT/libs/libmbed.a -Wl,--no-whole-archive -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O binary /tmp/926212828/build/Blink.ino.elf /tmp/926212828/build/Blink.ino.bin

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/926212828/build/Blink.ino.elf /tmp/926212828/build/Blink.ino.hex

/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-size -A /tmp/926212828/build/Blink.ino.elf

Sketch uses 78712 bytes (0%) of program storage space. Maximum is 16777216 bytes.

Global variables use 53288 bytes (19%) of dynamic memory, leaving 217048 bytes for local variables. Maximum is 270336 bytes.

Upload started

Programming with: Serial

Restarting in bootloader mode

Flashing with command:C:/Users/pmiln/.arduino-create/arduino/rp2040tools/1.0.2/rp2040load.exe -v -D C:/Users/pmiln/AppData/Local/Temp/arduino-create-agent153017977/Blink.elf

rp2040load 1.0.1 - compiled with go1.15.8

.....................

Could you try to open a shell, run this command (all on one line) and paste the output here?

C:/Users/pmiln/.arduino-create/arduino/rp2040tools/1.0.2/rp2040load.exe -v -D C:/Users/pmiln/AppData/Local/Temp/arduino-create-agent153017977/Blink.elf

Can you also try the steps described here?

I uninstalled my old IDE version then installed IDE 1.8.15 and tested with that. Everything was OK.

Now when I go back and use the Web Editor the upload is working!