How to Recover from a Bad Firmware Upgrade on Anet ET4 3D Printer

Anet ET4 3D PrinterHey, Karl here with a really quick how-to. This how-to is to help everyone who has bricked their Anet ET4 printer after upgrading firmware on the printer. Anet reached out for a review of the ER4 and I recently gave one printer to a buddy of mine and he showed a lot of enthusiasm. I thought it would be interesting to do a review from someone less experienced. I asked him if he would like to do it and he accepted. I wanted to help him with unboxing and initial setup so we fired up a YouTube Livestream. The build went smooth but because the UI is lacking finish I went searching for updates. It is not uncommon to flash firmware, and after a little googling I found updated firmware and was hoping to fix the UI. We followed the directions but the machine got hung at the logo after rebooting. Damn. After a little more searching found directions from Anet showing how to recover. It required a specific version of J-link software and I was unable to find it. I believe it is not free after reading posts. No one would upload it to the FB files section and had to be shared directly. Unfortunately due to holiday and the coronavirus outbreak in China I didn’t bother to contact Anet and set out on my own to resolve the issue. After some searching, I found one user who took a firmware snapshot of a working ET4 with an ST-Link V2 debugger and thankful he shared it with me. I will share the process and files below.

Why

I was curious why the firmware didn’t work. Some people in the Facebook forum had no issues but a lot did. After we got stuck I joined the FB group and starting searching. It turns out that everyone said to format the SD card before flashing. What we experienced was the printer getting stuck at the boot logo. I put the SD card in my reader and connected it to my PC. It needed to be formatted and everything was lost. I suspect Anet SD cloning process left the card in a bad state.

What is needed

ST-Link V2

I wasn’t sure I was going to be successful so I bought the cheapest ST-Link debugger on Amazon: $6.29 shipped with prime and 2-day shipping. Here is a link to ST-Link Utility and 2 versions of the firmware. If you want to download utility direct it is here. Original recovery instructions are also included using J-link software. I also used a USB extension cable I already had.

  • I used the included jumpers connecting GND SWC and SWD. Notice the notch on the pinout diagram of the st-link adapter. Turn the printer on.
ET4 Board to ST-Link V2 Connection
Picture pulled from Anet instructions
  • Open one of the bin files

open firmware

  • Click on Target->Program

How to flash Anet ET4 FirmwareThat’s it. Super easy and no proprietary hardware. Big thanks to Michal for downloading the original img. Happy printing!

 

Support CNX Software - Donate via PayPal or become a Patron on Patreon
Advertisements

28
Leave a Reply

avatar
11 Comment threads
17 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
18 Comment authors
Kill JoycarlosFranciscoMejla Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
David Willmore
Guest
David Willmore

Great article! Thank you!

Member
Javi Machuca

Hi, I’m testing but I can’t connect, could you upload a video?

Member
Mohit Mohan

I bricked my ET4 and being a smart ass I flashed the firmware provided by Anet in their website, this ended up blowing up the bootloader as well! (I used a raspberry pi that was lying around to program the board using OpenOCD)

On closer inspection, the reset handler for the ARM controller was at 0x080102A1 (second 32-bit word in the binary, little-endian) in the website binary, D’oh! This means the website binary is meant to sit at an offset, presumably at 0x08010000! Should have noticed sooner!

This is 0x08000229 in your binary, so it works!
Thanks for taking the time to post this! You saved my butt 🙂

eros
Guest
eros

hello, could you explain how you connected to the anet et4 board with the raspberry pi, to repair the frimware?

Roberto
Guest
Roberto

Hi Mohit, I´ve read your post about raspberry and openocd, maybe I´m doing any bad because I can´t, could you send me a link where this option will be explained? thanks in advance¡¡

Mitch
Guest
Mitch

I’m trying to accomplish this. But every time, I get a message “No target connected.” How can I fix this? Would love to get this ET4 to stop being a paper weight.

Chris Root
Guest
Chris Root

After I followed these directions my printer went from the ANET logo being frozen, to just a white screen.

Rodolfo Mendez
Guest
Rodolfo Mendez

please, can someone make a copy of the printer firmware because i did the firmware installation procedure and my printer now has a white screen. arm accepts the firmware but nothing else does.

Bishop
Guest
Bishop

Thia was a great tutorial, thank you!!

junior
Guest
junior

I updated to the latest firmware (1.1.5) and now power loss recovery does not work. Would anyone have a solution? Thanks

Member
Jesse Kelly

Karl, All this discussion is way above me! I have no clue but hope to avoid this bricking scenario. I have an Anet Et4 that I bought about 3 months ago and just fired up. Before I upgrade the firmware is there any instructions on exactly how to do it so I can avoid what everyone is going through? Tks

Kill Joy
Guest
Kill Joy

waste of my time, followed the vague short instructions and all it did was lead me to a white screen.

Advertisements