BL firmware
tip
- Please note that the
bootloader
has already been pre-flashed at the factory and does not need to be re-flashed.
Entering programming mode
- There are two methods to enter programming mode.
- The first method: With the motherboard completely powered off, short the BOOT and BOOT1 pins and connect the data transfer cable to the motherboard and your device.
- The second method: Connect the data transfer cable to the motherboard and your device, then short the BOOT and BOOT1 pins and press the RST button, then release the RST button and finally disconnect the shorted BOOT jumper.
Flashing firmware
- Windows flashing tutorial
- Upper device flashing tutorial
-
The bootloader firmware for Gemini
click to automatically download the firmware -
Set the DIP switches
3
,4
to the right to connect the lower device to the upper device via the built-in USB. -
Set the DIP switches
1
,2
to the left, otherwise it will affect the connection between the lower and upper devices.
Notice
- System compatibility issues, please use the computer's
USB2.0
for burning - If it still cannot be burned, please use an upper machine for burning
- Burning tool Download link
- Download
SetupSTM32CubeProgrammer
andSTM32 DFU driver
- Copy the compiled firmware (klipper.bin) or precompiled
Katapult firmware
to any directory on your computer - Connect the motherboard to the computer using a Type-C data cable, ensuring that it has already entered DFU burning mode
- In STM32CubeProgrammer, select USB mode and refresh to connect
- If no error pop-up appears, the connection is successful
- Click the download icon on the left and select several options below
- Click the arrow point to
Browse
, then choose the firmware you need to burn - Select
Start address
and enter0x08000000
- Click
Start automatic mode
below to start burning the firmware - The following prompt indicates that the firmware burning is complete
- Set the DIP switches
1
,2
to the right to connect the lower device to the upper device via the built-in USB. - Set the DIP switches
3
,4
to the left, otherwise it will affect the connection between the lower and upper devices. - After setting the DIP switches as described below, the USB port below will be occupied by the lower device, so do not connect any other devices.
- Install the programming tool
- No need to install the programming tool for the FLY upper computer.
- If you need to install it, please note: The upper computer needs to be connected to the internet to install successfully.
- If already installed, no need to install again.
sudo apt update
sudo apt install dfu-util -y
- Execute the following command to check if the connection is successful.
lsusb
- If there is no DFU device, please try to re-enter programming mode.
- Due to system version issues, other names may be displayed. If
0483:df11
is shown, it indicates that the programming mode has been entered.
- Pull the pre-compiled firmware
- These are all pre-compiled firmwares.
- Please note: The upper computer needs to be connected to the internet to install.
- The upper computer needs to execute the command below to download the firmware package.
cd && git clone https://github.com/FengHua741/FLY_Katapult.git
- If the firmware package has already been downloaded, it is recommended to update the firmware package before proceeding with the remaining steps.
cd ~/FLY_Katapult && git pull
- Flashing firmware
tip
Only one firmware needs to be flashed.
- Below is the command to flash the bootloader firmware.
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/Gemini/GeminiV3.bin
- When you see the content shown by the arrow in the image below
File downloaded successfully
, the flashing is successful.
warning
Ignore the error message after the red arrow!
tip
After flashing is complete, power off the motherboard completely.