ECC Monitoring Enable for AXBS, Flash and RAM Array on MPC5746C

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ECC Monitoring Enable for AXBS, Flash and RAM Array on MPC5746C

ソリューションへジャンプ
366件の閲覧回数
NileshDharap
Contributor III

Hello,
I am working on a software safety requirement where ECC detection must be enabled on AXBS crossbar, Flash array, RAM array, DMA RAM, and FlexRay RAM.

For DMA RAM and FlexRay RAM, we found ECC-related control bits in registers DMA_ES and FR_MCR (see attached screenshots).

However, we couldn't find similar control bits for AXBS, Flash array, and RAM array in the MPC5746C reference manual.
Is ECC detection and correction enabled by default for AXBS, Flash and RAM arrays on MPC5746C?
Or is there any specific way or register to enable ECC for these?

Thanks in advance.
Nilesh

0 件の賞賛
返信
1 解決策
356件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. AXBS (Crossbar Switch)

  • End-to-End ECC (e2eECC) is supported across all bus masters and interconnects.
  • ECC is enabled by default for transactions through AXBS, ensuring data integrity from source to destination 

2. Flash Memory

  • ECC is enabled by default for Flash memory.
  • The C55FMC (Flash Memory Controller) handles ECC generation and checking.
  • Single-bit errors are automatically corrected, while multi-bit errors are detected and reported to the ERM/MEMU modules 
     

3. RAM Arrays

  • ECC support is available for internal SRAM and enabled by default.
  • ECC configuration for RAM is typically done via ERM (Error Reporting Module) or MEMU (Memory Error Management Unit) registers.

best regards,

Peter

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
97件の閲覧回数
mayank22
Contributor II

Hi Peter,

For the same topic I am trying to implement an interrupt based method to Monitor ECC for DMA via DMA_ES[UCE]. from our conversation we know that ECC for DMA is enabled by default. Now here is the issue , its a read only bit, 

The DMA_ES.UCE bit is set automatically by the eDMA hardware when an uncorrectable ECC error occurs during channel execution, as described in section 68.4.2 of the manual. 

To verify the behavior of DMA_ES.UCE, we need to manipulate the eDMA system to create an error scenario, such as corrupting the TCD memory. Is there any way to achieve this results where we can get the ECC bit set as we introduce the error. if so what can be approach to do so ?

0 件の賞賛
返信
357件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. AXBS (Crossbar Switch)

  • End-to-End ECC (e2eECC) is supported across all bus masters and interconnects.
  • ECC is enabled by default for transactions through AXBS, ensuring data integrity from source to destination 

2. Flash Memory

  • ECC is enabled by default for Flash memory.
  • The C55FMC (Flash Memory Controller) handles ECC generation and checking.
  • Single-bit errors are automatically corrected, while multi-bit errors are detected and reported to the ERM/MEMU modules 
     

3. RAM Arrays

  • ECC support is available for internal SRAM and enabled by default.
  • ECC configuration for RAM is typically done via ERM (Error Reporting Module) or MEMU (Memory Error Management Unit) registers.

best regards,

Peter

0 件の賞賛
返信
348件の閲覧回数
NileshDharap
Contributor III
Thanks for the quick reply, Peter
0 件の賞賛
返信