DSPRelated.com
Forums

Stack overflow detection

Started by Bhaskar Reddy N January 20, 2006
Can anyone provide good logic for Stack overflow detection specially for C6x. I came to know the Stack painting logic, in which we will be filling the stack with known data like "0xdeadbeaf" and check at the end of stack area moving towards beginning of stack. But this has its own limitations. I have seen a stack overflow interrupt available in c28x processors. 
 
Thanks in advance.
Bhaskar Reddy N 


Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.