Skip to main content
CChri.5
Associate II
March 6, 2022
Solved

STM32H745i-DISCO bricked no connection even with boot1

  • March 6, 2022
  • 9 replies
  • 4379 views

Hi, I have recently bricked my STM32H745i-disco board by turning off the m4 core within OB which had a bulk of my code. My board became unresponsive, the LCD turns white and the leds on the board light up but do not respond to the reset button. Stlink says cannot connect to target, but I can update firmware.

I have moved over the resistor across to set boot0 to boot1, however stlink programmer still does not see the board so that I can do full chip erase. Moving the resistor has shown no difference.

any help going forward would be greatly appreciated

cheers

This topic has been closed for replies.

9 replies

TDK
Super User
March 6, 2022

Connect to the M7 core on AP0 instead of the M4 core on AP3.

> Stlink says cannot connect to target, but I can update firmware.

How are you updating firmware if ST-Link can't connect?

Does STM32CubeProgrammer detect a voltage? What is the exact error message you're getting? Screenshot is the most helpful.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Guru
March 7, 2022

The BOOT0 = HIGH solves a different issue, not messing up the Option Bytes

Typically it deals with power supply issues of LDO vs SMPS, and requires completely power cycling the board.

One might look at the connect under reset options, or the connectivity setting in general.

Did you do the OB settings from your code? Show code

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
CChri.5
CChri.5Author
Associate II
March 7, 2022

Thanks for you r resposnses. Attached are screenshots from the STM32CubeProgrammer. I set the OB settings through the programmer, but as I cannot connect I cannot turn the M4 core back on. As you can see the programmer cannnot connect. But I do have th eoption to Upgrade Firmware.0693W00000KbiQlQAJ.png0693W00000KbiQqQAJ.png0693W00000KbiQgQAJ.png

Tesla DeLorean
Guru
March 7, 2022

The firmware on the chip with the ST-LINK/V3 (F723) functionality, not the STM32H745I.

Not the same CPU

Not sure how you're going to unbrick that.

Can you connect to the H745's USB, with BOOT0=HIGH, jumper set to power via USB ?

If the H7 is viable you might get a "STM32 BOOT DEVICE" type enumeration.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
CChri.5
CChri.5Author
Associate II
March 7, 2022

I have moved the usb into "POWER"port, moved the jumper over to USBPWR. STM32CubeProgramme says Error: No debug probe detected.0693W00000Kbij9QAB.jpg0693W00000KbiizQAB.png

CChri.5
CChri.5Author
Associate II
March 7, 2022

0693W00000Kbj9bQAB.pngSuccessfully connecting!^^

CChri.5
CChri.5Author
Associate II
March 7, 2022

Internal parameter error. Can't seem to do the final erase! So close!0693W00000KbjA0QAJ.png

CChri.5
CChri.5Author
Associate II
March 7, 2022

Nevermind, STM32 CubeProgrammer did the job, not sure why but hey ho its unbricker WOoHOo!0693W00000KbjAhQAJ.png

CChri.5
CChri.5AuthorAnswer
Associate II
March 7, 2022
Associate III
August 26, 2022

I ran into a similar problem with my STM32H745i-Disco board (ST-LINK could not be found), and the way to recover was to reboot the PC, open STM32CubeProgrammer and perform a firmware update.

EDallaVia
Associate II
December 14, 2022

sorry I've read now I've answered an already given answer (with the same procedure to swap resistor)