Expand description
Connecting to and communicating with a Raspberry Pi microcontroller in BOOTSEL mode over USB.
PICOBOOT is a USB interface provided by Raspberry Pi microcontrollers when in BOOTSEL mode. Normally, firmware for a Raspberry Pi microcontroller is loaded over a USB Mass Storage Device interface, appearing as a 128MB flash drive to the computer. The PICOBOOT USB interface is (usually) also active during this time, and can be used for more advanced management of the microcontroller device.
Re-exports§
pub use cmd::PicobootCmd;
pub use cmd::PicobootCmdId;
pub use cmd::PicobootError;
pub use cmd::TargetID;
pub use usb::PicobootConnection;
Modules§
Constants§
- FLASH_
END_ RP2040 - RP2040 memory address for the end of flash storage
- FLASH_
END_ RP2350 - RP2350 memory address for the end of flash storage
- FLASH_
START - RP MCU memory address for the start of flash storage
- PAGE_
SIZE - RP MCU flash page size (for writing)
- PICOBOOT_
MAGIC - RP MCU magic number for USB interfacing
- PICOBOOT_
PID_ RP2040 - RP2040 USB Product ID
- PICOBOOT_
PID_ RP2350 - RP2350 USB Product ID
- PICOBOOT_
VID - RP USB Vendor ID
- ROM_
END_ RP2040 - RP2040 memory address for the end of ROM storage
- ROM_
END_ RP2350 - RP2350 memory address for the end of ROM storage
- ROM_
START - RP MCU memory address for the start of ROM storage
- SECTOR_
SIZE - RP MCU flash sector size (for erasing)
- SRAM_
END_ RP2040 - RP2040 memory address for the end of SRAM storage
- SRAM_
END_ RP2350 - RP2350 memory address for the end of SRAM storage
- SRAM_
START_ RP2040 - RP MCU memory address for the start of SRAM storage
- STACK_
POINTER_ RP2040 - RP2040 memory address for the initial stack pointer
- STACK_
POINTER_ RP2350 - RP2350 memory address for the initial stack pointer
- UF2_
ABSOLUTE_ FAMILY_ ID - UF2_
DATA_ FAMILY_ ID - UF2_
FAMILY_ ID_ MAX - UF2_
RP2040_ FAMILY_ ID - UF2 Family ID for RP2040
- UF2_
RP2350_ ARM_ NS_ FAMILY_ ID - UF2 Family ID for RP2350 (ARM, Non-Secure TrustZone)
- UF2_
RP2350_ ARM_ S_ FAMILY_ ID - UF2 Family ID for RP2350 (ARM, Secure TrustZone)
- UF2_
RP2350_ RISCV_ FAMILY_ ID - UF2 Family ID for RP2350 (RISC-V)
- XIP_
SRAM_ END_ RP2040 - RP2040 memory address for the end of XIP (execute-in-place) SRAM storage
- XIP_
SRAM_ END_ RP2350 - RP2350 memory address for the end of XIP (execute-in-place) SRAM storage
- XIP_
SRAM_ START_ RP2040 - RP2040 memory address for the start of XIP (execute-in-place) SRAM storage
- XIP_
SRAM_ START_ RP2350 - RP2350 memory address for the start of XIP (execute-in-place) SRAM storage