Unable to upload to Raspberry Pico

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 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 showing in /dev and of course is not a selection in the IDE port menu.

Any guidance is appreciated.

Mark

Is there anyone running macOS Sonoma able to perform an upload on a Pico?

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.

Its far more likely that the issue is with the USB cable. Have you tried another one?

I have had weird issues like this with a Pico before and it did turn out to be a USB cable with an intermittent connection.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.