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
- SHT36 V2 can only use CAN connection
- CAN firmware provided here has 500K and 1M baud rates
Notes
- APMF072 can only use a computer for firmware flashing
- STM32F103 can only use the host software to update firmware
Enter Flash Mode
tip
The circled area shows the BOOT switch
- STM32F103 does NOT require this step!!!!!!
- With the motherboard completely powered off, press the BOOT button and connect the motherboard to your device using a TYPE-C cable that supports data transfer

Flash Firmware
- STM32F072 Windows Flash Tutorial
- STM32F072 Host Software Flash Tutorial
- APM32F072 Windows Flash Tutorial
- STM32F103 Klipper Firmware Update Tutorial
- Katapult firmware for SHT36_V2
- Click the download link below
-
Loading...
Notice
To ensure successful STM32 firmware flashing, please pay attention to the following:
- Some computers' USB ports may cause unstable flashing due to driver or signal compatibility issues. We recommend that you try connecting using a different USB port.
- If changing ports doesn't help, an effective solution is to connect via an external USB hub, which often improves compatibility.
- When the flashing software displays the error message below, try using a hub first. If the problem persists, please check or use the host computer to flash

- Flashing tool Download link
- 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, then refresh and connect

- If no error pop-up appears, the connection is successful.
Warning
If the following message appears, it indicates a computer or software issue. Please use the host computer to flash: Host Computer Flashing Guide

- Click the download icon on the left and select the options below

- Click
Browseat the arrow's location, then select the firmware you need to flash
- Select
Start addressand enter0x08000000- Note: If the firmware is in
HEXformat, skip this step!!

- Note: If the firmware is in
- Click
Start automatic modebelow to begin flashing the firmware
- The appearance of the message below indicates that the firmware has been successfully flashed

- 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.

- 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 Firmware
tip
Only one firmware needs to be flashed
- Below are the commands for flashing firmware with 500K CAN baud rate
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/developer/SHT36/FLY_SHT36V2_072_500K.BIN
- Below are the commands for flashing firmware with 1M CAN baud rate
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/developer/SHT36/FLY_SHT36V2_072_1M.BIN
-
If the flashing is successful, you will see the text
File downloaded successfullyas shown in the figure below:
tip
After flashing, you need to completely power off the motherboard once.
- Katapult firmware for SHT36_V2
- Click the download link below
-
Loading...
- Burning tool Download link
- Need to download
DFUProgrammer - Copy the previously compiled firmware (klipper.bin) or pre-compiled
Katapult firmwareto any directory on your computer - Connect the motherboard to your computer using a Type-C data cable, ensuring it has already entered DFU programming mode
- Open DFUProgrammer and make the selections as shown below


- Click Start to update the firmware and wait a moment. Once programming is complete, you can unplug the Type-C cable and the jumper cap
Search for Devices
- Now that you have successfully logged into the host computer, you can enter
lsusbto search for devices. You may encounter one of the following situations:- If entering
lsusbprompts that thelscommand is not found, you can install the required utility by entering the following command:sudo apt-get install usbutils - If there is no response after entering
lsusb, this is a system issue and cannot be resolved here. You will need to change the system or use a known working system. - If information like that shown in the image below appears, please note that this is only a reference. You only need to confirm that
1d50:606fappears:
- If entering
1d50:606fis the device you will use in this instance.- If multiple
1d50:606fdevices appear, one must be excluded, as multiple entries may affect subsequent flashing and firmware connection. For example, withFLY MINI PAD, it is recommended to use the onboardUTOCand avoid using other CAN bridges. - If the device does not appear, please check whether the data cable is properly connected and whether the correct firmware has been flashed.
Note
You can proceed to search for the CAN ID only when 1d50:606f appears.
- Pull pre-compiled firmware
- All firmware here is pre-compiled
- Please note the host must have internet access to install
- The following command needs to be executed on the host to download the firmware package
cd && git clone https://github.com/FengHua741/FLY_Katapult.git
- If you have already downloaded the firmware package, we recommend updating the package before proceeding with the remaining steps
cd ~/FLY_Katapult && git pull
- This method directly updates the existing Katapult firmware on the toolboard through CAN
- You need to replace
<Toolboard ID>with the CAN ID of the STM32F103 controller on the toolboard - Below is the firmware update command for the 103 version with 1M CAN baud rate
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY_Katapult/developer/SHT36/FLY_SHT36V2_103_1M.BIN -u <Toolboard ID>
- Below is the firmware update command for the 072 version with 500K CAN baud rate
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY_Katapult/developer/SHT36/FLY_SHT36V2_103_500K.BIN -u <Toolboard ID>
Confirm Firmware is Running
- If the firmware starts successfully, the LED will begin to blink

Loading...