ploopyco / headphones

A set of 3D-printed headphones, alongside a DAC/amp/EQ board powered by a Raspberry Pico.
833 stars 43 forks source link

Basic support for rebooting into the bootloader. #10

Closed george-norton closed 1 year ago

george-norton commented 1 year ago

This PR adds a USB vendor command that causes the RP2040 to reboot into the bootloader. This enables you to flash new firmware without having to open up the case and short pins on the board.

There is also a simple python script which issues the vendor command to all connected Ploopy DAC devices.

Tested on Linux using a Raspberry Pi Pico.

ploopyco commented 1 year ago

Very nice, and this reminds me that I should really parameterize the vendor ID and product ID. I'll add that as a todo for myself.