bootloader firmware
Enter Programming Mode
tip
The one on the right is the BOOT button
, and the one on the left is the RESET button
.
- There are two methods to enter programming mode.
- First method: With the motherboard completely powered off, hold the BOOT button while connecting the data transfer cable to the motherboard and your device.
- Second method: After connecting the data transfer cable to the motherboard and your device, hold the BOOT button and press the RST button, then release the RST button, and finally release the BOOT button.
Flash Firmware
- Windows flashing tutorial
- Host machine flashing tutorial
- The bootloader firmware for CDV click to automatically download the firmware
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 firmware flashing command
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY_Katapult/BL/CDV/CDYV3_V2.bin
- If the content as shown by the arrow in the image below says
File downloaded successfully
, then the flashing is successful.
tip
After flashing, you need to power off the motherboard completely once.