AnsweredAssumed Answered

stack use monitor

Question asked by berlin.andrew on Aug 3, 2011
Latest reply on Aug 4, 2011 by berlin.andrew
I'd like to add stack usage monitoring to my application. I can't afford the overhead of stack checking on every function call, so I was considering adding a routine that runs periodically to monitor the stack high-water mark. I'm not using an RTOS.

I know my stack size, but how do I find the beginning of the stack? will it always start at the same place? I'm using the Keil tools, if that makes a difference.