To calculate stack coverage, TRACE32 needs to know the start and end address of each task's stack.
Some FreeRTOS versions do not provide the required stack information. In this case, the debugger cannot determine the complete stack range and therefore cannot calculate the stack coverage correctly.
For FreeRTOS versions that do not provide the stack size automatically, you can specify the stack size in bytes as the second parameter of the TASK.CONFIG command. For example, if all tasks on an Arm-based system use a stack size of 1024 bytes:
TASK.CONFIG ~~/demo/arm/kernel/freertos/freertos.t32 0 0x400For current FreeRTOS versions, automatic stack-size detection is supported when the required FreeRTOS configuration options are enabled. Refer to the "Manual Configuration" section of the OS Awareness Manual FreeRTOS for details.
Add a comment