2.9 KiB
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.
Flashing OpenBLT Bootloader with an ST-Link V2
-
Using three female to female Dupont jumper cables, connect
GND
,SWDIO
, andSWCLK
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 theU
andG
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 toGND
(black wire),SWDIO
toSWDIO
(yellow wire), andSWCLK
toSWCLK
(green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout. -
Plug in the ST-Link to your computer's USB port & power on your printer.
-
Download & install STM32 ST-Link Utility.
-
Launch STM32 ST-Link Utility & click
Target
thenConnect
. -
Back up the original motherboard firmware starting at address
0x08000000
with a size of0x100000
: -
Download & extract OpenBLT bootloader for Anet ET4/ET5 series printers.
-
Click on
Target
thenProgram...
-
Set the
Start Address
to0x08000000
. -
Under
File Path
, clickBrowse
and selectopenblt_et4.bin
extracted in Step 6. -
Click
Start
to initiate the flashing process. -
OpenBLT for Anet ET4/ET5 series printers is now installed on your motherboard.
Compiling Marlin
- Overwrite the default Marlin configs with the ones from this folder.
- Compile with the
Anet_ET4_OpenBLT
PlatformIO environment.
Installing Marlin
- Once Marlin is compiled, copy
Marlin/.pio/build/Anet_ET4_OpenBLT/firmware.srec
to a blank SD card and insert it into your printer. - Power cycle your printer to start the update process.
Acknowledgements
- @davidtgbe for porting Marlin to the ET4/ET5 series.
- Telegram Anet ET4 spanish group, especially @olidnon, who lent his motherboard for testing.
- @uwe and @mubes from Black Magic Probe team, and to @Ebiroll (BMP/ESP32).
- All contributors and testers.