cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug both cores of the STM32H745 simultaneously?

yuri CH
Senior

Hello!

i am working with the stm32h745 nucleo 144 board.

i want to be able to debug both cores simultaneously using the onboard STLINK debugger, with no luck so far.

followed the instructions from this ST document: https://www.st.com/resource/en/application_note/dm00597308-stm32h7x5x7-dualcore-microcontroller-debugging-stmicroelectronics.pdf

the defenitions are in place, i am able to start download and debug on one of the cores (doesnt matter which) as long as the other one is not touched. as soon as i try to start debbugging the other one (on a seperate instance of IAR) i get the following error message: Fatal Error - STLINK connection error.

please advise on how to make this work and what am i doing wrong?

thanks in advance.

2 REPLIES 2
Imen.D
ST Employee

Hello @yuri CH​ ,

Make sure you have the recent ST-LINK firmware and drivers.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
yuri CH
Senior

Hi, thanks for responding.

i have tried with the board as it arrived.

after i was unsuccessful i have connected to the nucleo board with stmCubeProgrammer

and updated the ST link to V3.

still doesn't work.