Katapult Firmware
Katapult Firmware Description
Tip
Katapult was originally named CanBoot and later renamed to katapult.
- The Katapult firmware is a type of bootloader that can be used together with Klipper. After flashing via DFU or other methods, firmware can be updated with a single command.
- Advantages: Quickly double-click the reset button or power cycle twice to enter the Katapult firmware, at which point the LED on the motherboard will blink.
- Katapult firmware can only be used to flash firmware and cannot connect to Klipper!!!
- Katapult firmware supports three ways to connect to the host computer, and the firmware for each method is independent.
- CAN connection
- Advantages: After compiling the Klipper firmware, it can be updated directly using commands, with strong anti-interference capability.
- Disadvantages: The firmware compilation speed needs to be known in advance.
- RS232 connection
- Advantages: After compiling the Klipper firmware, it can be updated using commands, with very strong anti-interference capability.
- Disadvantages: Firmware cannot be updated with a single command; manual entry into Katapult firmware is required.
- USB connection
- Advantages: After compiling the Klipper firmware, it can be updated directly using commands.
- Disadvantages: Long data cables are prone to interference, which may cause disconnection.
- CAN connection
Tip
- SHT36 V2 can only use CAN connection
- CAN firmware is available in 500K and 1M baud rates
Notes
- APMF072 can only be flashed using a computer
- STM32F103 can only be updated using the host machine
Entering Flash Mode
Tip
The circled item is BOOT
- STM32F103 does not require this step!!!!
- With the motherboard completely powered off, short the BOOT pins, then connect one end of a TYPE-C cable with data transfer capability to the motherboard and the other end to your device
Loading...
Flashing Firmware
- STM32F072 Windows Flashing Tutorial
- STM32F072 Host Machine Flashing Tutorial
- APM32F072 Windows Flashing Tutorial
- STM32F103 Klipper Update Firmware Tutorial
- SHT36_V2 Katapult firmware
- You can download the firmware from the following link:
- FLY_SHT36V2_103_CANBOOT_500K.BIN
- FLY_SHT36V2_103_CANBOOT_1M.BIN
- FLY_SHT36V2_072_CANBOOT_500K.bin
- FLY_SHT36V2_072_CANBOOT_1M.bin
Windows 默认可能隐藏文件扩展名。下载后请确认文件扩展名未被修改,不要保存成
.txt 或其他扩展名。- The firmware is located at
FLY-Firmware/ToolBoard/SHT36
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...
- Install the flashing tool
- This step is not required for FLY host boards.
- If installation is needed, ensure the host board is connected to the internet.
- If the flashing tool has already been installed, you can skip this step.
sudo apt update
sudo apt install dfu-util -y
- Check the 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.
- On some system versions, the device name may differ. As long as
0483:df11appears, it indicates that flashing mode has been successfully entered.
Loading...
- Obtain the precompiled firmware
- Please download the firmware for the corresponding model from the Windows Flashing Tutorial tab at the top of this page, or from the "Firmware Flashing / Firmware Update" page of the corresponding product.
- Flashing Firmware
Tip
Only one of the firmware files needs to be flashed
- The command below is for flashing the 500K CAN baud rate firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_500K.bin
- The command below is for flashing the 1M CAN baud rate firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_1M.bin
-
When the content shown below
File downloaded successfullyappears, the flashing was successfulLoading...
Tip
After flashing is complete, the motherboard must be fully powered off once.
- SHT36_V2 Katapult firmware
- You can download the firmware from the following link:
- FLY_SHT36V2_103_CANBOOT_500K.BIN
- FLY_SHT36V2_103_CANBOOT_1M.BIN
- FLY_SHT36V2_072_CANBOOT_500K.bin
- FLY_SHT36V2_072_CANBOOT_1M.bin
Windows 默认可能隐藏文件扩展名。下载后请确认文件扩展名未被修改,不要保存成
.txt 或其他扩展名。- The firmware is located at
FLY-Firmware/ToolBoard/SHT36
- Download the flashing tool: Download Link
- Install the DFU driver: Download and extract
DFUProgrammer. The package includes the DFU driver for APM32. Please install this driver manually. - Prepare the firmware: Copy the previously compiled firmware file to any directory on your computer (e.g., the desktop) for easy selection later.
- Enter DFU mode: Connect the mainboard to the computer using a Type-C cable. Ensure the mainboard is in DFU flashing mode (usually set via a jumper cap; for specific methods, refer to the mainboard's DFU entry instructions).
- Run the flashing tool: Open DFUProgrammer and select and configure as shown in the images below:
Loading...Loading...
- Start flashing: Click the "Start Updating Firmware" button and wait for the progress bar to complete. Once the flashing is successful, you can disconnect the Type-C cable and remove the jumper cap.
- Pull the pre-compiled firmware
- All firmware here is pre-compiled
- Note that the host machine must be connected to the internet to install
- Execute the following command on the host machine to download the firmware package
cd && git clone https://cnb.cool/3dmellow/FLY-Firmware.git
- If you have already downloaded the firmware package, it is recommended to update it before proceeding with the remaining steps
cd ~/FLY-Firmware && git pull
- This method updates the existing Katapult firmware on the toolboard directly via CAN
- Replace
<Toolboard ID>with the CAN ID of the toolboard using the STM32F103 microcontroller
Version Notes
Select the correct command based on your system version:
-
FlyOS-FAST 1.3.8 and above or systems where Klipper was updated after April 9, 2026:
-
103 version 1M CAN baud rate:
~/klippy-env/bin/python ~/klipper/lib/katapult/flashtool.py -f ~/FLY-Firmware/developer/SHT36/FLY_SHT36V2_103_1M.BIN -u <Toolboard ID>
- 072 version 500K CAN baud rate:
~/klippy-env/bin/python ~/klipper/lib/katapult/flashtool.py -f ~/FLY-Firmware/developer/SHT36/FLY_SHT36V2_103_500K.BIN -u <Toolboard ID>
-
Older system versions (before FAST 1.3.8 or without Klipper updated before April 9, 2026):
-
103 version 1M CAN baud rate:
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY-Firmware/developer/SHT36/FLY_SHT36V2_103_1M.BIN -u <Toolboard ID>
- 072 version 500K CAN baud rate:
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY-Firmware/developer/SHT36/FLY_SHT36V2_103_500K.BIN -u <Toolboard ID>
Verify Firmware Startup
- If the firmware has started successfully, the LED will begin to blink
Loading...
Loading...