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

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

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

882 次查看
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

标签 (1)
标记 (1)
2 回复数

667 次查看
r8070z
NXP Employee
NXP Employee


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!
-----------------------------------------------------------------------------------------------------------------------

667 次查看
kaurnakarhv
Contributor II

Thanks.

0 项奖励