Katapult Firmware
Katapult Firmware Description
tip
Katapult was originally named CanBoot, and later renamed to katapult.
- Katapult firmware is a type of bootloader that can be used in conjunction with Klipper. After burning the firmware using methods like DFU, you can use commands to update the firmware with one click.
- Advantage: Quickly double-clicking the reset button or quickly cutting power twice will enter the Katapult firmware, at which point there will be an LED flashing on the mainboard.
- Katapult firmware can only be used to burn firmware and cannot connect to Klipper!!!
- Katapult firmware supports three connection methods for connecting to the host computer, and the firmwares for these three methods are independent of each other.
- CAN connection
- Advantage: After compiling the KLIPPER firmware, you can directly update the firmware using a command, and it has strong interference resistance.
- Disadvantage: You need to know the firmware compilation rate in advance.
- RS232 connection
- Advantage: After compiling the KLIPPER firmware, you can update the firmware using a command, and it has very strong interference resistance.
- Disadvantage: You cannot use a command to update the firmware with one click; you need to manually enter the Katapult firmware.
- USB connection
- Advantage: After compiling the KLIPPER firmware, you can directly update the firmware using a command.
- Disadvantage: A long data cable is prone to interference, which may lead to disconnection.
- CAN connection
tip
- D8 uses a USB connection
Entering Flash Mode
tip
The RST button is on the left, and the BOOT button is on the right
- There are two ways to enter flash mode
- First: With the tool board completely powered off, press and hold the BOOT button, then connect one end of a TYPE-C cable (capable of data transfer) to the main board and the other end to your device
- Second: After connecting one end of a TYPE-C cable (capable of data transfer) to the main board and the other end to your device, press and hold the BOOT button, then press the RST button, release the RST button first, and finally release the BOOT button
Loading...
Flashing the Firmware
- Windows Flash Guide
- Host Flash Guide
- D8 Katapult 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 firmware files needs to be flashed
- Below is the firmware flashing command
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/D/FLY_D8_H723.bin
-
If you see the content shown in the arrow in the image below
File downloaded successfully, the flashing was successfulLoading...
tip
After flashing, the main board needs to be completely powered off once.
Loading...