cancel
Showing results for 
Search instead for 
Did you mean: 

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

mehrotraAkshay
Associate II

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?

3 REPLIES 3
mƎALLEm
ST Employee

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.


 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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

Regards,
Akshay

mƎALLEm
ST Employee

Hello,

CM4 is going to 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?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.