[8555 ERM - L2 Cache - Initialisation] How to check whether cache is initialised by Core or by DMA Engine?

cancel
Showing results for 
Search instead for 
Did you mean: 

[8555 ERM - L2 Cache - Initialisation] How to check whether cache is initialised by Core or by DMA Engine?

584 Views
kaurnakarhv
Contributor II

Hi,

As per the Reference Manual of 8555, I wanted to know during the L2 cache Initialization:

1. How to check whether cache is initialized by core or by DMA engine?

2. In manual it states that ECC should be disabled if it is initialized by core else if it is DMA engine, ECC can be enabled(I am confused about this line in the reference manual)

Regards,

Karunakar

Labels (1)
Tags (1)
2 Replies

369 Views
r8070z
NXP TechSupport
NXP TechSupport


Have a great day,

The manual says that for case when L2 cache is configured as Memory-Mapped SRAM. Notice initialization should be made by software. So software designer decides how to initialize this memory.

* One way is execute software routine which fills this SRAM memory by the store instructions, i.e. initialize by core. Because in this case memory filled by sub-cache line transactions false ECC errors will be generated during the read-modify-write process. So software designer has to disable ECC error checking.

* The second way is programming DMA engine to write to this SRAM. For example we can move aligned cache-line size pattern from some memory to the SRAM. (For example we can move it from the NOR flash). In this case DMA engine uses cache-line writes; hence ECC checking can remain enabled during the initialization process.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

369 Views
kaurnakarhv
Contributor II

Thanks.

0 Kudos