Unable to upload to Pico from Arduino IDE
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Unable to upload to Pico from Arduino IDE
I posted this to the Arduino forum and so far have not received any responses. I wanted to check here because of the issue Dan Halbert pointed out a while back regarding uploading CircuitPython files on macOS Sonoma.
Macos Sonoma 14.6.1
Arduino IDE 2.3.4
Pico Board
UF2 Bootloader v3.0
Model: Raspberry Pi RP2
Board-ID: RPI-RP2
I am unable to upload to the Pico using Arduino IDE. I have done a lot of Googling but nothing has helped so far. I did have Circuitpython loaded on the Pico so I know there isn't an issue with the device. I also used flash_nuke to erase the flash before trying to download an Arduino file.
I am using the latest IDE and all of my libraries are up to date. I am able to compile a blink application, but the download ends with:
Resetting /dev/cu.usbmodem1301
Converting to uf2, output size: 152064, start address: 0x2000
Scanning for RP2040 devices
No drive to deploy.
Failed uploading: uploading error: exit status 1
The RPI-RP2 drive is displayed in the Mac finder and I am able to drag the blink.ino.uf2 file to the drive icon. The blink program does run correctly.
One odd thing about the compiler output above is the "Resetting /dev/cu.usbmodem1301" message. Apparently the IDE did detect the port but something happened after that preventing the upload.
After the upload failure the port is not in /dev and of course is not a selection in the IDE port menu.
A little more information. I dropped a converted blink uf2 file on the RPI RP2 drive and the code was uploaded and ran fine. This time the /dev/cu.usbmodem1301 virtual port showed up as a port in the IDE, however the port did not appear in the /dev directory. I suspect there must be some timing issue in the Mac or IDE
I was successful in uploading using a Windows 10 machine and Ubuntu.
Has anyone tried to do any uploads to a Pico using MacOS and Sonoma?
Thanks
Mark
Macos Sonoma 14.6.1
Arduino IDE 2.3.4
Pico Board
UF2 Bootloader v3.0
Model: Raspberry Pi RP2
Board-ID: RPI-RP2
I am unable to upload to the Pico using Arduino IDE. I have done a lot of Googling but nothing has helped so far. I did have Circuitpython loaded on the Pico so I know there isn't an issue with the device. I also used flash_nuke to erase the flash before trying to download an Arduino file.
I am using the latest IDE and all of my libraries are up to date. I am able to compile a blink application, but the download ends with:
Resetting /dev/cu.usbmodem1301
Converting to uf2, output size: 152064, start address: 0x2000
Scanning for RP2040 devices
No drive to deploy.
Failed uploading: uploading error: exit status 1
The RPI-RP2 drive is displayed in the Mac finder and I am able to drag the blink.ino.uf2 file to the drive icon. The blink program does run correctly.
One odd thing about the compiler output above is the "Resetting /dev/cu.usbmodem1301" message. Apparently the IDE did detect the port but something happened after that preventing the upload.
After the upload failure the port is not in /dev and of course is not a selection in the IDE port menu.
A little more information. I dropped a converted blink uf2 file on the RPI RP2 drive and the code was uploaded and ran fine. This time the /dev/cu.usbmodem1301 virtual port showed up as a port in the IDE, however the port did not appear in the /dev directory. I suspect there must be some timing issue in the Mac or IDE
I was successful in uploading using a Windows 10 machine and Ubuntu.
Has anyone tried to do any uploads to a Pico using MacOS and Sonoma?
Thanks
Mark
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Sonoma did have more issues with the virtual USB mounts than Ventura (before) and Sequoia (current, now). I have upgrade both my macOS boxes to sequoia 15.2 and not had issues.
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
Excellent! I will give that a shot.
Thanks
Mark
Thanks
Mark
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Thx. LMK how it goes for you. I had skipped Sonoma entirely around the virtual devices mount bug so I don't have first hand experience.
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
Unfortunately upgrading to Sequoia did not work for me. As soon as I start an upload the Pico boot drive appears and the upload process errors out a few seconds later. I can drop the uf2 file on the boot drive icon and it does load and run the program correctly. This gives me a somewhat awkward workaround for now.
I may switch over to a Feather nRF52840 to replace the Pico as uploads works fine with the Feather. I would consider using a Feather RP2040 but I am concerned that it will have the same upload issue.
BTW, I forgot to mention that I am using an Apple M2 silicon Mini
Mark
I may switch over to a Feather nRF52840 to replace the Pico as uploads works fine with the Feather. I would consider using a Feather RP2040 but I am concerned that it will have the same upload issue.
BTW, I forgot to mention that I am using an Apple M2 silicon Mini
Mark
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Thx for trying the macOS update.
Which model of Pico do you have?
This sounds like a Arduino configuration issue (missing lib or board model selected) maybe nuke the IDE and start again? You can move the ~/Library/Arduino15 folder to ~/Library/Arduino15-old and re-install the Arduino 2.3.4 Arduino dmg. Your existing sketches will remain in ~/Documents/Arduino.
I use the same Mac Mini M2 (and MacBook Air M2 laptop).
I used a Raspberry Pi Pico 2 RP2350 and successfully uploaded this simple blink code.
Which model of Pico do you have?
This sounds like a Arduino configuration issue (missing lib or board model selected) maybe nuke the IDE and start again? You can move the ~/Library/Arduino15 folder to ~/Library/Arduino15-old and re-install the Arduino 2.3.4 Arduino dmg. Your existing sketches will remain in ~/Documents/Arduino.
I use the same Mac Mini M2 (and MacBook Air M2 laptop).
I used a Raspberry Pi Pico 2 RP2350 and successfully uploaded this simple blink code.
Code: Select all
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Code: Select all
QBN: rp2040:rp2040:rpipico2
Using board 'rpipico2' from platform in folder: /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1
Using core 'rp2040' from platform in folder: /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1
Detecting libraries used...
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-g++ -I /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/core -c -Werror=return-type -Wno-psabi -DUSBD_PID=0x000f -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 -DUSB_MANUFACTURER="Raspberry Pi" -DUSB_PRODUCT="Pico 2" -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -DARDUINO_VARIANT="rpipico2" -DPICO_FLASH_SIZE_BYTES=4194304 @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_def.txt -mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/ @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_inc.txt @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/core_inc.txt -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/include -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=150000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO_2 -DBOARD_NAME="RASPBERRY_PI_PICO_2" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/cores/rp2040 -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/variants/rpipico2 /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-g++ -I /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/core -c -Werror=return-type -Wno-psabi -DUSBD_PID=0x000f -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 -DUSB_MANUFACTURER="Raspberry Pi" -DUSB_PRODUCT="Pico 2" -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 -DARDUINO_VARIANT="rpipico2" -DPICO_FLASH_SIZE_BYTES=4194304 @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_def.txt -mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse -ffunction-sections -fdata-sections -fno-exceptions -iprefix/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/ @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_inc.txt @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/core_inc.txt -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/include -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=150000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO_2 -DBOARD_NAME="RASPBERRY_PI_PICO_2" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/cores/rp2040 -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/variants/rpipico2 /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/sketch/Blink.ino.cpp -o /private/var/folders/m2/l1rzb2nj4rb0w1sdtcd5_bsh0000gn/T/462806109/sketch_merged.cpp
/Users/sklarm/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/m2/l1rzb2nj4rb0w1sdtcd5_bsh0000gn/T/462806109/sketch_merged.cpp
Compiling sketch...
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed-1/python3 -I /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/tools/signing.py --mode header --publickey /private/var/folders/m2/l1rzb2nj4rb0w1sdtcd5_bsh0000gn/T/.arduinoIDE-unsaved2025016-47949-15u8tpn.l4er/Blink/public.key --out /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/core/Updater_Signing.h
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-g++ -I /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/core -c -Werror=return-type -Wno-psabi -DUSBD_PID=0x000f -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico 2\"" -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT=\"rpipico2\"" -DPICO_FLASH_SIZE_BYTES=4194304 @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_def.txt -mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse -ffunction-sections -fdata-sections -fno-exceptions -MMD -iprefix/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/ @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_inc.txt @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/core_inc.txt -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/include -fno-rtti -std=gnu++17 -g -pipe -DF_CPU=150000000L -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO_2 "-DBOARD_NAME=\"RASPBERRY_PI_PICO_2\"" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/cores/rp2040 -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/variants/rpipico2 /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/sketch/Blink.ino.cpp -o /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /Users/sklarm/Library/Caches/arduino/cores/BANNED/core.a
Linking everything together...
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed-1/python3 -I /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/tools/simplesub.py --input /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/memmap_default.ld --out /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/memmap_default.ld --sub __FLASH_LENGTH__ 4186112 --sub __EEPROM_START__ 272621568 --sub __FS_START__ 272621568 --sub __FS_END__ 272621568 --sub __RAM_LENGTH__ 512k --sub __PSRAM_LENGTH__ 0x000000
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-gcc -Werror=return-type -Wno-psabi -DUSBD_PID=0x000f -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico 2\"" -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT=\"rpipico2\"" -DPICO_FLASH_SIZE_BYTES=4194304 @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_def.txt -mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse -ffunction-sections -fdata-sections -fno-exceptions -Os -u _printf_float -u _scanf_float -c /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/boot2/rp2350/none.S -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/pico-sdk/src/rp2350/hardware_regs/include/ -I/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/pico-sdk/src/common/pico_binary_info/include -o /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/boot2.o
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-g++ -L/Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A -Werror=return-type -Wno-psabi -DUSBD_PID=0x000f -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico 2\"" -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT=\"rpipico2\"" -DPICO_FLASH_SIZE_BYTES=4194304 @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_def.txt -mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse -ffunction-sections -fdata-sections -fno-exceptions -Os -u _printf_float -u _scanf_float @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/platform_wrap.txt @/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/core_wrap.txt -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--undefined=runtime_init_install_ram_vector_table -Wl,--undefined=__pre_init_runtime_init_clocks -Wl,--undefined=__pre_init_runtime_init_bootrom_reset -Wl,--undefined=__pre_init_runtime_init_early_resets -Wl,--undefined=__pre_init_runtime_init_usb_power_down -Wl,--undefined=__pre_init_runtime_init_clocks -Wl,--undefined=__pre_init_runtime_init_post_clock_resets -Wl,--undefined=__pre_init_runtime_init_spin_locks_reset -Wl,--undefined=__pre_init_runtime_init_boot_locks_reset -Wl,--undefined=__pre_init_runtime_init_bootrom_locking_enable -Wl,--undefined=__pre_init_runtime_init_mutex -Wl,--undefined=__pre_init_runtime_init_default_alarm_pool -Wl,--undefined=__pre_init_first_per_core_initializer -Wl,--undefined=__pre_init_runtime_init_per_core_bootrom_reset -Wl,--undefined=__pre_init_runtime_init_per_core_h3_irq_registers -Wl,--undefined=__pre_init_runtime_init_per_core_irq_priorities -Wl,--script=/Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/memmap_default.ld -Wl,-Map,/Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.map -o /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.elf -Wl,--no-warn-rwx-segments -Wl,--start-group /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/sketch/Blink.ino.cpp.o /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/../../cores/BANNED/core.a /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/boot2.o /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/ota.o /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/libpico.a /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/libipv4.a /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/lib/rp2350/libbearssl.a -lm -lc -lstdc++ -lc -Wl,--end-group
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin//arm-none-eabi-objcopy -Obinary /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.elf /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.bin
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed-1/python3 -I /Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/tools/signing.py --mode sign --privatekey /private/var/folders/m2/l1rzb2nj4rb0w1sdtcd5_bsh0000gn/T/.arduinoIDE-unsaved2025016-47949-15u8tpn.l4er/Blink/private.key --bin /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.bin --out /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.bin.signed
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-picotool/4.0.1-8ec9d6f/picotool uf2 convert /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.elf /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.uf2 --family rp2350-arm-s --abs-block
RP2350-E9: Adding absolute block to UF2 targeting 0x10ffff00
/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-gcc/4.0.1-8ec9d6f/bin/arm-none-eabi-size -A /Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.elf
Sketch uses 57300 bytes (1%) of program storage space. Maximum is 4186112 bytes.
Global variables use 10428 bytes (1%) of dynamic memory, leaving 513860 bytes for local variables. Maximum is 524288 bytes.
"/Users/sklarm/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed-1/python3" -I "/Users/sklarm/Library/Arduino15/packages/rp2040/hardware/rp2040/4.4.1/tools/uf2conv.py" --serial "/dev/cu.usbmodem142201" --family RP2040 --deploy "/Users/sklarm/Library/Caches/arduino/sketches/D9472495D9EFF47DD8C51C59EFE70B1A/Blink.ino.uf2"
Resetting /dev/cu.usbmodem142201
Converting to uf2, output size: 152064, start address: 0x2000
Scanning for RP2040 devices
Flashing /Volumes/RP2350 (RP2350)
Wrote 152064 bytes to /Volumes/RP2350/NEW.UF2
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
I have Pico #5525 from Adafuit. I tried a second Pico (same version) and it exhibited the same issue.
I did try the flash nuke using Sonoma but that did not seem to make a difference. I will try again with Sequoia just to cover all bases. I will also try reinstalling the IDE.
Yeah I have been using Blink as test code. It makes easy to tell if the program is running.
I did try the flash nuke using Sonoma but that did not seem to make a difference. I will try again with Sequoia just to cover all bases. I will also try reinstalling the IDE.
Yeah I have been using Blink as test code. It makes easy to tell if the program is running.
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Okay, you have an original Pico (RP2040) with Headers. You might be selecting an incorrect board from the Arduino menu. Which model have you chosen. You mentioned RP2 at one point which is why I say that.
Can you show me a drop down of your tools menu or board selected in the IDE? It should look like this for you.
Can you show me a drop down of your tools menu or board selected in the IDE? It should look like this for you.
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
My IDE board selection is for the Pico. That must have been a typo on my part.
However this is odd. I selected board info and go this:
AntronShop RP2 Nano. Is that right?- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Probably just the USB IDs being the same. Not a big deal there.
How about for BSPs. Do you have the Phil Hower core installed?
https://learn.adafruit.com/rp2040-ardui ... hower-core
How about for BSPs. Do you have the Phil Hower core installed?
https://learn.adafruit.com/rp2040-ardui ... hower-core
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
These are the two URL's that I have installed:
https://adafruit.github.io/arduino-boar ... index.json
https://github.com/earlephilhower/ardui ... index.json
https://adafruit.github.io/arduino-boar ... index.json
https://github.com/earlephilhower/ardui ... index.json
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Have you re-installed the Arduino IDE renaming the old ~Library/Arduino15 folder?
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
Yes I did try that along with a nuke flash, but the same issue exists.
- mikeysklar
- Posts: 18070
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Unable to upload to Pico from Arduino IDE
Can you post a photo of the Pico and USB connect you are using to your mac mini?
The Pico works correctly with the Windows machine you are switching with, correct?
The Pico works correctly with the Windows machine you are switching with, correct?
- marklb
- Posts: 27
- Joined: Mon Jun 24, 2019 3:49 pm
Re: Unable to upload to Pico from Arduino IDE
It not easy to get a good photo where the mini is located on my desk. However I did try a USB2 connected hub, a USB-C connected hub and the Pico cable connected directly to the USB2 input on the mini (no hub). All three connections exhibited the same problem.
Yes it does work with Windows 10 and Ubuntu 20.04.
I find it odd the drive appears quickly, maybe 3 or 4 seconds after I initiate an upload long before the actual timeout of the upload occurs. The drive contents are exactly the same as if I press and hold the BootSel button while inserting the usb connector.
Yes it does work with Windows 10 and Ubuntu 20.04.
I find it odd the drive appears quickly, maybe 3 or 4 seconds after I initiate an upload long before the actual timeout of the upload occurs. The drive contents are exactly the same as if I press and hold the BootSel button while inserting the usb connector.
Please be positive and constructive with your questions and comments.