Tool/software: Code Composer Studio
Hello,
customer uses the MSP430G2230 and wants to use the Stack Usage function in CCS? Is there a description of this tool?
Regards, Holger
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.
Tool/software: Code Composer Studio
Hello,
customer uses the MSP430G2230 and wants to use the Stack Usage function in CCS? Is there a description of this tool?
Regards, Holger
Hello Rafael,
thx for answering. Btw, I think I can use the MSP430 "break on stack overflow" only when debugging not in runtime. Right?
Regards, Holger
Holger,
Yes, you are correct.
The way I see it, an implementation of a dynamic mechanism to monitor stack usage would steal precious bytes of a G2230 and is not necessarily guaranteed to work, given that a corrupt stack may lead to absolutely unpredictable outcomes. That is why we try to have tools to statically analyze stack usage.
Regards,
Rafael