Raspberry Pi Pico / RP2040 / RP2350¶
On the Pico family, MicroPython is not loaded via serial bootloader, but via USB storage in BOOTSEL mode.
Procedure¶
- Hold
BOOTSELand connect the board to USB. - The
RPI-RP2disk will appear on the computer. - In the installer, download the correct
.uf2file for the selected board. - Copy
.uf2to the attached disk. - The board will restart itself after copying.
- Continue to upload libraries in the installer.
Tips¶
- The same principle applies to Pico, Pico W, Pico 2 and other RP2040/RP2350 variants.
- When the
RPI-RP2drive does not show up, the problem is thatBOOTSELwas not held when connected. - Always perform a reset after flashing and only then upload libraries.
What is copied after installation¶
The installer will add boot.py, main.py and libraries according to instalace_new/rp2/files.lst after the reset.