2026-05-20 12:29 AM
Hello All,
I am facing a problem for debugging one of the board which uses stm32h7 controller.
I am not sure why this is happening but on other board I am able to debug it, but for first one its not working.
Though the code and debug config settings are same for both the board and using same system to debug both, but on one board I am able to debug while on other its is not. so could you please tell me what I can try to resolve this issue.
Thanks,
SD
2026-05-20 12:38 AM - edited 2026-05-20 1:30 AM
You need to give more details - please see:
How to write your question to maximize your chances to find a solution
In particular:
PS:
See also:
How to solve connection errors when connecting and programming the STM32 target board;
How to solve debugger connection issues
2026-05-20 3:11 AM
Hello,
All STM32H7xx devices are not the same. Their ST boards too.
What board are you using. NUCLEO? DISCO? Custom?
Some boards are configured in SMPS others are in LDO.
So you need to check what power config is set in the board by hardware and set accordingly the power config by software.
But before that you need to recover the board from the power deadlock state: How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?
2026-05-20 3:24 AM - last edited on 2026-05-20 3:30 AM by Andrew Neil
Hello @Andrew Neil ,
Thanks for the quick reply, The post would be long so hence didn't post lot of details,
here are the details as required.
This is what happening after the code is flashed and after few seconds getting "Target is not responding, retrying"
2026-05-20 3:28 AM - edited 2026-05-20 3:31 AM
1- Please provide details about the power config of your custom board? LDO? SMPS? what you have configured by software?
2- "I am not sure why this is happening but on other board I am able to debug it, but for first one its not working."
-> Are the boards having the same schematic/hardware?
2026-05-20 3:35 AM
@Shiv09 wrote:
- What debug probe? ST Link gdb
What version of ST-Link?
Is it genuine?
How to recognize a genuine ST-LINK/V2 versus a cloned one
Have you tried connecting under hardware reset?
Have you tried using the System Bootloader?
@Shiv09 wrote:
- Full details of these two boards.- These are custom board using STM32H757BITb on it
- Has the non-working board ever worked?- No
Then please show schematics.
Is the non-working working board functional at all ?
As @mƎALLEm suggested, have you verified the power configuration?
2026-05-20 3:46 AM
Hello @mƎALLEm
Here is the details
Though the settings and configuration is notchanged.
Yes both the boards are identical, and same.