Loading...
 

System Workbench for STM32


How can I unbrick a STM32F767IIT6

I cannot talk to my STM32F767IIT6 via the ST-Link /V2. I think it is bricked. How can I fix it?

1) I could not get AC6 (System Workbench) to program my cpu using the ST-Link/V2.
2) So I programmed it via the ST-Link Utility.
3) Nothing will communicate with the cpu. Not AC6, not ST-Link Utility...

What can I do to fix this problem?

Hello,

Did you try to connect with STLink utility with option “connect under reset” ?
And of course, you need to connect the Reset output of STlink to your F767 mcu reset pin.

Then, you can try “mass erase” the flash (to erase your previous program if it’s playing with SWD pins for example).

Rgds,
Laurent

Thanks for the response. I have not tried that, but I am going to do it straight away. Thanks.

Every time I try to change settings I get an error reading the ST-Link device. However, I am able to get the correct mode.
So far no success.

0) I verified this process works on a non-bricked CPU
1) I connected the first time and tried to do a “Full Chip Erase”. It told me to “connect under reset”, as seen in the log below.
2) I change the settings to “Connect Under Reset” and tried again (note: I have to unplug the usb dongle and replug before I can get it to do anything). I find it odd that the ST-Link device goes TU so easily.

11:49:27 : Can not connect to target!
Please select “Connect Under Reset” mode from Target->Settings menu and try again.
If you’re trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
11:49:30 : No target connected

11:50:08 : Can not connect to target!
If you’re trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
If you’re trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
11:50:13 : No target connected


I just double checked the hardware guy’s work. They glued the reset wire to the wrong pin.
It works now. Thank you for your advice. Have a good week.