Part Number: DK-TM4C129X
i am using dk-tm4c129x board how can i read status of stack memory current status ?
i want to know free space available in stack memory how can i read it?
how can stack memory overflow check ,erase ,reset?
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.
Part Number: DK-TM4C129X
i am using dk-tm4c129x board how can i read status of stack memory current status ?
i want to know free space available in stack memory how can i read it?
how can stack memory overflow check ,erase ,reset?
Hi,
In CCS, there is a utility called Stack Usage that you can play with. Go to CCS -> View -> Stack Usage. Here is a link to explain how Stack Usage works. http://software-dl.ti.com/ccs/esd/documents/ccs_stack_usage_view.html. Note this is a static way of assessing the stack usage only.
This article may be also helpful.
https://embeddedgurus.com/stack-overflow/2009/03/computing-your-stack-size/