Marlin Firmware Download
Note
Please do not place under Chinese paths
Fly_D8-Marlin
- Click the download link below
-
Loading...
Marlin Firmware Compilation
Note
- This tutorial is based on the
Windowsoperating system - This tutorial uses
vscode, please install it in advance
Install Python Environment
- Download Python environment
- Click the download link below
-
Loading...Loading...
- Installation completed
Loading...
Install vscode Extensions (Plugins)
- Open vscode, open the Extensions Marketplace (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 motherboard model>\folder within the project directory. - Path Description:
<your motherboard model>should be replaced with the specific motherboard model you selected during compilation, such asD8orsuper8. The name of this directory matches your compilation environment.Loading...
Flashing the Firmware
Important Notice
To ensure successful STM32 programming, please pay attention to the following:
- Some computer USB ports may experience unstable programming due to driver or signal compatibility issues. It is recommended to try connecting to a different USB port.
- If changing ports does not help, an effective solution is to connect via an external USB hub, which often improves compatibility.
- When the programming software reports the error message shown below, also try using a hub first. If the issue persists, please check or use the host computer for programming.
Loading...
- Programming Tool Download Link
- Download
SetupSTM32CubeProgrammerand theSTM32 DFU Driver. - Download the firmware to any directory on your computer.
- Connect the mainboard to the computer using a Type-C cable. Ensure it has entered
DFUprogramming mode. - In STM32CubeProgrammer, select USB mode, refresh, and connect.
Loading...
- If no error pop-up appears, the connection is successful.
Loading...
- Click the download icon on the left and select the options shown below.
Loading...
- Click
Browseas indicated by the arrow, then select the firmware you need to program.Loading... - For
Start address, enter0x08000000.- Note: If the firmware is in
HEXformat, please skip this step!!
Loading... - Note: If the firmware is in
- Click
Start automatic modebelow to begin programming the firmware.Loading... - The prompt below indicates that the firmware programming is complete.
Loading...
Loading...