Address of Data cache in MPC5777C(e200z7) controller

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

Address of Data cache in MPC5777C(e200z7) controller

1,087件の閲覧回数
Indra
Contributor III

Hi,

How can I find the address of data cache on MPC5777C. Is there any possibility of finding the address of the core registers on the controller for instance the Machine state register(MSR).

BR,
Indra

0 件の賞賛
返信
3 返答(返信)

1,077件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

If I understand you well, you are looking for SPR number of cache control registers. You may find it in the core reference manual as on the screenshot below:

davidtosenovjan_0-1709577431764.png

MSR does not have any number, it is special register and access goes over mtmsr anf mfmsr instructions.

If you meant your question otherwise, please clarify.

0 件の賞賛
返信

1,068件の閲覧回数
Indra
Contributor III

Hi david,
I need the real address of the data cache. In core manual what I get to know is the load/store fetch instructions generates effective address and mmu translates them to real address how can we know those addresses

0 件の賞賛
返信

1,054件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Real to effective address relation is not affected by cache. It is given by MMU setting.

Cache itself is not memory mapped.

But usually debuggers are capable to show cached content as shown below, for instance.

T32_cache_dump.png

 

 

0 件の賞賛
返信