2013-07-22 09:27 PM
Hi all,
I am getting hardfault exception in my code. And when i watched my registers CFSR and HFSR their values are like
CFSR = 0x00001100
- IBUSERR = 1
- STKERR = 1
HFSR
- FORCED = 1
So can you just tell me what those flag means?
I am using STM32F407 microcontroller. And for coding and compiling i am using IAR Embedded Workbench with versino 6.40. What problem i am actually facing is that due to some reason my controller is going into the hardfault which is an exception. So i just want to trace the previous state or previous function which cause to this hardfault. So how can i trace that?
Thanks & Regards,
Jonam