Checking for stack overflow

Hi,

I wonder what mechanism I can use to check a stack overflow. My company develops systems that should shut down if anything uncontrollable occurs. We are using the STM32F103 micro controller and dont use an RTOS or alike and write all the code ourselves. Is there some hardware guard to catch a stack overflow?

Thanks,

Henk

Parents Reply Children
More questions in this forum