After I have enabled MMU, I want to write a value to a specify address by DS-5. The DS-5 reports an error as following:
memory set_typed EL3:0x0000000080006000 (unsigned int) (0x1)ERROR(TAD11-NAL23): ! Failed to write 4 bytes to address EL3:0x0000000080006000! Error accessing memory.
Then I read this address by DS-5 again. I find the value has been wrote to the address.
By the way, if I disable MMU, I can write a value to a specify without any error.
What does DS-5 check, after it writes a value to a specify address?
Thanks!
Does the MMU remap this address to another, and/or change the access permissions of this address? DS-5 has a handy MMU view (as well as the mmu commands) to help you investigate this.
The virtual address, 0x80006000 is mapped to physical address 0x80006000. I can verify it by MMU view.