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
- SHT36/42 supports CAN
- Only CAN firmware is provided here at speeds of 500K and 1M
Enter Programming Mode
tip
The circled part is the BOOT button
- With the motherboard completely powered off, short-circuit the BOOT button and then connect one end of the data transfer cable to the motherboard and the other end to your device.
Flash Firmware
- STM32F072 Windows Flash Tutorial
- STM32F072 Uploader Flash Tutorial
- SHT36 Katapult firmware Click to download firmware automatically
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 command to flash the 500K CAN speed firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/developer/SHT36/FLY_SHT36_072_500K.BIN
-
Below is the command to flash the 1M CAN speed firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/developer/SHT36/FLY_SHT36_072_1M.BIN
-
When you see the content as shown in the arrow below
File downloaded successfully
, the flashing is successful.
tip
After flashing, the motherboard needs to be powered off completely.