FreeRTOS: Task run-time stats always show N/A — how to fix?
- April 30, 2025
- 1 reply
- 691 views
Hello,
I am working with an STM32L series controller and using FreeRTOS in my project. I have enabled runtime statistics in FreeRTOS and configured the timer accordingly, but when I debug the code, I am getting N/A in the FreeRTOS task list for the runtime stats.
Here’s what I have done so far:
Enabled runtime stats in FreeRTOS.
Configured a timer to track the task runtime.
Debugging in STM32CubeIDE.
Despite this, I’m seeing N/A in the runtime stats when I check the FreeRTOS task list. Could anyone help me figure out why this might be happening?
Also, since I’m using DMA to configure the peripheral, is there an alternative way to observe the task runtime or changes in runtime without relying on the current setup?
Any suggestions or pointers would be greatly appreciated!
Thank you in advance.
