How to handle this Data Abort exception in ARM 7?

2019-08-31 10:31发布

问题:

I am working on ARM 7 board and facing data handler related issues i.e. many times board got stuck at 0x10. I checked CPSR register and found mode is 0x17(Abort mode). How to handle this Data Abort exception in ARM 7? I tried to configure in exception vector but it failed. Also the R14(Linked Register) is different at every time.

Disassembly

Next label is a Thumb label
FIQ_MODE:
USER_MODE:
--> 00000010 E59FF018 LDR PC, [PC, #+24]    ;D ABT [0x30] = USR_MODE (0x10)

Using IAR. Data Abort occurring after servicing many IRQs for long time.