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
- Three types of MMU are supported
- Only CAN firmware and USB firmware are provided here
Entering Programming Mode
tip
The button above is the RESET button
, and the button below is the BOOT button
.
- There are two methods to enter programming mode
- Method one: Under the condition that the main board is completely powered off, hold down the BOOT button and then connect the data transfer cable to the main board and your device.
- Method two: After connecting the data transfer cable to the main board and your device, hold down the BOOT button and then press the RST button, release the RST button first, and finally release the BOOT button
Flashing Firmware
- Windows Flash Tutorial
- Host Machine Flash Tutorial
- Katapult firmware for MMU 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
- Flashing Firmware
tip
You only need to flash one firmware.
-
Below is the flashing command for the 500K CAN rate firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/MMU/FLY_MMU_CANBOOT_CAN_500K.bin
-
Below is the flashing command for the 1M CAN rate firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/MMU/FLY_MMU_CANBOOT_CAN_500K.bin
-
Below is the flashing command for the USB firmware
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/MMU/FLY_MMU_CANBOOT_USB.bin
-
When you see the content as shown in the arrow below
File downloaded successfully
, the flashing is successful.
tip
After flashing, the main board needs to be completely powered off once.
Confirming Firmware Startup
- If the firmware starts up normally, the LED will blink.