Katapult Firmware
Katapult Firmware Description
Katapult was originally named CanBoot and later renamed to Katapult.
- Katapult firmware is a type of bootloader that can be used in conjunction with Klipper. After flashing via methods like DFU, the firmware can be updated with a single command.
- Advantages: Quickly double-click the reset button or power off twice rapidly to enter Katapult firmware, at which point the motherboard's LED will blink.
- Katapult firmware can only be used to flash firmware and cannot connect to Klipper!!!
- Katapult firmware supports three methods for connecting to the host computer, with each method's firmware being independent of the others:
- CAN connection
- Advantages: After compiling the Klipper firmware, the firmware can be updated directly using commands, with strong anti-interference capabilities.
- Disadvantages: The firmware compilation rate must be known in advance.
- RS232 connection
- Advantages: After compiling the Klipper firmware, the firmware can be updated using commands, with very strong anti-interference capabilities.
- Disadvantages: Firmware cannot be updated with a single command; manual entry into Katapult firmware is required.
- USB connection
- Advantages: After compiling the Klipper firmware, the firmware can be updated directly using commands.
- Disadvantages: Long data cables are prone to interference, which may cause disconnections.
- CAN connection
- SB2040_PRO_V3 supports CAN and RS232.
- Only CAN firmware is provided here, with rates of 500K and 1M.
Entering Flash Mode
The left button is the RESET button, and the right button is the BOOT button.
- There are two methods to enter flash mode:
- First method: With the mainboard completely powered off, press and hold the BOOT button, then connect a data-capable TYPE-C cable from the mainboard to your device.
- Second method: After connecting a data-capable TYPE-C cable from the mainboard to your device, press and hold the BOOT button, then press the RST button. Release the RST button first, then release the BOOT button.
Flashing the Firmware
- Windows Flashing Tutorial
- Host PC Flashing Tutorial
- Katapult firmware for SB2040 PRO V3.
- You can obtain the firmware via the following links:
- Download Firmware Package - Directly download the latest firmware archive.
- Repository Address - Visit the firmware repository.
- The firmware location is at:
FLY-Firmware/ToolBoard/SB2040
- Prepare a data cable with data transfer capability
- Download the firmware to your computer
- Connect the BOOT jumper or press and hold the button while connecting to the computer. At this point, the
RPI-RP2disk will appearLoading... - Remove the BOOT jumper or release the button!!!
- Copy the firmware to be flashed into the disk. Please note that only firmware with the
UF2file extension can be used!!! (Do not modify the file extension—it will not work) - Reference
Loading...
- After copying the firmware, the
RPI-RP2disk will automatically disappear, indicating that the firmware flashing is complete!
-
Install the Flashing Tool
- Enter the following command in SSH
- Only required for the first flash; no need to execute again later
cd ~/klipper/lib/rp2040_flash/ && make -
Execute the following command to check if the connection is successful.
-
Enter
lsusb -
If there is no
2e8a:0003device, try re-entering flashing mode -
Due to system version differences, it may display other names. If
2e8a:0003is present, it indicates entry into flashing mode.Loading...
NoteProceed to the next step only when
2e8a:0003is present. -
-
Pull the Pre-compiled Firmware
- These are all pre-compiled firmware files
- Note: The host machine must have internet access 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 the firmware package has already been downloaded, it is recommended to update it before proceeding with the remaining steps:
cd ~/FLY-Firmware && git pull
- Flash the firmware
Only one firmware needs to be flashed.
-
Below is the command to flash the firmware with a 500K CAN rate:
sudo ~/klipper/lib/rp2040_flash/rp2040_flash ~/FLY-Firmware/ToolBoard/SB2040/FLY_SB2040PROV3_CANBOOT_CAN_500K.uf2 -
Below is the command to flash the firmware with a 1M CAN rate:
sudo ~/klipper/lib/rp2040_flash/rp2040_flash ~/FLY-Firmware/ToolBoard/SB2040/FLY_SB2040PROV3_CANBOOT_CAN_1M.uf2
-
If the following prompt appears, the flashing was successful:
Loading...
After flashing is complete, you need to completely power off the mainboard once.
Verifying Firmware Startup
- If the firmware starts normally, the LED will begin to flash.
Loading...