2. How to update FlatSat - ElectronicCats/FlatSat GitHub Wiki
How to update FlatSat
Bootloader mode
Bootloader mode is useful when the board is not working properly, and the firmware must be flashed.
Method 1: Manually setting the board in bootloader mode
-
Find the BOOT and RST button on the board:
-
Press and hold the BOOT button
-
Press and release the RST button
-
Release the BOOT button
[!Note] You can also set the board in bootloader mode by pressing and holding the BOOT button while plugging it to the computer.
Method 2: Using FlatSat CLI
If you have already installed FlatSat CLI then do the following.
- Open a new terminal session.
- Run the command:
flatsat reboot
Flashing Pre-Compiled Firmware
If you do not need to modify the source code and want to get your FlatSat board running immediately, you can flash the pre-compiled production binary.
- Connect the board to your computer via USB.
- Enter the board into bootloader mode. This will open RP2040’s mass storage folder on your computer.
- Download the latest
flatsat-vx.x.x.x.uf2file from the flatsat-ground-station repository. - Drag and drop the
flatsat-vx.x.x.x.uf2file into RP2040’s mass storage folder. The mass storage folder will be closed once the firmware is uploaded correctly.