2022-11-17 4:04 AM
Hi,
I'm working on a c++ project and encountering the _unhandled_exception error. I'm trying to look cause for this error but fault analyzer in stm32cube ide is showing as No Fault Detected.
I've looked into call stack and observed that "<signal handler called>() at 0xfffffffd" is executed just before the "VectorFC() at vectors.S:1,021 0x80002da".
I'm not sure what signal handler is and hence unable to identify the root cause.
I've tried varying the stack size, but error remains the same.
2022-11-18 2:08 PM
Values like 0xfffffffd on stack are symptoms of Cortex-M exceptions.
These are hardware exceptions, not C++. There are various exceptions, not only HardFault.
Try to go to the stack frame of the "signal handler" then view in disassembly the location pointed by LR.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.