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.
Hello,
we have been developing our application using F2812/F2811 and using CCS v6.
looking around we could not find any static stack estimation based on function call in the firmware, maybe we did not know how to activate this feature.
can you please let us know if there is any way to estimate stack (statically or dynamically)?
Thanks,
Henry
To estimate the stack statically, try the call_graph utility in the cg_xml package.
Thanks and regards,
-George
How about just filling the stack with a known value (e.g, 0xdead) using the emulator, and then letting your application run for a while. Then go back and examine the stack for usage.
Also, appnote SPRA820 shows a method for detecting stack overflow at runtime BEFORE it occurs.
Regards,
David