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

  1. Find the BOOT and RST button on the board:

  2. Press and hold the BOOT button

  3. Press and release the RST button

  4. 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.

  1. Open a new terminal session.
  2. 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.

  1. Connect the board to your computer via USB.
  2. Enter the board into bootloader mode. This will open RP2040’s mass storage folder on your computer.
  3. Download the latest flatsat-vx.x.x.x.uf2 file from the flatsat-ground-station repository.
  4. Drag and drop the flatsat-vx.x.x.x.uf2 file into RP2040’s mass storage folder. The mass storage folder will be closed once the firmware is uploaded correctly.