Skip to main content
Associate III
November 17, 2025
Question

STM32H755 dual core SWO printf

  • November 17, 2025
  • 1 reply
  • 149 views

Hi,

I would like to get printf() debug messages from both M7 and M4 core using SWO pin. It seems to work as expected on M7 core, but I cannot get it work on M4. Ideally, I would like to have messages from both cores in parallel, but it would be great to get both cores working separately. I have been using UART so far, but SWO sounds much better. 

Is it possible to get SWO printf() debug messages directly from M4 core?

Is it possible to use SWO on both cores in parallel?

1 reply

Technical Moderator
November 17, 2025

Hello @mosamasa 

I suggest that you take a look at this post, I think it should answer your question!

KR, Souhaib

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.