Skip to main content

Katapult Firmware

Katapult Firmware Notes

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.
Tip
  • SHT36 V2 can only be connected via CAN
  • CAN firmware is provided in 500K and 1M 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 area is BOOT

  • STM32F103 does not require this step!!!!
  • With the motherboard completely powered off, short BOOT, 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

  • Katapult firmware for SHT36_V2
  • You can obtain the firmware via the following link:
Please note

The zip archive must be extracted before use.

  • Alternatively, download the complete repository via git (ensure the host machine has internet access):

  • For general systems

    cd && git clone https://cnb.cool/3dmellow/FLY-Firmware.git
  • For FLY host machine

    git clone https://cnb.cool/3dmellow/FLY-Firmware.git /data/FLY-Firmware
    ln -s /data/FLY-Firmware /root/FLY-Firmware
  • If the firmware package has already been downloaded, it is recommended to update to the latest version before proceeding:

    cd ~/FLY-Firmware && git pull

  • The previous repository is no longer maintained. To delete it, execute:
    rm -rf ~/FLY_Katapult /root/FLY_Katapult
  • Firmware location:
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...
  1. Flashing tool Download Link
  2. You need to download SetupSTM32CubeProgrammer and STM32 DFU Driver
  3. Download the firmware to any directory on your computer
  4. Connect the motherboard to the computer using a Type-C cable, ensuring it has entered dfu flashing mode
  5. In STM32CubeProgrammer, select USB mode, refresh, and connect
    Loading...
  6. If no error popup appears, the connection is successful.
    Loading...
  7. Click the download icon on the left and check the following options
    Loading...
  8. Click Browse as indicated by the arrow, then select the firmware you need to flash
    Loading...
  9. Set Start address to 0x08000000
    • Note: If the firmware is in HEX format, please skip this step!!
    Loading...
  10. Click Start automatic mode below to begin flashing the firmware
    Loading...
  11. The following prompt indicates that the firmware flashing is complete
    Loading...

Confirm Firmware Startup

  • If the firmware starts normally, the LED will blink
    Loading...
Loading...