← Our projects
Crispy Bootloader RP2040
A/B bootloader for the RP2040 (Raspberry Pi Pico) written in Rust. Copies firmware from flash to RAM before execution and supports two banks for safer updates over USB CDC.
· 1 min read
Crispy Bootloader is an open-source A/B bootloader for the RP2040 (Raspberry Pi Pico) written in Rust. It copies firmware from flash to RAM before execution and supports two separate banks to enable robust, reversible updates over USB CDC.
The project includes:
- The RP2040 bootloader (
crispy-bootloader) in Rust - Sample firmwares in Rust and C++ (Pico SDK)
- A C++ SDK to integrate communication with the bootloader
- A shared crate (
crispy-common-rs) bundling the protocol and flash utilities - Two host tools (Rust and Python) for firmware upload, status readout and bank selection
- Linker scripts tailored for RAM execution
- Automated unit and hardware integration tests
The code is developed through pair-programming with AI assistance under human supervision (a human-in-the-loop approach) and follows Diataxis-structured documentation. MIT license.