cancel
Showing results for 
Search instead for 
Did you mean: 

_unhandled_exception but nothing in fault analyzer

debugme
Associate II

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.

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Pavel A.
Evangelist III

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.