Address of Data cache in MPC5777C(e200z7) controller

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Address of Data cache in MPC5777C(e200z7) controller

156 次查看
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 回复数

146 次查看
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 项奖励

137 次查看
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 项奖励

123 次查看
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 项奖励