2025-09-11 10:09 AM
Howdy,
I’m running into an issue trying to re-flash the original code onto the control board (STEVAL-DPS334M1, which uses the STM32F334R8T6 MCU) for the ST totem-pole PFC board (STEVAL-DPSTPFC1).
I’m using an ST-Link V2 with STM32CubeProgrammer to download the provided .bin file of the original control code back onto the board. The download completes successfully, but when I power the PFC board afterward, nothing happens. Normally, the PFC board has a startup sequence before the user can enable it, but now that sequence does not occur.
When I check device memory in STM32CubeProgrammer, I see that the first data location is at address 0x08000000 (screenshot attached). This makes me wonder if I also need a bootloader file for it to work. If so, where would I obtain it?
For reference, the original firmware I received from ST came as a zip file containing:
Drivers folder
EWRAM folder (which had the .bin file, no .hex included)
Inc folder
Src folder
.mxproject file
.ioc file
Backstory:
I originally tried modifying the code to change the switching frequency and flashed that version to the board. When it didn’t work, I attempted to restore the original code by flashing the provided .bin file. Despite the “download complete” message, the board no longer behaves as expected. To confirm the board itself isn’t bricked, I tested with a simple LED blink program and that ran successfully.
Any guidance on whether a bootloader is required, or if I’m missing a step in restoring the firmware, would be greatly appreciated.
Thanks in advance!