MimiBoot-Mu source on GitHub

Before you flash

MimiBoot-Mu sits at the start of flash, so a bootloader that misbehaves can leave a board that doesn’t start anything. Every chip it supports has a way back that doesn’t depend on the bootloader: a debug probe, a ROM loader or an ISP programmer. Have that way back ready before you flash, especially on boards nobody has tried yet.

How far each board has been tested is on the feature matrix. In short: earlier builds ran on real RP2040 and RP2350 boards; everything else has run in an emulator, against a register model, or has only been compiled.

No STM32 flash write has ever run on a real chip. QEMU has no STM32 flash controller, so the erase and program drivers (F0/F1/F3, F2/F4/F7, L4/G0/G4) are written from the reference manuals and have never executed. Uploads, the boot log, confirming an image and the rollback floors all write flash. The boot path itself (reading flash, checking images, starting the app) has run in QEMU on the F405 and F100.

Until your board has been tried:

If something goes wrong: connect under reset, mass-erase, flash a known-good image (or your old firmware) and report what happened. A board stuck in the MimiBoot menu is fine: the menu is the bootloader working, and the console can upload a fixed image.

nRF51 and nRF52

nRF51 builds ran in QEMU, including uploads written through the real flash driver. On nRF52 the UARTE console, the crystal start, APPROTECT, the watchdog, GPIO port 1 and VTOR have never run.

SAM D21 and D51

The flash driver ran against a model of each NVM controller; clocks, SERCOM, PORT, the watchdog and USB never ran on a chip.

RP2040 and RP2350

Earlier builds ran on real Pico and RP2350 boards; this configurable version has not been flashed yet.

AVR (Arduino Uno, Nano, Mega and friends)

The Uno build ran in simavr with the real avrdude. The other AVRs only compile, and the large-flash paths (RAMPZ/ELPM on the 1284P and 2560) never ran.

For every board