Flashprog Setup

Get Flashprog ready

To install Flashprog, follow these steps

Install the dependencies:

sudo apt-get install libftdi1-dev libgpiod-dev libjaylink-dev

Into ~/lbmk directory, execute the following command to update trees by installing Flashprog directory:

./update trees -b flashprog

Navigate into the directory and install Flashprog

cd lbmk/src/flashprog
sudo make install

Once installation is completed, Flashprog will be accessible system-wide by typing flashprog on your terminal

To verify if your Raspberry Pi Pico is ready for use, execute the following command:

sudo flashprog -p serprog:dev=/dev/ttyACM0,spispeed=16M

If the output consists of several lines beginning with serprog: ... and concludes with

No EEPROM/flash device found
Note: flashrom can never write if the flash chip isn't found automatically

It indicates that the Raspberry Pi Pico is in proper working condition and ready to be utilized.

Last updated