Marlin Firmware Download
Please do not place it in a path containing Chinese characters.
Fly_D8-Marlin
- Click the download link below
- CNB 下载:点击下载
Compiling Marlin Firmware
- 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...
Flash Firmware
Before connecting or reconnecting the USB cable, completely turn off the printer and disconnect all other power supplies. Do not let the tool board be powered simultaneously through the printer power supply and the USB interface.
The USB interfaces on some computers may cause unstable flashing due to driver or signal compatibility issues. If the connection fails, try using a different USB interface on the computer or use a reliable-quality USB dock; when the error shown below appears, also check the USB connection and driver first.
- Download and install
SetupSTM32CubeProgrammerand the STM32 DFU driver from the auxiliary software download page. - Save the firmware downloaded on this page to a location on your computer that is easy to find.
Windows may hide file extensions. In File Explorer, check "File name extensions" to confirm that the firmware is still .bin or .hex, and do not change the file extension.
- Confirm that 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 pop-up appears, the connection is successful.
- Click the download icon on the left, and check the flashing options as shown in the figure below.
- Click
Browseand select the firmware to be flashed.
- When flashing
.binfirmware, setStart addressto0x08000000; when using.hexfirmware, keep the address included in the file.
- Click
Start automatic modeto begin flashing.
- When the success prompt appears, the firmware flashing is complete.