Skip to main content

Marlin Firmware Download

Notes

Do not place it in a Chinese path.

Fly_D7-Marlin​

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​

Power-off operation

Before connecting or reconnecting the USB cable, completely turn off the printer and disconnect all other power supplies. Do not let the tool board be powered simultaneously through the printer power supply and the USB interface.

USB connection compatibility

The USB interfaces on some computers may cause unstable flashing due to driver or signal compatibility issues. If the connection fails, try using a different USB interface on the computer or use a reliable-quality USB dock; when the error shown below appears, also check the USB connection and driver first.

Loading...
  1. Download and install SetupSTM32CubeProgrammer and the STM32 DFU driver from the auxiliary software download page.
  2. Save the firmware downloaded on this page to a location on your computer that is easy to find.
Windows file extension display

Windows may hide file extensions. In File Explorer, check "File name extensions" to confirm that the firmware is still .bin or .hex, and do not change the file extension.

  1. Confirm that 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 pop-up appears, the connection is successful.
Loading...
  1. Click the download icon on the left, and check the flashing options as shown in the figure 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 included in the file.
Loading...
  1. Click Start automatic mode to begin flashing.
Loading...
  1. When the success prompt appears, the firmware flashing is complete.
Loading...
Loading...