2022-03-29 10:44 PM
The core registers are as follows :
R0 = 0 R1 = 0 R2 = 40005400 R3 = 70000 R12 = 802d8f9 LR = 800a88b PC = 8001ba0 PSR = 100002f- FSR/FAR: CFSR = 10000 HFSR = 40000000 DFSR = 0 AFSR = 0
By disassembling the code, I found that the faulty instruction as given below:
0x08001ba0: ea040601 .... AND r6,r4,r1
Thumb mode has not been selected in the target settings of Keil. Any insights on how should I proceed to solve this would really be helpful. Thank you.
2022-05-30 09:45 PM
Hello, I found the solution for this problem. I came to know that the ART sometimes fails when we use highest frequency, 120MHz in my case. I disabled the instruction cache and changed the wait states of data cache from 3 to 4. I have not encountered the hard fault ever since. Thank you.