cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755 dual core debugging problem

JUANdeJESUS
Associate II

Good morning:

Please I would like to receive your help.

I am starting to learn to program the STM32H755 microcontroller using a nucleo board and the STM32CUBE IDE tools.

My first project is to blink two leds using individual CPUs. That is, the green LED with the M4 CPU and the red LED with the M7 CPU.

After configuring the debugger, the system only programs the M4 CPU and additionally the algorithm runs very slowly.

Please, I would appreciate your valuable help on this issue.

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Hello again  @JUANdeJESUS 

There are some suggestions in order to troubleshoot your issue :

1-In debug configuration check "Halt all cores" in reset behavior

SouhaibMAZHOUD_0-1700662667869.png

2-Go to the Startup tab and select [Edit…]>[Disable Download]. This is required since the download is already
performed by the Cortex®-M7 configuration 

SouhaibMAZHOUD_1-1700663147316.png

3- You can launch the debug session on both cores with only one launch configuration as shown below 

 

SouhaibMAZHOUD_2-1700663313760.png

 

Thx

Souhaib 

View solution in original post

3 REPLIES 3
Souhaib MAZHOUD
ST Employee

Hello @JUANdeJESUS and welcome to the community!

I recommend you this document AN5361 , which can help you in debug configuration with STM32H7.

Thank you,

Souhaib

JUANdeJESUS
Associate II

Hello:

Thank you for your reply.

I have been studying the documents: AN5286 and AN5361, I have followed in detail all that the steps suggested in these two documents, but the problem persists.

I appreciate your help.

 

Hello again  @JUANdeJESUS 

There are some suggestions in order to troubleshoot your issue :

1-In debug configuration check "Halt all cores" in reset behavior

SouhaibMAZHOUD_0-1700662667869.png

2-Go to the Startup tab and select [Edit…]>[Disable Download]. This is required since the download is already
performed by the Cortex®-M7 configuration 

SouhaibMAZHOUD_1-1700663147316.png

3- You can launch the debug session on both cores with only one launch configuration as shown below 

 

SouhaibMAZHOUD_2-1700663313760.png

 

Thx

Souhaib