1.2 Set up Your Pico¶
Hold down the BOOTSEL button and connect the Pico to your computer with a Micro USB cable.
Once your Pico is mounted as a Mass Storage Device called RPI-RP2, release the BOOTSEL button.
When you open the drive, you’ll see two files: INDEX.HTM and INFO_UF2.TXT. Open INDEX.HTM in your browser by double-clicking it.
INDEX.HTM : This is a welcome page that tells you everything about your Pico.
INFO_UF2.TXT : Contains the version of the bootloader it’s currently running.
When the browser opens, click MicroPython.
Please scroll down to the “Drag-and-Drop MicroPython” section and then click the “Micropython UF2” link to download MicroPython firmware.
Go to the Downloads folder and find the file you just downloaded - it should be called ‘rp2_pico_xxxx.uf2’, then drag it to the RPI-RP2 storage drive. The Pico will reboot and disappear from the File Manager.
Please ignore the warning that a drive was removed without being ejected, that’s supposed to happen!
As soon as you dragged the MicroPython firmware file onto your Pico, the firmware was flashed into its internal storage. The Pico then switches out of the special mode you put it in with the ‘BOOTSEL’ button, flashes the new firmware, and then loads it (meaning your Pico is now running MicroPython).
Congratulations: your Raspberry Pi Pico is now ready to run MicroPython!