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
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/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.sudo 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.