MMU assist register

cancel
Showing results for 
Search instead for 
Did you mean: 

MMU assist register

135 Views
siyuwu
Contributor I

Hi there,

I'm facing an issue when trying to write to the EPN field while configuring TLBs. The final value being written does not match the value which I had set in code.

Here is what I was trying to do:
I was trying to set up a TLB with page size of 1M with EPN representing start address of 0x60080000. Once the code executed, I looked at the debugger and the EPN showed up as being set to represent address of 0x60000000. However, if I change the TLB size to 512k, the relevant TLB would work fine and show up as having EPN being set to 0x60080000.

Question:

Why am I not able to set the EPN to 0x60080000 when having TLB size of 1M? I was not able to find anything in the e200  manual.

Labels (1)
Tags (2)
0 Kudos
1 Reply

35 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, it is due to  alignment.

0x60080000 is not divisible by 1Meg but it is divisible by 512kbyte. Address spaces must be aligned.

0 Kudos