2025-07-31 9:43 AM - edited 2025-07-31 9:44 AM
Hello All,
I am trying to use the SWV Statistical Profiler in STM32CubeIDE while debugging a stm32H7.
I am also using ThreadX RTOS for the project.
I am getting debug output from the SWV Trace Log. But nothing is appearing in the SWV Statistical Profiler. The RED button is not grayed out - but it also does not log anything after pressing record when debug is paused. and then resuming.
I have ITM Stimulous port 0 checked and PC Sampling and Timestamps checked, as well as EXETRC checked.
I am wondering is this something that is disabled when using an RTOS? I understand that the output will be spread between tasks.
I am also running STMCubeIDE on linux.
Any Help/Tips Appreciated
Thanks,
-Trevor
2025-08-01 11:50 AM - edited 2025-08-01 11:51 AM
Did it work in previous CubeIDE version?
2025-08-09 11:52 AM
This is my first time using ThreadX in a project. I can confirm that using it in a simple nucleo H7 project - the profiler works fine with my setup. (and has worked previously).
As of now - I can only assume something with ThreadX disables it.
2025-08-10 4:09 AM
I'm using SWV trace Log with ThreadX (and FreeRTOS) an for me it's working. Please verify that the TRACESWO pin is set to the SWO function (AF0) by you application.