We have a strange problem with CORTEX M7 (STM32F765) running FreeRTOS version 7.3.0
Hard faults are getting triggered randomly at different places in software.
Most of the time It is the FreeRTOS code that is triggering the fault (observation from call stack)
No issue with interrupt priority settings and no stack overflow observed.
Listed below are some of the STM32f765 fault flags that are getting set when faults are triggered.
INVSTATE, PRECISERR, IMPRECISERR, BFARVALID, BFAR, UNALIGNED, INVALIDINSTRUCTION
Any pointers on what can trigger this kind of system behavior?