Bootloader Firmware
Entering Flash Mode
tip
The button on the right is the BOOT button, and the one on the left is the RESET button.
- There are two ways to enter flash mode:
- First: With the board completely powered off, hold down the BOOT button and then connect one end of a data-capable Type-C cable to the mainboard and the other end to your device.
- Second: After connecting one end of a data-capable Type-C cable to the mainboard and the other end to your device, hold down the BOOT button, then press and release the RST button, and finally release the BOOT button.
Loading...
Flashing the Firmware
- Windows Flashing Guide
- Host Flashing Guide
- CDV's Bootloader Firmware
- Click the download link below
-
Loading...
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...
- 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
- Flash the firmware
tip
Only one of the following firmware files needs to be flashed.
- Below are the commands for flashing the firmware:
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/CDY/CDYV3_V2.bin
- If you see the message
File downloaded successfullyas indicated in the image below, the flashing was successful.Loading...
tip
After flashing, you need to completely power off the mainboard once.
Loading...