Katapult Firmware
Katapult Firmware Description
tip
Katapult was originally named CanBoot and was later renamed.
- Katapult firmware is a type of bootloader that can be used in conjunction with Klipper. After being flashed using methods like DFU, you can use commands to update the firmware in one click.
- Advantages: Double resetting or quickly cutting power twice will enter the Katapult firmware, and the pre-configured LED will flash; if not configured, it won't flash.
- The Katapult firmware can only be used for flashing firmware and cannot connect to Klipper!!!
- There are three ways to connect the Katapult firmware to the host machine:
- CAN connection
- Advantages: After compiling the KLIPPER firmware, you can directly update the firmware using commands.
- Disadvantages: You need to know the firmware compilation rate in advance.
- RS232 connection
- Advantages: After compiling the KLIPPER firmware, you can update the firmware using commands.
- Disadvantages: You cannot update the firmware in one click using commands; you need to manually enter the Katapult firmware.
- USB connection
- Advantages: After compiling the KLIPPER firmware, you can directly update the firmware using commands.
- CAN connection
tip
- D7 uses USB connection
- D7 has pre-flashed Katapult firmware if it was manufactured after September 1, 2024
Entering Flash Mode
tip
Left is the BOOT button
, right is the RESET button
- There are two ways to enter flash mode
- First method: With the motherboard completely powered off, press and hold the BOOT button while connecting the data transfer cable to the motherboard and your device
- Second method: Connect the data transfer cable to the motherboard and your device, then press and hold the BOOT button and the RST button, release the RST button first, then release the BOOT button
Flashing Firmware
- Windows Flash Tutorial
- Host Machine Flash Tutorial
- D7's Katapult firmware Click to automatically download the firmware
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
- 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
- Flash Firmware
tip
Only one firmware 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_D7.bin
-
When you see the content shown in the arrow below
File downloaded successfully
, the flashing is successful
tip
After flashing, the motherboard needs to be powered off completely.