MMU assist register

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MMU assist register

515件の閲覧回数
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.

ラベル(1)
タグ(2)
0 件の賞賛
1 返信

415件の閲覧回数
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 件の賞賛