Content originally posted in LPCWare by FlySnake on Mon Dec 05 10:13:01 MST 2011
Yes:
PSR = 0x01000003 (current exception = HardFault, 24th bit always set to 1)
CFSR = 0x00000400 (IMPRECISERR)
All what I know about IMPRECISERR from Cortex-M3 book:
Quote:
For precise bus faults, the offending instruction can be located by the stacked program counter, and if the BFARVALID bit in BFSR is set, it is also possible to determine the memory location that caused the bus fault. This is done by reading another NVIC register called the Bus Fault Address Register (BFAR). However, the same information is not available for imprecise bus faults because by the time the processor receives the error, the processor could have already executed a number of other instructions.
:confused: