2025-04-30 12:26 AM
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.
2025-04-30 12:45 AM
Hello,
You did not provide the FreeRTOS release you are using.
Could your issue be related to what is described here : https://mcuoneclipse.com/2025/03/29/workaround-for-freertos-runtime-counter-issues-in-vs-code/ ?
Best regards
2025-04-30 1:37 AM - edited 2025-04-30 1:50 AM
I'm using FreeRtos CMSIS V2.
Iam checking runtime because I'm configuring a peripheral with DMA and Without DMA.
AS CPU intervention is not there while we are using DMA.