cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to receive SWV ITM debug data without Cube being in the post-F11 debug context?

PHolt.1
Senior III

Currently the Cube SWV ITM debug console does not receive the data unless you have built the project using the build+debug option F11.

This is a problem sometimes, when running code which contains the debug statements but which wasn't loaded from Cube IDE.

Or maybe there is some other program which can interface to STLINK V3 and receive this data?

2 REPLIES 2
AScha.3
Chief II

You can use CubeProgrammer and connect to SWV :

 

AScha3_1-1722501038670.png

+ just set real cpu frequ.

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

ST-LINK Utilities used to do it and STM32 Cube Programmer can do so now.

Code.running on MCU can set.up ITM, DWT and FPB too depending on how hard core bare metal you want to go.

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