Skip to main content

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 Windows operating 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)

  1. Open vscode, open the Extensions Marketplace (the button with four squares on the left side of the interface)
  2. Enter the following in the search box
platformIO
  1. Find the plugin and install it
  2. 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 as D8 or super8. 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...
  1. Programming Tool Download Link
  2. Download SetupSTM32CubeProgrammer and the STM32 DFU Driver.
  3. Download the firmware to any directory on your computer.
  4. Connect the mainboard to the computer using a Type-C cable. Ensure it has entered DFU programming mode.
  5. In STM32CubeProgrammer, select USB mode, refresh, and connect.
    Loading...
  6. If no error pop-up appears, the connection is successful.
    Loading...
  7. Click the download icon on the left and select the options shown below.
    Loading...
  8. Click Browse as indicated by the arrow, then select the firmware you need to program.
    Loading...
  9. For Start address, enter 0x08000000.
    • Note: If the firmware is in HEX format, please skip this step!!
    Loading...
  10. Click Start automatic mode below to begin programming the firmware.
    Loading...
  11. The prompt below indicates that the firmware programming is complete.
    Loading...
Loading...