Skip to main content
DBrau.2
Associate III
November 29, 2020
Solved

Dual core H7 debugging problem in CubeIDE

  • November 29, 2020
  • 1 reply
  • 1890 views

I have a problem with launching both cores in STM32H745 in CubeIDE.

I've set that configuration:

  • connect under reset for CM7, with halt all cores
  • Cross Trigger Interface (CTI) , allow other cores to halt this core and signal halts events to other cores for both core 4 and 7
  • different port numbers for first and second core
  • in CM7 startup I added file *.elf from CM4 with option to download CM4 core
  • in CM4 startup I don't allow it to download this core
  • I set launch group which starts both cores

After starting I see that the LED on CM4 turn on only for a very short moment and then turn on only LED on CM7.

Therefore, I can debug only with BOOT0 connected to 3V3. If it's not connected it's impossible to connect with ST-Link. I guess that it's not right but I really don't know what cause this problem. Maybe it also cause that core CM4 finishes working.

Can you help me or give any link which could help me to configure debugger in CubeIDE or tell why I have a problem with connection without BOOT0?

This topic has been closed for replies.
Best answer by Imen.D

Hello @DBrau.2​ ,

Welcome to the STM32 Community :smiling_face_with_smiling_eyes:

I recommend you to follow this application note AN5361 in "3 Debugging" section, that covers the configurations needed to debug STM32H7 Series dual-core in STM32CubeIDE.

Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.

Imen

1 reply

Imen.DBest answer
ST Technical Moderator
November 30, 2020

Hello @DBrau.2​ ,

Welcome to the STM32 Community :smiling_face_with_smiling_eyes:

I recommend you to follow this application note AN5361 in "3 Debugging" section, that covers the configurations needed to debug STM32H7 Series dual-core in STM32CubeIDE.

Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks