I was reading through the FAQ and noticed that the sum of my stack usage should be less than 9. Currently my stack usage is 14 (7 in main + 7 in ISR).
Is there a software means of profiling my stack usage to find where the software stack is being used? Or is the only way to find stack usage is to find where a function is being called by both the ISR as well as via the main() routine?
Even though I don't believe that I have had any problems related to the stack in the past two years, where is has always been 12 or more), I am now running in to some erratic behavior that might be related to stack overflow. Could a stack overflow cause the CCP5CON special function register to be cleared? And could a stack overflow cause the following to occur:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum