Fatal exception while changing the memory entries in ARMv7 MMU

Utkarsh Rai utkarsh.rai60 at gmail.com
Sat Jul 25 15:44:01 UTC 2020


Hello,
While changing the memory entries for a section in the ARMv7 MMU using
'arm_cp15_set_translation_table_entries()' I get fatal exception error. On
stepping through the debugger, the exception occurs when invalidating the
data TLB entries, using 'arm_cp15_tlb_data_invalidate_entry()'.

You can view the relevant snippet here
<https://gist.github.com/ur10/2a5cac44e75d247faf48a8f268b94eea>.
Interestingly enough, the fatal exception occurs when I change the memory
attribute from READ/WRITE to READ ONLY. Can someone point out my mistake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200725/3af459d0/attachment.html>


More information about the devel mailing list