1
0
mirror of https://github.com/MarlinFirmware/Configurations.git synced 2024-11-29 18:05:13 +00:00
MarlinFirmware-Configurations/config/examples/Anet/ET4-Pro
2024-11-19 02:00:03 +00:00
..
Configuration_adv.h Examples Customizations 2024-11-19 02:00:02 +00:00
Configuration.h Examples Customizations 2024-11-19 02:00:02 +00:00
README.md Examples Extras 2024-11-19 02:00:03 +00:00

Marlin for Anet ET4/ET5 Series

A debugging/programming probe (e.g., ST-Link, J-Link, or Black Magic Probe) is required to flash the the OpenBLT bootloader for Anet ET4/ET5 series printers due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.

  1. Using three female to female Dupont jumper cables, connect GND, SWDIO, and SWCLK pins from the ST-Link to the Serial Wire Debug (SWD) header on the motherboard. Pay close attention that the cables on SWD header side match the order below using the U and G letters printed on the motherboard as a reference:

      SWD Header on ET Series motherboard
         ___
      U | o |  (not connected)
        |---|
        | o |  SWDIO
        |---|
        | o |  SWCLCK
        |---|
      G | o |  GND
         ---
    

    Photo reference:

    GND is connected to GND (black wire), SWDIO to SWDIO (yellow wire), and SWCLK to SWCLK (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout.

  2. Plug in the ST-Link to your computer's USB port & power on your printer.

  3. Download & install STM32 ST-Link Utility.

  4. Launch STM32 ST-Link Utility & click Target then Connect.

  5. Back up the original motherboard firmware starting at address 0x08000000 with a size of 0x100000:

  6. Download & extract OpenBLT bootloader for Anet ET4/ET5 series printers.

  7. Click on Target then Program...

  8. Set the Start Address to 0x08000000.

  9. Under File Path, click Browse and select openblt_et4.bin extracted in Step 6.

  10. Click Start to initiate the flashing process.

  11. OpenBLT for Anet ET4/ET5 series printers is now installed on your motherboard.

Compiling Marlin

  1. Overwrite the default Marlin configs with the ones from this folder.
  2. Compile with the Anet_ET4_OpenBLT PlatformIO environment.

Installing Marlin

  1. Once Marlin is compiled, copy Marlin/.pio/build/Anet_ET4_OpenBLT/firmware.srec to a blank SD card and insert it into your printer.
  2. Power cycle your printer to start the update process.

Acknowledgements