2024-08-01 01:08 AM
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?
2024-08-01 01:31 AM
You can use CubeProgrammer and connect to SWV :
+ just set real cpu frequ.
2024-08-01 01:36 AM - edited 2024-08-01 01:38 AM
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.