This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1290NCPDT: Stack usage in CCS

Part Number: TM4C1290NCPDT


Tool/software: Code Composer Studio

The application uses free RTOS (3 equal priority tasks) and several interrupts. When I look

at stack usage in CCS, there are yellows for all tasks and many ISRs. I was able to quadruple

the allotted stack, heap and the size of each RTOS task. But the yellow lines don't change.

Why is this? Why doesn't the size of the RTOS task not show up in the stack usage view?

Thanks,

Priya

  • The Stack Usage view is a static view of the system stack, the information for which is generated during project build. It does not provide run-time analysis, and it will not provide information on a per task basis.

    For task stack analysis you would need some sort of RTOS debugging tool. We have the ROV tool that supports TI-RTOS but do not have anything built into CCS that supports FreeRTOS. However I found this thread about some Eclipse plugins that you might want to give a try.
    https://e2e.ti.com/support/tools/ccs/f/81/t/801116