1. How to check illegal memory access in lm3s9b92 microcontroller
Hello Venkatesan,
You would want to review the value in FAULTSTAT (which is actually four 8-bit fault registers). Those registers will contain the identified cause and whether an address was identified as the location that caused the fault. If an address was identified, it will be stored in the MMADDR or FAULTADDR depending on the type of fault that was generated.
A fault or exception will also result in registers being pushed onto the stack in this order: R0, R1, R2, R3, R12, LR, PC. Those can also be useful in narrowing the cause of the fault further.