Skip to main content

Marlin Firmware Download

Note

Do not place in a Chinese-character path.

Fly_D8-Pro-Marlin

  • Click the download link below
  • Loading...

Compiling Marlin Firmware

Note
  • This tutorial is based on operations under the Windows system.
  • 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)

  1. Open vscode, open the extension store (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_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 as D8 or super8. This directory name matches your compilation environment.
    Loading...

Flash Firmware

Notice

To ensure successful STM32 flashing, please note the following:

  • The USB port on some computers may cause unstable flashing due to driver or signal compatibility issues. It is recommended to try a different USB port for connection.
  • If changing ports does not work, an effective solution is to connect via an external USB hub, which often improves compatibility.
  • When the flashing software reports the error shown below, please also prioritize trying a USB hub. If the issue persists, check or use the host computer for flashing.
    Loading...
  1. Flashing tool Download Link
  2. You need to download SetupSTM32CubeProgrammer and STM32 DFU Driver
  3. Download the firmware to any directory on your computer
  4. Connect the motherboard to the computer using a Type-C cable, ensuring it has entered dfu flashing mode
  5. In STM32CubeProgrammer, select USB mode, refresh, and connect
    Loading...
  6. If no error popup appears, the connection is successful.
    Loading...
  7. Click the download icon on the left and check the following options
    Loading...
  8. Click Browse as indicated by the arrow, then select the firmware you need to flash
    Loading...
  9. Set Start address to 0x08000000
    • Note: If the firmware is in HEX format, please skip this step!!
    Loading...
  10. Click Start automatic mode below to begin flashing the firmware
    Loading...
  11. The following prompt indicates that the firmware flashing is complete
    Loading...
Loading...