FLY-UTOC Firmware Update
The UTOC comes pre-flashed with firmware from the factory. Only follow the steps on this page when a firmware update is needed.
Firmware Download
Please download the correct firmware for a full flash:
.txt 或其他扩展名。The full flash firmware is located in the firmware repository at the following path:
FLY-Firmware/ExtensionBoard/UTOC
Entering DFU Flash Mode
Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug cables, rewire connectors, or touch terminals while the system is powered on.
- With the UTOC powered off, use a jumper cap to short the BOOT pins.
- Connect the UTOC to your computer using a Type-C data cable that supports data transfer. You can now begin flashing.
Flashing Methods
- Windows Flash
- Linux Flash
- FLYOS Flash
.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_UTOC.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D ~/FLY-Firmware/ExtensionBoard/UTOC/FLY_UTOC.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_UTOC.binsudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000 -D /data/FLY-Firmware/ExtensionBoard/UTOC/FLY_UTOC.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.
Reference
For more detailed STM32 / APM32 flashing instructions, please refer to the General Flashing Guide.