cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting Embedded ST-LINK Debugger on STM32F411RE

Oladi
Associate II

Hi, i have a problem and don't find any solution yet.

I do some mistake and st-link part of my board doesn't communicate to mcu part.

Actually I'm not sure the problem but, when I search all internet and assume that the problems is this.

When I connect to board with usb cable to pc, there are 32kb mass storage, it should 512kb. And I'm able to change firmware and try all new and old that I can find, nothing solved. Just some firmware error like "swd error" some of "reset/halt the target mcu.

My other post:

https://community.st.com/s/question/0D50X0000ARQwUrSQL/failed-to-resethalt-the-target-mcu

I'm find this video and assume that my problem is same:

https://youtu.be/jEz0C2bT2M0

Now I know this st community very small but I believe there is some people to help.

3 REPLIES 3
Uwe Bonnes
Principal III

With Stm32CubeProgrammer , try mode "under reset" and reset mode ""Hardware reset". Probably you have remapped the SWD pin, or missing SWD jumper or some thight programm loop.

I open the cube programmer and update the firmware in all reset mode. But in the end, there is a fail document in the mass storage, and it says "the interface firmware failed to reset/halt the target mcu".

Programmer doesn't connect, says "no stm32 found" but, it read st-link serial number and firmware version.

I don't have enough kwonledge. Please explain a bit more..

Oladi
Associate II

I do something and board run as normally except mcu get very hot.

I connect to 5V power out to the IOREF pin and do nothing if it's connect board work fine but remove the cable turns faulty again. Maybe this help to figure out what happened the board.