Skip to main content
Visitor II
September 23, 2025
Solved

STM32h745 dual core boot issue: can't launch CM4 debug (CM7 OK)

  • September 23, 2025
  • 2 replies
  • 435 views

Hi,

I am facing issue with bootup in stm32h745xih6 controller. I am able to initiate debug for CM7 but when I initiate the same for CM4, in that case CM 4 does not go in debug and it fails and following error in there:

mehrotraAkshay_0-1758630149641.png

<terminated>MOSv1.2_CM4 Debug [STM32 C/C++ Application]
<terminated, exit value: 0>arm-none-eabi-gdb (14.2.90.20240526)
<terminated, exit value: 18>ST-LINK (ST-LINK GDB server)

Whereas same application runs perfectly fine on STM32h745i discovery board.

So what could the issue be, could it be SW related or HW is at fault only?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    CM4 is going to into low power mode at the startup and there is a synchronization between CM7 and CM4 with the hardware semaphore.

    So try to undefine:

    mALLEm_0-1759831970779.png

    So, the CM4 will not enter to the low power mode and will not synchronize with CM7. Do you face the same behavior?

    2 replies

    Technical Moderator
    September 25, 2025

    Hello,

    If as you said it is working on a disco board,


    @mehrotraAkshay wrote:

    Whereas same application runs perfectly fine on STM32h745i discovery board.


    So what is the board you are using that presents the issue? Is it a ST board? Custom board?


    @mehrotraAkshay wrote:

    Hi,
    I am facing issue with bootup in stm32h745xih6 controller.


     

    Visitor II
    October 7, 2025

    Hi,
     
    It is a custom board, i can share the schematic if you want me to.

    Regards,
    Akshay

    mƎALLEmAnswer
    Technical Moderator
    October 7, 2025

    Hello,

    CM4 is going to into low power mode at the startup and there is a synchronization between CM7 and CM4 with the hardware semaphore.

    So try to undefine:

    mALLEm_0-1759831970779.png

    So, the CM4 will not enter to the low power mode and will not synchronize with CM7. Do you face the same behavior?