Skip to main content

Marlin Firmware Download

Important Notes

Please do not place in a Chinese path.

Fly_DP5-Marlin

  • Click the download link below
  • Loading...

Marlin Firmware Compilation

Important Notes
  • This tutorial is based on operations in the Windows system.
  • This tutorial uses vscode, please install it in advance.

Install Python Environment

  • Download the Python environment.
  • Click the download link below.
  • Loading...
    Loading...
  • Installation completed.
    Loading...

Install vscode Extensions (Plugins)

  1. Open vscode, open the extension store (the button with four squares on the left side of the interface).
  2. In the search box, enter:
platformIO
  1. Find the plugin and install it.
  2. Restart vscode.
    Loading...

Firmware Location

  • After successful compilation, the firmware file you need is firmware.bin.
  • It is located in the .pio\build\<Your Board Model>\ folder within the project directory.
  • Path Explanation: <Your Board Model> should be replaced with the specific board model you selected during compilation, such as D8 or super8. The directory name matches your compilation environment.
    Loading...

Flash 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 resolve the issue, an effective solution is to connect via an external USB hub, which often improves compatibility.
  • If the programming software reports the error shown below, also prioritize trying a USB hub. If the problem persists, please check or use the host computer for programming.
    Loading...
  1. Programming Tool Download Link
  2. Download both 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 data cable. Ensure the board is in DFU programming mode.
  5. In STM32CubeProgrammer, select USB mode, then 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...