Raspberry Pi Pico Upload Error Exit Status 1:

I’ve downloaded and ran blink_picow.uf2, and my pico LED does blink, I’ve got the raspberry pi pico to show up on COM ports by using Zadig (installing drivers) however on Arduino IDE and Platform IO, the default blink code complies fine but always returns exit status 1.

CONFIGURATION: Redirecting...
PLATFORM: Raspberry Pi RP2040 (1.12.0) > Raspberry Pi Pico
HARDWARE: RP2040 133MHz, 264KB RAM, 2MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink, raspberrypi-swd)
PACKAGES:

  • framework-arduino-mbed @ 4.1.1
  • tool-openocd-raspberrypi @ 2.1100.0 (11.0)
  • tool-rp2040tools @ 1.0.2
  • toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)
    LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 42 compatible libraries
    Scanning dependencies…
    No dependencies
    Building in release mode
    Checking size .pio/build/pico/firmware.elf
    Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
    RAM: [== ] 15.1% (used 40752 bytes from 270336 bytes)
    Flash: [ ] 0.2% (used 4034 bytes from 2097152 bytes)
    Configuring upload protocol…
    AVAILABLE: cmsis-dap, jlink, picotool, raspberrypi-swd
    CURRENT: upload_protocol = picotool
    Looking for upload port…
    Auto-detected: /dev/cu.Bluetooth-Incoming-Port
    Forcing reset using 1200bps open/close on port /dev/cu.Bluetooth-Incoming-Port
    Uploading .pio/build/pico/firmware.elf
    rp2040load 1.0.1 - compiled with go1.15.8

    *** [upload] Error 1

I’ve used between mac and windows with the same problem