MPC5777CRM EBI access by 2 cores

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

MPC5777CRM EBI access by 2 cores

Jump to solution
849 Views
Nagendra_Kumar
Contributor II

Hi, I am trying to access EBI by 2 cores for accessing DPRAM(core 0) and for Flash and Ram(for core 1) and observed some data is being corrupted.

Kindly Help me in this regard.

Is this possible without using semaphores.

0 Kudos
1 Solution
843 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

From hardware point of view it is possible.

You needed to have either disabled cache memories or enable cache snooping for all masters accessing this XBAR slave port (EBI). The same fro other slaves.

Maintaining software coherency is other topic and there using of semaphores is needed.

View solution in original post

0 Kudos
3 Replies
844 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

From hardware point of view it is possible.

You needed to have either disabled cache memories or enable cache snooping for all masters accessing this XBAR slave port (EBI). The same fro other slaves.

Maintaining software coherency is other topic and there using of semaphores is needed.

0 Kudos
785 Views
Nagendra_Kumar
Contributor II

Dear Sir,@davidtosenovjan

I found the following for achieving Memory Coherency,

For writes originating from either core, the MMU for the core must be configured with
Memory Coherence (M bit) and Write Through (W bit) set for the address spaces to be
accessed.

 

How to configure the MMU, Kindly Help

Awaiting your reply

0 Kudos
833 Views
Nagendra_Kumar
Contributor II

Hi @davidtosenovjan ,

Thanks for the reply, 

Could you please provide some example or some support code to disable cache memories or enabling the cache snooping of the slave . We have no idea how to do the same,

Thanks again

0 Kudos