Bootloader Firmware
Entering Flash Mode
The right side is the BOOT button, and the left side is the RESET button.
- There are two ways to enter flash mode
- Method 1: With the tool board completely powered off, hold down the BOOT button and connect one end of the TYPE-C cable (which supports data transfer) to the main board and the other end to your device.
- Method 2: After connecting one end of the TYPE-C cable (which supports data transfer) to the main board and the other end to your device, hold down the BOOT button and press the RST button, then release the RST button, and finally release the BOOT button.
Loading...
Flashing Firmware
- Windows Flash Tutorial
- Host Flash Tutorial
- CDY bootloader firmware
- You can obtain the firmware via the following link:
- Download Firmware Package – Direct download of the latest firmware zip archive
The zip archive must be extracted before use.
- Repository Address – Access the firmware repository
-
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-Firmwareln -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
- The firmware is located at
FLY-Firmware/MainBoard/CDY
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...
- Flashing tool Download Link
- You need to download
SetupSTM32CubeProgrammerandSTM32 DFU Driver - Download the firmware to any directory on your computer
- Connect the motherboard to the computer using a Type-C cable, ensuring it has entered
dfuflashing mode - In STM32CubeProgrammer, select USB mode, refresh, and connect
Loading...
- If no error popup appears, the connection is successful.
Loading...
- Click the download icon on the left and check the following options
Loading...
- Click
Browseas indicated by the arrow, then select the firmware you need to flashLoading... - Set
Start addressto0x08000000- Note: If the firmware is in
HEXformat, please skip this step!!
Loading... - Note: If the firmware is in
- Click
Start automatic modebelow to begin flashing the firmwareLoading... - The following prompt indicates that the firmware flashing is complete
Loading...
- Install the flashing tool
- This step is not required for FLY host machines.
- If installation is needed, ensure the host machine is connected to the internet.
- If the flashing tool is already installed, this step can be skipped.
sudo apt update
sudo apt install dfu-util -y
- Check device connection status
- Run the following command to confirm whether the device is successfully connected:
lsusb
- If the DFU device is not recognized, try re-entering flashing mode.
- In some system versions, the device name may vary, but the appearance of
0483:df11indicates successful entry into flashing mode.
- Obtain the precompiled firmware
- The firmware can be obtained through any of the following methods:
- Download Firmware Package – Direct download of the latest firmware zip archive
The zip archive must be extracted before use.
- Repository Address – Access the firmware repository
-
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-Firmwareln -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
- Flashing Firmware
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-Firmware/MainBoard/CDY/CDYV3_V2.bin
- The flashing is successful when the following content appears:
File downloaded successfullyLoading...
After flashing is complete, you need to completely power off the main board once.