Address of Data cache in MPC5777C(e200z7) controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Address of Data cache in MPC5777C(e200z7) controller

433 Views
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 Kudos
Reply
3 Replies

423 Views
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 Kudos
Reply

414 Views
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 Kudos
Reply

400 Views
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 Kudos
Reply