MX8M plus ECC on OCRAM n L1 L2 cache

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

MX8M plus ECC on OCRAM n L1 L2 cache

Jump to solution
3,537 Views
Jagmevada
Contributor II

I m planning to use MX8m plus for application where SER is not acceptable, can somebody confirm if this device has ECC on its OCRAM (868kb) and ECC on L2 cache (512kb) as some datasheet n online block diagram are confusing this specification, also pl confirm if any ECC or parity feature there for L1 chache 

0 Kudos
Reply
1 Solution
3,404 Views
jamesbone
NXP TechSupport
NXP TechSupport

ECC on OCRAM/TCM it is enabled by default.    L1 Cache has parity bit for 1-bit Error, since this is part of the archicterure of the ARM Cores, but it is not enable by default,  for cheching settings you need to look into the ARM Core Documentation. 

  • ACTLR_EL1 (Auxiliary Control Register):
      • Controls parity and ECC features.
      • Bits related to parity:
        • L1IPE (bit 19): Enable parity for L1 instruction cache.
        • L1DPE (bit 20): Enable parity for L1 data cache.

 

 

View solution in original post

0 Kudos
Reply
6 Replies
3,405 Views
jamesbone
NXP TechSupport
NXP TechSupport

ECC on OCRAM/TCM it is enabled by default.    L1 Cache has parity bit for 1-bit Error, since this is part of the archicterure of the ARM Cores, but it is not enable by default,  for cheching settings you need to look into the ARM Core Documentation. 

  • ACTLR_EL1 (Auxiliary Control Register):
      • Controls parity and ECC features.
      • Bits related to parity:
        • L1IPE (bit 19): Enable parity for L1 instruction cache.
        • L1DPE (bit 20): Enable parity for L1 data cache.

 

 

0 Kudos
Reply
3,289 Views
Jagmevada
Contributor II

Further studying mx8mp documents, for OCRAM ECC, I could find single document mentioning about ECC details on OCRAM, not even in mx8mp ref manual. Could you please provide details, where I can find register details of ECC OCRAMs, how can we inject bit error to OCRAM to see ECC performance,  also want to log ECC errors (SER), is there any interrupt to trigger when Error occured? Pl help on this, we cannot use device if ECC is not there in silicon revision.

0 Kudos
Reply
3,416 Views
jamesbone
NXP TechSupport
NXP TechSupport

We can confirm that, the i.MX8M Plus does support ECC on OCRAM and L2 cache, but not on L1 cache. The ECC reference in the datasheet includes software-accessible SRAMs like OCRAM and TCM.

To avoid any more confusion the NXP product page has the mistake with the 768 KB OCRAM with EC,  the correct number it is in the Datasheet with the 868 KB OCRAM.

This ECC applies to the internal software-accessible SRAMs like it was already mention  this includes OCRAM and TCM used by CHiFi4 DSP and Cortex-M.

 

0 Kudos
Reply
3,407 Views
Jagmevada
Contributor II

Thank you so much for confirmation. just last clarification on ECC, do we need to enable ECC on OCRAM/TCM or it is enabled by default. Also, does L1 caches (data/instr for M7 MCU and A53 cores) has parity bit for 1-bit error detection?, if so it is enabled by default?

0 Kudos
Reply
3,512 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

According to datasheet block diagram ECC is supported in 512 KB L2 Cache and x32 LPDDR4/DDR4.

Best regards.

0 Kudos
Reply
3,468 Views
Jagmevada
Contributor II

On first page of datasheet,

"High industrial system reliability for safety is leveraged by DRAM Inline ECC as well as ECC support on internal software-accessible SRAMs." 

Is it talking about OCRAM/TCM used with internal HIFI4 and MCU ?

Also on product main page on NXP website https://www.nxp.com/products/i.MX8MPLUS, it is mentioned 768 OCRAM with ECC, but datasheet says 868kB OCRAM (no mention of ECC)

Also in attached product brief pdf it is mentioned it has ECC on OCRAM. 

