Raspberry Pi flash nuke to reset the flash to all 0s for all supported boards.
It compiles the code from pico-examples
repository for every supported board.
This is a necessary step if you want to test multiple programs that may write into flash memory.
For example, when you switch from Pico HSM to Pico OpenPGP (or viceversa), you need first to wipe out your Pico.
- Download the UF2 file corresponding to the version of your board from Release section
- Put your pico into uf2 loading (BOOTSEL+Reset).
- Copy the
.uf2
file to the mounted device (usuallyRP2-RPI
). - Wait until the led blinks 3 times.
- After completion, pico will enter again into uf2 loading.
- Load your desired program (the other
.uf2
file).