Skip to content

Add firmware updates for Pico devices - #65

Merged
glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:pico-firmware-update
Nov 9, 2026
Merged

glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:pico-firmware-update

Conversation

@glopesdev

Copy link
Copy Markdown
Contributor

The update command now writes UF2 images to devices built on the Pico core, over the PICOBOOT interface of the RP2040 and RP2350 boot ROM. Once the image is checked over Harp, the update sets UPDATE_FIRMWARE, writes only to the device that appears in BOOTSEL mode after the reset, reads the image back to verify it and restarts the device.

--force can be used to recover a device already in BOOTSEL mode when it is the only one attached. libusb is deployed for Windows and macOS using the libusb.runtime package, while Linux uses the system library.

A new public DeviceProbe in Harp.Toolkit.Core exposes a reusable procedure for robust enumeration of device identity, used by the root command, the readiness wait after an update and the ATxmega and SoundCard compatibility checks.

Finally, the update article describes each core in its own section with its recovery steps, and page titles and headings across the docs use sentence case. The XML documentation of the existing update types follows the standard .NET wording.

Closes #64

Devices built on the Pico core are updated over the PICOBOOT interface
of the RP2040 and RP2350 boot ROM, through a minimal libusb binding.
The update requests UPDATE_FIRMWARE over Harp, writes the UF2 image
only to a device that entered BOOTSEL mode after the reset, reads it
back to verify it and reboots the device. A forced update writes to a
device already in BOOTSEL mode when it is the only one.

Identity reads go through a shared device probe in Harp.Toolkit.Core,
used by the root command, the wait after an update and the ATxmega and
SoundCard compatibility checks.

The update article now covers each core in its own section, page titles
and headings across the docs use sentence case, and the XML
documentation of the existing update types follows the standard .NET
wording.

Closes harp-tech#64
@glopesdev glopesdev added the feature New planned feature label Nov 9, 2026
@glopesdev
glopesdev merged commit 006c37d into harp-tech:main Nov 9, 2026
9 checks passed
@glopesdev
glopesdev deleted the pico-firmware-update branch November 9, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New planned feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add firmware updates for Pico devices

1 participant