[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?

879件の閲覧回数
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)
  • DDR

タグ(1)
2 返答(返信)

664件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

664件の閲覧回数
kaurnakarhv
Contributor II

Thanks.

0 件の賞賛