Firmware Flashing
This document applies to devices with firmware versions lower than v1.2.0-2-gf71af68. If your firmware version is equal to or higher than this version, please refer to the Firmware Update document and update directly through the web tool without entering DFU mode.
Screen Version Determination
-
Please check whether the chip shown in the image below is present on the back of the screen.
-
If present, your screen is the new version and supports self-updating of firmware.
-
A comparison of the old and new screen versions is as follows:
Loading...
Checking Firmware Version
Through the Web Tool, you can check the current firmware version number after connecting the device.
Entering DFU Flashing Mode
Before starting, completely turn off the printer and disconnect the power supply. Do not plug or unplug cables, arrange wiring, or touch terminals while the device is powered on.
You can make the screen enter flashing mode by any of the following methods:
-
Method 1:
- Connect the screen to your computer using a Type-C data cable.
- Press and hold the BOOT button on the back of the screen, then briefly press the RST button, and release the BOOT button.
-
Method 2:
- Press and hold the BOOT button on the back of the screen.
- Connect the Type-C data cable between the screen and the computer, then release the BOOT button.
Flashing Methods
- WIN Flashing
- Linux Flashing
- FLYOS Flashing
.txt 或其他扩展名。- STM32CubeProgrammer
- APM32 DFUProgrammer
- DFU-AUTO
Before connecting or re-plugging the USB cable, completely shut down the printer and disconnect other power sources. Do not allow the tool board to be powered simultaneously via the printer's power supply and the USB interface.
Some computer USB ports may cause unstable flashing due to driver or signal compatibility issues. If connection fails, try switching to a different USB port on the computer or use a reliable USB hub. If the error shown below appears, check the USB connection and drivers first.
- Download and install
SetupSTM32CubeProgrammerand the STM32 DFU driver from the Auxiliary Software Download Page. - Save the firmware downloaded from this page to a location on your computer that is easy to find.
Windows may hide file extensions. Please check "File name extensions" in File Explorer to confirm the firmware is still in .bin or .hex format. Do not modify the file extension.
- Confirm the device has entered DFU flashing mode according to the product tutorial, then connect it to the computer using a USB cable that supports data transfer.
- Open STM32CubeProgrammer, select USB mode, refresh the device list, and connect.
- If no error popup appears, the connection is successful.
- Click the download icon on the left side, and check the flashing options as shown in the image below.
- Click
Browseand select the firmware to be flashed.
- When flashing
.binfirmware, setStart addressto0x08000000. When using.hexfirmware, keep the address embedded in the file.
- Click
Start automatic modeto begin flashing.
- When the success message appears, the firmware flashing is complete.
Before connecting or reconnecting the USB cable, fully shut down the printer and disconnect other power supplies. Do not allow the tool board to be powered simultaneously by the printer power supply and the USB interface.
- Download and extract
DFUProgrammerfrom the Auxiliary Software Download Page. - Manually install the APM32 DFU driver contained in the toolkit.
- Save the firmware downloaded from this page to an easily accessible location on your computer.
Windows may hide file extensions. Please check "File name extensions" in File Explorer, confirm the firmware is still .bin, and do not modify the file extension.
- After confirming the device has entered DFU flashing mode as per the product tutorial, connect it to the computer using a USB cable that supports data transfer.
- Open DFUProgrammer, and select the device and firmware as shown in the figure below.
- Click "Start Firmware Update" and wait for the progress to complete. Only after the success prompt appears, power off and restore the wiring according to the "Complete Flashing" requirements on this page.
Before connecting or reconnecting the USB cable, completely power off the printer and disconnect other power sources. Do not let the toolboard be powered simultaneously by both the printer power supply and the USB interface.
- Download and run FLY DFU-AUTO.
- If the "Driver Status" shows unavailable, click "Install Driver" to complete the WinUSB driver installation.
- Click "Browse" to select the
.binfirmware file to be flashed.
Windows may hide file extensions. In File Explorer, check "File name extensions" to confirm the firmware remains as .bin. Do not modify the file extension.
- Click "Start Flashing", monitor progress through the run log, and wait for the flashing process 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.
FLY-HDMI-LCD_v1.2.0-13-gdebeaec-mergedBL.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/Screen/HDMI/mergedBL/FLY-HDMI-LCD_v1.2.0-13-gdebeaec-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.
FLY-HDMI-LCD_v1.2.0-13-gdebeaec-mergedBL.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D /data/FLY-Firmware/Screen/HDMI/mergedBL/FLY-HDMI-LCD_v1.2.0-13-gdebeaec-mergedBL.bin - If File downloaded successfully appears, flashing is successful.Loading...
Do not disconnect the Type-C connection during the flashing process, otherwise the flashing may fail.
Next Steps
After the complete firmware flashing is finished, the device supports updating the main firmware directly through the web tool, without the need to enter DFU mode again.
Please refer to the Firmware Update document to complete the main firmware update.