BL Firmware
Tip
- Please note that the
bootloaderis pre-flashed at the factory, no need to flash again.
Entering Flash Mode
- There are two methods to enter flash mode:
- Method 1: With the motherboard completely powered off, short BOOT and BOOT1, then connect one end of a data cable (with data transfer capability) to the motherboard and the other end to your device.
- Method 2: After connecting one end of a data cable to the motherboard and the other end to your device, short BOOT and BOOT1, press the RST button, release the RST button, and finally disconnect the short on the BOOT jumper.
Loading...
Flashing Firmware
- Windows Flashing Tutorial
- Host Flashing Tutorial
- Gemini bootloader firmware
- You can obtain the firmware via the following link:
- Download Firmware Package - Direct download of the latest firmware archive
- Repository Address - Access the firmware repository
- The firmware is located at:
FLY-Firmware/MainBoard/Gemini
- Set DIP switches
3and4to the right to connect the MCU and host via built-in USB. - Set DIP switches
1and2to the left, otherwise it will affect the connection between the MCU and the host.Loading...
Notice
To ensure successful STM32 flashing, please note the following:
- The USB port on some computers may cause unstable flashing due to driver or signal compatibility issues. It is recommended to try a different USB port for connection.
- If changing ports does not work, an effective solution is to connect via an external USB hub, which often improves compatibility.
- When the flashing software reports the error shown below, please also prioritize trying a USB hub. If the issue persists, check or use the host computer for flashing.
Loading...
- Flashing tool Download Link
- You need to 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, refresh, and connect
Loading...
- If no error popup appears, the connection is successful.
Loading...
- Click the download icon on the left and check the following options
Loading...
- Click
Browseas indicated by the arrow, then select the firmware you need to flashLoading... - Set
Start addressto0x08000000- Note: If the firmware is in
HEXformat, please skip this step!!
Loading... - Note: If the firmware is in
- Click
Start automatic modebelow to begin flashing the firmwareLoading... - The following prompt indicates that the firmware flashing is complete
Loading...
- Set DIP switches
1and2to the right to connect the MCU and host via built-in USB. - Set DIP switches
3and4to the left, otherwise it will affect the connection between the MCU and the host.Loading... - After setting the DIP switches according to this method, the lower USB port will be occupied by the MCU. Please do not connect other devices.
Loading...
- Install the Flashing Tool
- This step is not required for FLY host computers.
- If installation is needed, ensure the host computer is connected to the internet.
- If the flashing tool has already been installed, this step can be skipped.
sudo apt update
sudo apt install dfu-util -y
- Check Device Connection Status
- Execute 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 may differ. As long as
0483:df11appears, it indicates successful entry into flashing mode.
Loading...
- Obtain Precompiled Firmware
-
Below are the precompiled firmware files. Please select the corresponding command to download based on your system type (ensure the host computer has internet access).
-
For standard systems:
cd && git clone https://cnb.cool/3dmellow/FLY-Firmware.git -
For FLY host computers:
git clone https://cnb.cool/3dmellow/FLY-Firmware.git /data/FLY-Firmwareln -s /data/FLY-Firmware /root/FLY-Firmware -
If the firmware package has already been downloaded, it is recommended to update it to the latest version before proceeding:
cd ~/FLY-Firmware && git pull
- The previous repository is no longer maintained. If you need to delete it, execute:
rm -rf ~/FLY_Katapult /root/FLY_Katapult
- Flash firmware
Tip
Only one of the firmware files needs to be flashed.
- Below is the bootloader firmware flash command:
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/MainBoard/Gemini/GeminiV3.bin
- If the message
File downloaded successfullyappears as shown in the image below, the flashing was successful.
Caution
Please ignore any errors indicated by the red arrow in the line below!!!
Loading...
Tip
After flashing is complete, completely power off the motherboard once.
Loading...