Skip to main content
Visitor II
January 31, 2018
Question

Chip broken? Restoring Chip functionality with ST Link

  • January 31, 2018
  • 3 replies
  • 1642 views
Posted on January 31, 2018 at 16:11

Hello,

I have been working with an STM32F437 chip for a while now, when suddenly I could not flash my program in my IDE anymore. I tried solving the issue in ST Link Utility.

First of all, the only mode in which I can connect to the chip is HotPlug mode. I can't get any connection to the chip with normal or with connect under reset mode. I also tried pulling the reset-pin of the chip low/ releasing it when connecting. Also, in hotplug mode, my chip does not get recognized correctly.

0690X00000609YlQAI.png0690X00000609YzQAI.png

I tried erasing the chips content, (again also tried it when toggling the reset pin), but I always get the message ''readout protection enabled''. So I went to the option bytes menu and tried disabling it. However, this error occurs:

0690X00000609YpQAI.png

When I enter that menu while I actively pull down the reset pin, the page looks a bit different (e.g. distinct levels of readout protection). But I still am not able to disable the readout protection. In other menus, I often get the following error:

0690X00000609MWQAY.png

What else is there I could do? Is there any possibility of restoring the chips functionality? Or has it simply broken. The issue arised very suddenly when debugging some code, it worked fine before. It also does not seem to run the last program I flashed onto it (some LEDs should blink, but they don't).

Any help is greatly appreciated, also please excuse any language errors, I'm not a native speaker.

Best regards,

Pascal

#st-link-error #stm32f4-connection-fail #st-link
    This topic has been closed for replies.

    3 replies

    Graduate II
    January 31, 2018
    Posted on January 31, 2018 at 16:43

    Use SWD mode, not JTAG

    Pull BOOT0 High so that it enters the System Loader, and not your code.

    P KAuthor
    Visitor II
    January 31, 2018
    Posted on January 31, 2018 at 17:05

    I'm using the ST Link flash tool and a JTAG interface, but I could try building a SWD connection too. I tried pulling BOOT0 high, then resetting, but I still could not get a connection going. Does BOOT0 have to be high all the time or just after resetting?

    Thanks for the reply!

    Graduate II
    January 31, 2018
    Posted on January 31, 2018 at 17:25

    SWD is a subset of JTAG connectivity, you wouldn't have to build anything.

    Chips that have been locked down are unrecoverable, part of the protection is to remove debug connectivity.

    Physically damaged devices are also not recoverable. Check with a secondary board.

    Visitor II
    February 22, 2018
    Posted on February 22, 2018 at 14:50

    You could have used some of the swd or jtag pins.

    Once the pins are no longer swd or jtag, you lose connectivity.

    The solution is obviously simple.