BL firmware
tip
- Please note that the
bootloaderhas already been pre-flashed, no need to flash again
Enter programming mode
- There are two ways to enter programming mode
- First method: With the main board completely powered off, short-circuit BOOT and BOOT1, then connect one end of a data transfer cable to the main board and the other end to your device
- Second method: After connecting one end of a data transfer cable to the main board and the other end to your device, short-circuit BOOT and BOOT1, then press the RST key, release the RST key, and finally disconnect the BOOT jumper

Flashing firmware
- Windows flashing tutorial
- Upper machine flashing tutorial
-
Gemini bootloader firmware
- Click the download link below
-
Loading...
-
Set dip switches
3,4to the right, connect the lower machine and upper machine via built-in USB -
Set dip switches
1,2to the left, otherwise it will affect the connection between the lower machine and upper machine
Notice
To ensure successful STM32 firmware flashing, please pay attention to the following:
- Some computers' USB ports may cause unstable flashing due to driver or signal compatibility issues. We recommend that you try connecting using a different USB port.
- If changing ports doesn't help, an effective solution is to connect via an external USB hub, which often improves compatibility.
- When the flashing software displays the error message below, try using a hub first. If the problem persists, please check or use the host computer to flash

- Flashing tool Download link
- Download
SetupSTM32CubeProgrammerandSTM32 DFU driver - Download the firmware to any directory on your computer
- Connect the motherboard to the computer using a Type-C cable, ensuring it has entered
dfuflashing mode - In STM32CubeProgrammer, select USB mode, then refresh and connect

- If no error pop-up appears, the connection is successful.
Warning
If the following message appears, it indicates a computer or software issue. Please use the host computer to flash: Host Computer Flashing Guide

- Click the download icon on the left and select the options below

- Click
Browseat the arrow's location, then select the firmware you need to flash
- Select
Start addressand enter0x08000000- Note: If the firmware is in
HEXformat, skip this step!!

- Note: If the firmware is in
- Click
Start automatic modebelow to begin flashing the firmware
- The appearance of the message below indicates that the firmware has been successfully flashed

- Set dip switches
1,2to the right, connect the lower machine and upper machine via built-in USB - Set dip switches
3,4to the left, otherwise it will affect the connection between the lower machine and upper machine
- After setting the dip switches as described, the USB port below will be occupied by the lower machine, please do not connect other devices

- Install the flashing tool
- This step is not required for FLY host software.
- If installation is needed, ensure the host computer is connected to the internet.
- If the flashing tool has already been installed, you may skip this step.
sudo apt update
sudo apt install dfu-util -y
- Check device connection status
- Run the following command to confirm whether the device is successfully connected:
lsusb
- If the DFU device is not recognized, try re-entering flashing mode.
- In some system versions, the device name might differ; as long as
0483:df11appears, it indicates the device has successfully entered flashing mode.

- Obtain the pre-compiled firmware
- Below are pre-compiled firmware files. Please choose the corresponding command based on your system type to download (ensure the host computer can access the internet). If download fails due to network issues, please contact the after-sales group administrator for assistance.
- FlyOS-Armbian or Standard System
- FlyOS-FAST System
cd && git clone https://github.com/FengHua741/FLY_Katapult.git
git clone https://github.com/FengHua741/FLY_Katapult.git /data/FLY_Katapult
ln -s /data/FLY_Katapult /root/FLY_Katapult
- If you have previously downloaded the firmware package, it is recommended to update to the latest version before proceeding:
cd ~/FLY_Katapult && git pull
- Flashing firmware
tip
Only one of the firmware needs to be flashed
- The following is the bootloader firmware writing command
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/Gemini/GeminiV3.bin
- If the content shown in the arrow in the following figure appears
File downloaded successfully, the flashing is successful
warning
Ignore the error after the line indicated by the red arrow!

tip
After flashing, the main board needs to be completely powered off once.
Loading...