It is essential to have low SER for application for which we are planing to use this device. ECC would greatly enhance effective SER performance, and this device has all functions which we are looking for, so please could you reconfirm whether it has ECC on OCRAM or not. also pl confirm if L1 cache has parity (single bit error detection) bit or not. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2195780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20m%20planning%20to%20use%20MX8m%20plus%20for%20application%20where%20SER%20is%20not%20acceptable%2C%20can%20somebody%20confirm%20if%20this%20device%20has%20ECC%20on%20its%20OCRAM%20(868kb)%20and%20ECC%20on%20L2%20cache%20(512kb)%20as%20some%20datasheet%20n%20online%20block%20diagram%20are%20confusing%20this%20specification%2C%20also%20pl%20confirm%20if%20any%20ECC%20or%20parity%20feature%20there%20for%20L1%20chache%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2204046%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2204046%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFurther%20studying%20mx8mp%20documents%2C%20for%20OCRAM%20ECC%2C%26nbsp%3BI%20could%20find%20single%20document%20mentioning%20about%20ECC%20details%20on%20OCRAM%2C%20not%20even%20in%20mx8mp%20ref%20manual.%20Could%20you%20please%20provide%20details%2C%20where%20I%20can%20find%20register%20details%20of%20ECC%20OCRAMs%2C%20how%20can%20we%20inject%20bit%20error%20to%20OCRAM%20to%20see%20ECC%20performance%2C%26nbsp%3B%20also%20want%20to%20log%20ECC%20errors%20(SER)%2C%20is%20there%20any%20interrupt%20to%20trigger%20when%20Error%20occured%3F%20Pl%20help%20on%20this%2C%20we%20cannot%20use%20device%20if%20ECC%20is%20not%20there%20in%20silicon%20revision.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200989%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200989%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EECC%20on%20OCRAM%2FTCM%20it%20is%20enabled%20by%20default.%26nbsp%3B%20%26nbsp%3B%20L1%20Cache%20has%20parity%20bit%20for%201-bit%20Error%2C%20since%20this%20is%20part%20of%20the%20archicterure%20of%20the%20ARM%20Cores%2C%20but%20it%20is%20not%20enable%20by%20default%2C%26nbsp%3B%20for%20cheching%20settings%20you%20need%20to%20look%20into%20the%20ARM%20Core%20Documentation.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C!--StartFragment%20--%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EACTLR_EL1%20(Auxiliary%20Control%20Register)%3A%3C%2FSTRONG%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EControls%20parity%20and%20ECC%20features.%3C%2FLI%3E%0A%3CLI%3EBits%20related%20to%20parity%3A%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3E%3CCODE%3EL1IPE%3C%2FCODE%3E%20(bit%2019)%3A%20Enable%20parity%20for%20L1%20instruction%20cache.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3EL1DPE%3C%2FCODE%3E%20(bit%2020)%3A%20Enable%20parity%20for%20L1%20data%20cache.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C!--EndFragment%20--%3E%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20so%20much%20for%20confirmation.%20just%20last%20clarification%20on%20ECC%2C%20do%20we%20need%20to%20enable%20ECC%20on%20OCRAM%2FTCM%20or%20it%20is%20enabled%20by%20default.%20Also%2C%20does%20L1%20caches%20(data%2Finstr%20for%20M7%20MCU%20and%20A53%20cores)%20has%20parity%20bit%20for%201-bit%20error%20detection%3F%2C%20if%20so%20it%20is%20enabled%20by%20default%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200887%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200887%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3C!--StartFragment%20--%3E%3C%2FP%3E%0A%3CP%3EWe%20can%20confirm%20that%2C%20the%20i.MX8M%20Plus%20does%20support%20ECC%20on%20OCRAM%20and%20L2%20cache%2C%20but%20%3CEM%3Enot%3C%2FEM%3E%20on%20L1%20cache.%20The%20ECC%20reference%20in%20the%20datasheet%20includes%20software-accessible%20SRAMs%20like%20OCRAM%20and%20TCM.%3C%2FP%3E%0A%3CP%3ETo%20avoid%20any%20more%20confusion%20the%20NXP%20product%20page%20has%20the%20mistake%3CEM%3E%26nbsp%3Bwith%20the%26nbsp%3B768%20KB%20OCRAM%20with%20EC%3C%2FEM%3E%2C%20%3CEM%3E%26nbsp%3Bthe%20correct%20number%20it%20is%20in%20the%20Datasheet%20with%20the%26nbsp%3B868%20KB%20OCRAM.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EThis%20ECC%20applies%20to%20the%26nbsp%3B%3C%2FEM%3E%3CEM%3Einternal%20software-accessible%20SRAMs%20like%20it%20was%20already%20mention%26nbsp%3B%3CSTRONG%3E%26nbsp%3Bthis%20includes%26nbsp%3B%3C%2FSTRONG%3E%3C%2FEM%3E%3CEM%3E%3CSTRONG%3EOCRAM%20and%20TCM%20used%20by%20C%3C%2FSTRONG%3E%3C%2FEM%3E%3CEM%3E%3CSTRONG%3EHiFi4%20DSP%20and%20Cortex-M.%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3C!--EndFragment%20--%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2197528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2197528%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOn%20first%20page%20of%20datasheet%2C%3C%2FP%3E%3CP%3E%3CEM%3E%22High%20industrial%20system%20reliability%20for%20safety%20is%20leveraged%20by%20DRAM%20Inline%20ECC%20as%20well%20as%20ECC%20support%20on%20internal%20software-accessible%20SRAMs.%22%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3EIs%20it%20talking%20about%20OCRAM%2FTCM%20used%20with%20internal%20HIFI4%20and%20MCU%20%3F%3C%2FP%3E%3CP%3EAlso%20on%20product%20main%20page%20on%20NXP%20website%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2Fi.MX8MPLUS%2C%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fproducts%2Fi.MX8MPLUS%2C%3C%2FA%3E%26nbsp%3Bit%20is%20mentioned%20768%20OCRAM%20with%20ECC%2C%20but%20datasheet%20says%20868kB%20OCRAM%20(no%20mention%20of%20ECC)%3C%2FP%3E%3CP%3EAlso%20in%20attached%20product%20brief%20pdf%20it%20is%20mentioned%20it%20has%20ECC%20on%20OCRAM.%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20essential%20to%20have%20low%20SER%20for%20application%20for%20which%20we%20are%20planing%20to%20use%20this%20device.%20ECC%20would%20greatly%20enhance%20effective%20SER%20performance%2C%20and%20this%20device%20has%20all%20functions%20which%20we%20are%20looking%20for%2C%20so%20please%20could%20you%20reconfirm%20whether%20it%20has%20ECC%20on%20OCRAM%20or%20not.%20also%20pl%20confirm%20if%20L1%20cache%20has%20parity%20(single%20bit%20error%20detection)%20bit%20or%20not.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2196121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MX8M%20plus%20ECC%20on%20OCRAM%20n%20L1%20L2%20cache%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2196121%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EAccording%20to%20datasheet%20block%20diagram%20ECC%20is%20supported%20in%26nbsp%3B512%20KB%20L2%20Cache%20and%26nbsp%3Bx32%20LPDDR4%2FDDR4.%3C%2FP%3E%0A%3CP%3EBest%20regards.%3C%2FP%3E%3C%2FLINGO-BODY%3E