2026-04-14 3:28 AM
Hello,
I am working on a custom PCB using the STM32H757IITx. While programming the chip with an ST-LINK/V2 SET programmer via STM32CubeProgrammer, I encounter the warning:
:warning: “The core is locked up”
:cross_mark: Mass erase / flash operation failed
As a result, the board does not operate normally.
Here is the log output:
Error in final launch sequence: Failed to execute MI command: load D:\XXX\XXX\XXX-v1.0\CM7\Debug\Integra-v1.0_CM7.elf Error message from debugger back end: Error finishing flash operation Failed to execute MI command: load D:\XXX\XXX\XXX-v1.0\CM7\Debug\Integra-v1.0_CM7.elf Error message from debugger back end: Error finishing flash operation Error finishing flash operation.
I have attached screenshots of the error for reference.
Has anyone encountered this issue or can suggest possible solutions?
Thank you.
2026-04-14 4:15 AM - edited 2026-04-14 4:19 AM
Hello @junagadh and welcome to the ST community,
You said you are using STM32CubeProgrammer why sharing screenshots from a deprecated tool STLINK-Utility? it induces to some confusions in your request!
Check if you have protected some pages in the Flash.
Check also you power config you set in your software versus your hardware power config.
Refer to this knowledge base article: How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?
2026-04-14 6:04 AM
An IMPRECISERR can suggest bad clock settings or design issues.
Has it ever worked? Has any program been put on a device?
If it's due to bad clock settings, you can boot to the bootloader to recover.
If it's a design issue, show the schematic.
2026-04-14 9:12 PM
thank you @mƎALLEm But I have tried all the available options along with the deprecated STLINK-utility as well as Stm32CUBEprogrammer. But the issues is not been resolved yet..
2026-04-15 1:15 AM
Did it work before? if yes, what you did on the board and suspect so the board changed the behavior?
If it never worked, I could suspect a hardware issue..
Hard to tell what the problem is according to the info available.