cancel
Showing results for 
Search instead for 
Did you mean: 

The SWD and Trace ports on STM32H7

RBharol
Associate III

The SWD port appears to be dedicated to CM7 core. My first question is whether it can be dedicated to CM4 and second question is how to use Trace port on CM4?

Thanks

2 REPLIES 2
TDK
Guru

Access port 0 connects to the CM7. Access port 3 connects to the CM4 core. You can change it under debug configurations.

https://www.st.com/resource/en/application_note/dm00629855-getting-started-with-projects-based-on-dualcore-stm32h7-microcontrollers-in-stm32cubeide-stmicroelectronics.pdf

If you feel a post has answered your question, please click "Accept as Solution".
RBharol
Associate III

Thanks a lot. That document shows selecting the access port in an IDE. Where exactly is the change made (which registers). I use GCC linux environment (No Ide).