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
Loading...
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 machineLoading...
Important Notice
To ensure successful STM32 programming, please pay attention to the following:
- Some computer USB ports may experience unstable programming due to driver or signal compatibility issues. It is recommended to try connecting to a different USB port.
- If changing ports does not help, an effective solution is to connect via an external USB hub, which often improves compatibility.
- When the programming software reports the error message shown below, also try using a hub first. If the issue persists, please check or use the host computer for programming.
Loading...
- Programming Tool Download Link
- Download
SetupSTM32CubeProgrammerand theSTM32 DFU Driver. - Download the firmware to any directory on your computer.
- Connect the mainboard to the computer using a Type-C cable. Ensure it has entered
DFUprogramming mode. - In STM32CubeProgrammer, select USB mode, refresh, and connect.
Loading...
- If no error pop-up appears, the connection is successful.
Loading...
- Click the download icon on the left and select the options shown below.
Loading...
- Click
Browseas indicated by the arrow, then select the firmware you need to program.Loading... - For
Start address, enter0x08000000.- Note: If the firmware is in
HEXformat, please skip this step!!
Loading... - Note: If the firmware is in
- Click
Start automatic modebelow to begin programming the firmware.Loading... - The prompt below indicates that the firmware programming is complete.
Loading...
- 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 machineLoading... - After setting the dip switches as described, the USB port below will be occupied by the lower machine, please do not connect other devices
Loading...
- 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.
Loading...
- 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!
Loading...
tip
After flashing, the main board needs to be completely powered off once.
Loading...