2026-02-05 9:20 PM
I am working on STM32h747 series. I am debugging both CM4 and CM7. After a while, CM4 stops responding and the debug messages shows:
"Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (4) No device found on target."
If I run CM7 independently, it works but CM4 is not responding. I tried to erase the entire board but CM4 is still not responding and the same message is appearing.
2026-02-05 11:42 PM - edited 2026-02-05 11:52 PM
Hello @aradhyab and welcome to the ST community,
If you have generated the code based on CubeMx or used one of the HAL examples, CM4 enters into a low power mode state and the debug is a bit tricky.
Do you have this definition in both mains (CM7 and CM4)?
#define DUAL_CORE_BOOT_SYNC_SEQUENCE
If yes undefine it.
Check also if CM4 is disabled in the option byte.
2026-02-06 1:13 AM
Hello @mƎALLEm
Thank you for the prompt response.
Regarding
#define DUAL_CORE_BOOT_SYNC_SEQUENCE
I have undefined it but it still does not work. It shows the same error.
Can you please guide me on how to check if the option byte is enabled or disabled?
2026-02-06 1:17 AM
@aradhyab wrote:
Regarding
#define DUAL_CORE_BOOT_SYNC_SEQUENCE
Did you undefine it at both sides CM7 and CM4?
@aradhyab wrote:
Can you please guide me on how to check if the option byte is enabled or disabled?
Using the STM32CubeProgrammer:
BCM4 should be checked as shown in the screenshot.
2026-02-08 8:23 PM
Yes, I undefined dual boot core sequence at both the sides and BCM4 is also checked as shown by your screenshot.
2026-02-13 4:26 AM
Hello @mƎALLEm
Can you provide me any other way to boot CM4 again. I am unable to do it yet. I was in debug mode and restarted the controller when CM4 stopped responding. Even after erasing the codes in both the cores, CM4 is still not responding.
2026-02-13 4:54 AM
Hello,
Check also if CM4 boot addresses have the following values in the option bytes:
2026-02-17 8:47 PM
Hello,
I checked the addresses, they are correct.
Is there anything else that needs to be checked?
2026-02-17 11:44 PM
1- What board are you using?
2- Share your project
2026-02-19 11:21 PM
Hi,
I am using board STM32H747IIT6.
I tried a few things and it turns out that when I assign LSE clock to RTC, CM4 does not boot, but when I assign LSE to LSI, it boots.
My requirement is to use internal clock for RTC. Can you suggest what can I do?
Also, can you tell me on where can I share my project with you?
I have also attached the clock configuration images for your reference. The first image is the configuration which is not working and the second one seems to work.