FLY-ALPS Firmware Flashing
This document applies to devices with firmware versions lower than v2.0.0. If your firmware version has reached or exceeded this version, please refer to the Firmware Update documentation and update directly through the web tool without entering DFU mode.
Checking Firmware Version
Through the Web Tool, you can view the current firmware version after connecting to the device.
Entering DFU Flashing Mode
Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug cables, organize wiring sequences, or touch terminals while the device is powered on.
You can put the device into flashing mode using any of the following methods:
-
Method One:
- Connect the device to your computer using a Type-C data cable.
- Press and hold the BOOT button on the device, briefly press the RESET button, then release the BOOT button.
-
Method Two:
- Press and hold the BOOT button on the device.
- Connect the Type-C data cable between the device and computer, then release the BOOT button.
Flashing Methods
- Windows Flashing
- Linux Flashing
- FLYOS Flashing
.txt 或其他扩展名。- STM32CubeProgrammer
- APM32 DFUProgrammer
- DFU-AUTO
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...
- Download the flashing tool: Download Link
- Install the DFU driver: Download and extract
DFUProgrammer. The package includes the DFU driver for APM32. Please install this driver manually. - Prepare the firmware: Copy the previously compiled firmware file to any directory on your computer (e.g., the desktop) for easy selection later.
- Enter DFU mode: Connect the mainboard to the computer using a Type-C cable. Ensure the mainboard is in DFU flashing mode (usually set via a jumper cap; for specific methods, refer to the mainboard's DFU entry instructions).
- Run the flashing tool: Open DFUProgrammer and select and configure as shown in the images below:
Loading...Loading...
- Start flashing: Click the "Start Updating Firmware" button and wait for the progress bar to complete. Once the flashing is successful, you can disconnect the Type-C cable and remove the jumper cap.
- Download and run FLY DFU-AUTO
- If the
Driver Statusis unavailable, clickInstall Driverto complete the WinUSB driver installation - Click
Browse...and select the.binfirmware file to be flashed - Click
Start Flashing, view the flashing progress via theRunning Logbelow, and wait for the flashing to complete
Detailed Tutorial: FLY DFU-AUTO Download and Usage
- Install flashing tool.sudo apt updatesudo apt install dfu-util -y
- Confirm the device has entered DFU flashing mode.lsusb
If you can see 0483:df11, it means DFU flashing mode has been entered successfully.
Loading... - Pull/update firmware repository.git clone https://cnb.cool/3dmellow/FLY-Firmware ~/FLY-Firmwarecd ~/FLY-Firmware && git pull --ff-only
- Flash firmware.sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ExtensionBoard/ALPS/mergedBL/FLY-ALPS-V2.1.1-mergedBL.bin
- If File downloaded successfully appears, flashing is successful.Loading...
- FLY host computer usually has dfu-util built-in, no need to install flashing tool again.
- Confirm the device has entered DFU flashing mode.lsusb
If you can see 0483:df11, it means DFU flashing mode has been entered successfully.
Loading... - Pull/update firmware repository.git clone https://cnb.cool/3dmellow/FLY-Firmware /data/FLY-Firmwareln -s /data/FLY-Firmware /root/FLY-Firmwarecd /data/FLY-Firmware && git pull --ff-only
- Flash firmware.sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D /data/FLY-Firmware/ExtensionBoard/ALPS/mergedBL/FLY-ALPS-V2.1.1-mergedBL.bin
- If File downloaded successfully appears, flashing is successful.Loading...
Do not disconnect the Type-C connection during the flashing process, as this may cause the flashing to fail.
Next Steps
After the BOOT firmware flashing is complete, the device supports direct updates of the main firmware through the web tool without needing to enter DFU mode again.
Please refer to the Firmware Update documentation to complete the main firmware update.