Inline ECC validation method

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

Inline ECC validation method

81 Views
pinkpr_6408
Contributor I

Hello, 

I am working on Inline ECC implementation for iMX8M Plus on external DDR memory.
ECC appears to be working (U-Boot modifications done, EDAC driver showing up in Linux, /sys/devices/system/edac/mc/mc0/ virtual files are present).

I'm looking for ways to test and validate the protection.

My understanding is that error injection is not possible into the data itself, and that ECC parity bits must be corrupted instead.

AN 13566 section 3.2.9 states : "Further information on this feature is available on request."

How can I request this information ? Is there a specific NXP contact/channel for this ?

Thank you in advance,

0 Kudos
Reply
2 Replies

15 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Sure we can provide it, but for this I would require you to create a support ticket
https://support.nxp.com/s/?language=en_US

You may mention me in the body of the request so I can track the ticket and provide the material.

Best regards/Saludos,
Aldo.

0 Kudos
Reply

25 Views
natasha052gandhi
Contributor I

Hello,

I am implementing Inline ECC on an i.MX 8M Plus with external DDR. ECC appears to be working correctly: U-Boot has been configured, the Linux EDAC driver is active, and /sys/devices/system/edac/mc/mc0/ is present.

I would now like to validate the ECC protection by deliberately generating correctable and uncorrectable errors.

AN13566, section 3.2.9, states that Inline ECC errors can be injected by unlocking the ECC region using ECC_REGION_PARITY_LOCK and overriding the ECC parity bits. It also mentions that further information on this feature is available on request. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2414978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInline%20ECC%20validation%20method%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20working%20on%20Inline%20ECC%20implementation%20for%20iMX8M%20Plus%20on%20external%20DDR%20memory.%3CBR%20%2F%3EECC%20appears%20to%20be%20working%20(U-Boot%20modifications%20done%2C%20EDAC%20driver%20showing%20up%20in%20Linux%2C%26nbsp%3B%2Fsys%2Fdevices%2Fsystem%2Fedac%2Fmc%2Fmc0%2F%20virtual%20files%20are%20present).%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20looking%20for%20ways%20to%20test%20and%20validate%20the%20protection.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20understanding%20is%20that%20error%20injection%20is%20not%20possible%20into%20the%20data%20itself%2C%20and%20that%20ECC%20parity%20bits%20must%20be%20corrupted%20instead.%3CBR%20%2F%3E%3CBR%20%2F%3EAN%2013566%20section%203.2.9%20states%20%3A%20%22Further%20information%20on%20this%20feature%20is%20available%20on%20request.%22%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20can%20I%20request%20this%20information%20%3F%20Is%20there%20a%20specific%20NXP%20contact%2Fchannel%20for%20this%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20in%20advance%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415178%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Inline%20ECC%20validation%20method%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415178%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20implementing%20Inline%20ECC%20on%20an%20i.MX%208M%20Plus%20with%20external%20DDR.%20ECC%20appears%20to%20be%20working%20correctly%3A%20U-Boot%20has%20been%20configured%2C%20the%20Linux%20EDAC%20driver%20is%20active%2C%20and%20%2Fsys%2Fdevices%2Fsystem%2Fedac%2Fmc%2Fmc0%2F%20is%20present.%3C%2FP%3E%3CP%3EI%20would%20now%20like%20to%20validate%20the%20ECC%20protection%20by%20deliberately%20generating%20correctable%20and%20uncorrectable%20errors.%3C%2FP%3E%3CP%3EAN13566%2C%20section%203.2.9%2C%20states%20that%20Inline%20ECC%20errors%20can%20be%20injected%20by%20unlocking%20the%20ECC%20region%20using%20ECC_REGION_PARITY_LOCK%20and%20overriding%20the%20ECC%20parity%20bits.%20It%20also%20mentions%20that%20further%20information%20on%20this%20feature%20is%20available%20on%20request.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Inline%20ECC%20validation%20method%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3ESure%20we%20can%20provide%20it%2C%20but%20for%20this%20I%20would%20require%20you%20to%20create%20a%20support%20ticket%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.nxp.com%2Fs%2F%3Flanguage%3Den_US%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.nxp.com%2Fs%2F%3Flanguage%3Den_US%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20may%20mention%20me%20in%20the%20body%20of%20the%20request%20so%20I%20can%20track%20the%20ticket%20and%20provide%20the%20material.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E