Skip to main content
Zaher
Senior II
Nov 26, 2022 10:14 PM UTC
Solved

I can't connect after BOOT_CM7 has been disabled, OB, CubeProgrammer

I just tried to disable BOOT_CM7 for option-bytes using STM32CubeProgrammer and after applying, I can't connect to the MCU. I tried again with R192 shorted out, but STLink still can't connect to the MCU: "The interface firmware FAILED to reset/halt the target MCU"

This is on STM32H747-DISCO board.

This topic has been closed for replies.
Zaher
ZaherBest answer
Senior II
Nov 27, 2022 3:09 AM UTC

It's true Google some times is the best friend. I just don't know how I missed this article here. I spent hours trying to figure it out, shorting jumpers, connecting certain probes, and finally, my lovely H747-DISCO is back to life again!

3 replies

Zaher
ZaherAuthor
Senior II
Nov 26, 2022 10:17 PM UTC

Please don't tell me I have bricked the board, and there's no way to recover from this!

Zaher
ZaherAuthor
Senior II
Nov 26, 2022 10:29 PM UTC

By the way, I did this as per the requirement of BootCM4_CM7GatedGated example in the Cube package.

"User Option Bytes requirement (with STM32CubeProgrammer tool)

    BOOT_CM4(BCM4) = 1                Enable cortex M4 Boot

    BOOT_CM7(BCM7) = 0                Disable cortex M7 Boot"

If there's no way to recover from this, wouldn't ST warn about it?

Zaher
ZaherAuthorBest answer
Senior II
Nov 27, 2022 3:09 AM UTC

It's true Google some times is the best friend. I just don't know how I missed this article here. I spent hours trying to figure it out, shorting jumpers, connecting certain probes, and finally, my lovely H747-DISCO is back to life again!