Marlin Firmware Download
Notes
- Do not place in a path containing Chinese characters
- Under Marlin firmware, D5 does not support the 12864 screen
Fly_D5-Marlin
- Click the download link below
-
Loading...
Compiling Marlin Firmware
Note
- This tutorial is based on operations under the
Windowssystem. - This tutorial uses
vscode, please install it in advance.
Installing Python Environment
- Download the Python environment
- Click the download link below
-
Loading...Loading...
- Installation complete
Loading...
Installing vscode Extensions (Plugins)
- Open vscode, open the extension store (the button with four squares on the left side of the interface)
- Enter the following in the search box
platformIO
- Find the plugin and install it
- Restart vscode
Loading...
Firmware Location
- After a successful compilation, the firmware file you need is
firmware.bin. - It is located in the
.pio\build\<Your_Board_Model>\folder under the project directory. - Path Explanation:
<Your_Board_Model>should be replaced with the specific motherboard model you selected during compilation, such asD8orsuper8. This directory name matches your compilation environment.Loading...
Flashing Firmware
Power Off Operation
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.
USB Connection Compatibility
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.
Loading...
- 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 File Extension Display
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.
Loading...
- If no error popup appears, the connection is successful.
Loading...
- Click the download icon on the left side, and check the flashing options as shown in the image below.
Loading...
- Click
Browseand select the firmware to be flashed.
Loading...
- When flashing
.binfirmware, setStart addressto0x08000000. When using.hexfirmware, keep the address embedded in the file.
Loading...
- Click
Start automatic modeto begin flashing.
Loading...
- When the success message appears, the firmware flashing is complete.
Loading...
Loading...