Build Serprog Pico
Install Dependencies
Install the required dpeendencies
Build serprog firmware from source
To build the pico-serprog
firmware from source, navigate to your lbmk folder and run:
This command will automatically compile the firmware for the Raspberry Pi Pico (it will take some time). Once the build is complete, the firmware files will be located in:
bin/serprog_pico/serprog_pico.uf2
bin/serprog_pico/serprog_pico_w.uf2
Files with "pico2" in the name are specifically for the Pico 2, but they are also compatible.
Connect the Pico to PC
Connect the USB cable to your laptop
press and hold the BOOTSEL button on your Pico while you plug it in (this forces it into the bootloader mode)
The Pico will be detected as USB flash drive
Copy the Firmware
Drag your
serprog_pico.uf2
into your Pico.Your Pico will disconnect, that means it is now ready and can be unplugged.
Type the following command
Now plug your Raspberry Pico again and you should get the following output
Please ensure you take note of the serial port designation (in this instance, ttyACM0
) to which your device is connected. This step is crucial as we'll need to verify the readiness of the device for usage following the installation of flashprog.
Now you can unplug the Raspberry Pico
If you want to change the firwmare in the future, you need to press the BOOTSEL button on the board while you plug it in.
Last updated