I am wondering if anyone would want to take a crack at reviving this STM32F4 based board. It is from a Flashforge Dreamer 3d printer. It seems that it is a common problem among these printers to receive a firmware update and become “bricked”
Having had some experience with Arduino, STM Discover boards, and Jtagging a Cricut cutting matchine (Atmel chip), I figured there might be a way to connect a debugger to the board.
I’m wondering if there are any ISP ports or some way to flash a good firmware .bin file?
That micro has SWD (serial-wire debug); TMS/SWDIO is on TQFP pin 105 (PA13) and TCK/SWCLK is on TQFP pin 109 (PA14).
Using OpenOCD and a SWD-capable dongle (can be just a FTDI break-out board), you should be able to erase the device’s flash and re-program a good image.
Ok so I read the pdf and am a bit vague on NRST and SWO pins. It’s conspicuous that they created a 3 pin header for SWD for GND, SWDIO and SWCLK. Yet there are the two extras NRST and SWO. SWO seems optional because its used for debugging, which I’m not going to do. Thoughts?
UGh. Getting no where. My weller soldering station is dead and I need to put a header on 3.3v. Think you’d mind helping me at the space with this some time?
Bring it by my shop in Highland Village if you want. I have my solder station on and am working on some arcade game boards for customers tonight and tomorrow.
I’ll be out there for a couple more hours tonight.
I’m thinking this chip really is dead. Just applying 3.3v and GND the chip
is getting warm to the touch. STLink utility wont erase it. The story on
this thing is that Flashforge sent out a firmware update that was for a
different revision to the board and it bricked a bunch of printers. The
only recourse the owners had was to buy a new motherboard ($110). Seems
fishy but it is what it is. I was hopeful that I could revive it.
I’d measure current consumption before de-soldering the old one, then after it’s been pulled out of circuit. If the current consumption is nearly the same, the microcontroller wasn’t your problem. Putting a new one back before checking all the power rails is a good way to toast the new one, too.