Skip to main content

Marlin Firmware Download

Notes
  • Do not place in a path containing Chinese characters
  • Under Marlin firmware, D5 does not support the 12864 screen

Fly_D5-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...

Flashing Firmware

Power Off Operation

Before connecting or re-plugging the USB cable, completely shut down the printer and disconnect other power sources. Do not allow the tool board to be powered simultaneously via the printer's power supply and the USB interface.

USB Connection Compatibility

Some computer USB ports may cause unstable flashing due to driver or signal compatibility issues. If connection fails, try switching to a different USB port on the computer or use a reliable USB hub. If the error shown below appears, check the USB connection and drivers first.

Loading...
  1. Download and install SetupSTM32CubeProgrammer and the STM32 DFU driver from the Auxiliary Software Download Page.
  2. Save the firmware downloaded from this page to a location on your computer that is easy to find.
Windows File Extension Display

Windows may hide file extensions. Please check "File name extensions" in File Explorer to confirm the firmware is still in .bin or .hex format. Do not modify the file extension.

  1. Confirm 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.
  2. Open STM32CubeProgrammer, select USB mode, refresh the device list, and connect.
Loading...
  1. If no error popup appears, the connection is successful.
Loading...
  1. Click the download icon on the left side, and check the flashing options as shown in the image below.
Loading...
  1. Click Browse and select the firmware to be flashed.
Loading...
  1. When flashing .bin firmware, set Start address to 0x08000000. When using .hex firmware, keep the address embedded in the file.
Loading...
  1. Click Start automatic mode to begin flashing.
Loading...
  1. When the success message appears, the firmware flashing is complete.
Loading...
Loading...