When you press and hold the BOOTSEL button and connect your Pico to your computer, it mounts as a mass storage volume. You can then just drag and drop a UF2 file onto the board. Sometimes it is not convenient to keep unplugging the micro USB cable every time you want to upload a UF2 onto the Pico. Having a reset button on your Raspberry Pi Pico resolves this problem. This project will show you how to do just that!
As we’ll be building this on a breadboard, the first thing to do is to add some header pins to your Pico.
Now, rather than unplugging and replugging the USB cable when you want to load code:
If your board is in BOOTSEL mode and you want to restart code already loaded: