FLY-SHT36 V2 Bootloader (Katapult) Recovery
The FLY-SHT36 V2 is pre-flashed with Katapult from the factory. Do not re-flash the firmware on this page during normal use or Klipper firmware updates; this page is only for brick recovery after a corrupted bootloader or for explicitly needing to update Katapult.
Firmware Description
Katapult was formerly known as CanBoot, and both names may appear simultaneously in older tutorials or firmware names.
Katapult is a bootloader used to boot and update Klipper:
- Katapult itself cannot be used as a Klipper MCU; after flashing, you still need to write Klipper firmware that matches the hardware and communication method.
- Supported tool boards can enter Katapult by quickly double-pressing the
RESETbutton; after entering, there is usually a status light blinking. - CAN, RS232, and USB use independent Katapult firmware; you cannot simply modify file names or mix them directly.
- For CAN firmware, you must also select the correct bus speed, with common speeds being
500Kand1M.
- FLY-SHT36 V2 uses only CAN communication.
- This page provides Katapult firmware for both
500Kand1MCAN bus speeds. - FLY-SHT36 V2 comes in STM32F072, APM32F072, and STM32F103 MCU versions. Flashing methods cannot be mixed.
- STM32F072: Can be flashed via DFU on Windows, Linux, or FLYOS.
- APM32F072: Can only be flashed using DFUProgrammer on Windows.
- STM32F103: This page only supports online updates if the original Katapult can still communicate via CAN.
Both the firmware model and CAN bus speed must match the actual hardware, the host, and other CAN devices on the same bus.
Entering Bootloader Mode
This step applies only to the STM32F072 and APM32F072. STM32F103 online updates do not require entering USB DFU mode.
Before starting, completely shut down the printer and disconnect the power supply. Do not plug/unplug wiring, rearrange connector pinouts, or touch terminals while powered on.
The BOOT pad is indicated in the figure:
- Keep the toolboard completely powered off.
- Short the
BOOTpad with a jumper cap. - Connect the toolboard to a computer or host using a Type-C cable that supports data transfer.
- Remove the
BOOTjumper cap once the device is recognized.
Flashing the Firmware
- Windows
- Linux / FLYOS
- STM32F072
- APM32F072
Download the STM32F072 Katapult firmware:
.txt 或其他扩展名。- STM32CubeProgrammer
- DFU-AUTO
Before connecting or reconnecting the USB cable, completely turn off the printer and disconnect all other power supplies. Do not let the tool board be powered simultaneously through the printer power supply and the USB interface.
The USB interfaces on some computers may cause unstable flashing due to driver or signal compatibility issues. If the connection fails, try using a different USB interface on the computer or use a reliable-quality USB dock; when the error shown below appears, also check the USB connection and driver first.
- Download and install
SetupSTM32CubeProgrammerand the STM32 DFU driver from the auxiliary software download page. - Save the firmware downloaded on this page to a location on your computer that is easy to find.
Windows may hide file extensions. In File Explorer, check "File name extensions" to confirm that the firmware is still .bin or .hex, and do not change the file extension.
- Confirm that the device has entered DFU flashing mode according to the product tutorial, then connect it to the computer using a USB cable that supports data transfer.
- Open STM32CubeProgrammer, select USB mode, refresh the device list, and connect.
- If no error pop-up appears, the connection is successful.
- Click the download icon on the left, and check the flashing options as shown in the figure below.
- Click
Browseand select the firmware to be flashed.
- When flashing
.binfirmware, setStart addressto0x08000000; when using.hexfirmware, keep the address included in the file.
- Click
Start automatic modeto begin flashing.
- When the success prompt appears, the firmware flashing is complete.
Before connecting or reconnecting the USB cable, completely power off the printer and disconnect other power sources. Do not let the toolboard be powered simultaneously by both the printer power supply and the USB interface.
- Download and run FLY DFU-AUTO.
- If the "Driver Status" shows unavailable, click "Install Driver" to complete the WinUSB driver installation.
- Click "Browse" to select the
.binfirmware file to be flashed.
Windows may hide file extensions. In File Explorer, check "File name extensions" to confirm the firmware remains as .bin. Do not modify the file extension.
- Click "Start Flashing", monitor progress through the run log, and wait for the flashing process to complete.
Detailed Tutorial: FLY DFU-AUTO Download and Usage
Download the Katapult firmware for APM32F072:
.txt 或其他扩展名。Before connecting or reinserting the USB cable, please completely turn off the printer and disconnect other power supplies. Do not let the tool board be powered simultaneously through the printer power supply and the USB interface.
- Download and extract
DFUProgrammerfrom the Auxiliary Software Download Page. - Manually install the APM32 DFU driver included in the toolkit.
- Save the firmware downloaded on this page to a location on your computer that is easy to find.
Windows may hide file extensions. Please check "File name extensions" in File Explorer, confirm that the firmware is still .bin, and do not modify the file extension.
- Confirm that the device has entered DFU flashing mode according to the product tutorial, then connect it to the computer using a USB cable with data transfer capability.
- Open DFUProgrammer and select the device and firmware as shown in the figures below.
- Click "Start updating firmware" and wait for the progress to complete. After the success prompt appears, power off and restore the wiring according to the "Complete flashing" requirements on this page.
- STM32F072 (DFU)
- STM32F103 (CAN update)
- Linux
- FLYOS
- Install flashing tool.sudo apt updatesudo apt install dfu-util -y
- Confirm the device has entered DFU flashing mode.lsusb
If you can see 0483:df11, it means DFU flashing mode has been entered successfully.
Loading... - Pull/update firmware repository.git clone https://cnb.cool/3dmellow/FLY-Firmware ~/FLY-Firmwarecd ~/FLY-Firmware && git pull --ff-only
- Flash firmware.
FLY_SHT36V2_072_CANBOOT_500K.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_500K.binFLY_SHT36V2_072_CANBOOT_1M.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_1M.bin - If File downloaded successfully appears, flashing is successful.Loading...
- FLY host computer usually has dfu-util built-in, no need to install flashing tool again.
- Confirm the device has entered DFU flashing mode.lsusb
If you can see 0483:df11, it means DFU flashing mode has been entered successfully.
Loading... - Pull/update firmware repository.git clone https://cnb.cool/3dmellow/FLY-Firmware /data/FLY-Firmwareln -s /data/FLY-Firmware /root/FLY-Firmwarecd /data/FLY-Firmware && git pull --ff-only
- Flash firmware.
FLY_SHT36V2_072_CANBOOT_500K.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D /data/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_500K.binFLY_SHT36V2_072_CANBOOT_1M.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D /data/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_072_CANBOOT_1M.bin - If File downloaded successfully appears, flashing is successful.Loading...
This method updates the existing Katapult via CAN. Use it only if the toolboard can still enter Katapult and its CAN UUID can be queried; do not proceed if the bootloader is corrupted or CAN communication is unavailable.
- Pull or update the firmware repository.
- Linux
- FLYOS
cd ~
git clone https://cnb.cool/3dmellow/FLY-Firmware.git
If already downloaded, run:
git -C ~/FLY-Firmware pull --ff-only
git clone https://cnb.cool/3dmellow/FLY-Firmware.git /data/FLY-Firmware
ln -s /data/FLY-Firmware /root/FLY-Firmware
If already downloaded, run:
git -C /data/FLY-Firmware pull --ff-only
- Query the CAN UUID of the toolboard in Katapult mode:
~/klippy-env/bin/python ~/klipper/lib/katapult/flashtool.py -q
- Replace
<CAN_UUID>in the commands with your actual query result, then execute only ONE command based on your CAN bus speed:
CAN 500K:
~/klippy-env/bin/python ~/klipper/lib/katapult/flashtool.py -f ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_103_CANBOOT_500K.BIN -u <CAN_UUID>
CAN 1M:
~/klippy-env/bin/python ~/klipper/lib/katapult/flashtool.py -f ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_103_CANBOOT_1M.BIN -u <CAN_UUID>
If lib/katapult/flashtool.py is not available on older systems, use these compatible commands:
CAN 500K:
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_103_CANBOOT_500K.BIN -u <CAN_UUID>
CAN 1M:
~/klippy-env/bin/python ~/klipper/lib/canboot/flash_can.py -f ~/FLY-Firmware/ToolBoard/SHT36/FLY_SHT36V2_103_CANBOOT_1M.BIN -u <CAN_UUID>
Finishing the Flash
After flashing is complete, disconnect the toolboard's USB and external power before removing the BOOT jumper cap and restoring normal wiring. Do not plug or unplug the toolboard wiring while powered on.
After powering back on, the status LED will blink when Katapult starts normally: