cancel
Showing results for 
Search instead for 
Did you mean: 

SWO doesn't work

Hwoo-
Associate II

Hi, everyone

I use stm32f429ZI (180MHz)​

The setting contents were attached to the file

Any advice would be appreciated

Best regards,

2 REPLIES 2

What board?

Is PB3 / SWO pin wired to debugger or needs solder bridge made​?

Does ITM_SendChar() work?

Do you have plumbing working so STDIO uses SWV?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mattias norlander
ST Employee

The CubeMX configuration to enable Debug == Trace Asynchronous Sw, is actually not required at all with CubeIDE. Why? At debug launch, the CubeIDE will configure all needed registers on the device to allow SWV trace.

I also think that the first test should be to just use ITM_SendChar() directly to print a character on ITM-port 0. If this works, then you have to look at glueing it together in syscalls.c:_write() function to have printfs directed to ITM-port 0...