This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No data shown it Debug (printf) Viewer

I am using STM32F103CB. I have followed the instructions below to get a printf() statement to send the message to the Debug(printf)Viewer but do not get any message in the window.

1. Check the STDERR, STDIN and STDOUT components and set the Variant to ITM for each component.

2. Add a debugging trace messages using printf.

3. Set up the debug session for SWO trace.

4. Set the ITM Port 0 to capture the information. Clear the Privilege Port 7..0 to access ITM Port 0 from User Mode.

Regards