How to verify the S32K3xx Error-Correcting Code (ECC) function (Flash/SRAM/CAN etc....)?

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

How to verify the S32K3xx Error-Correcting Code (ECC) function (Flash/SRAM/CAN etc....)?

2,007 Views
StephenYeh
Contributor III

Hi Sir,

In S32K3xxDS.pdf document, it mentions that S32K3XX supports Error-Correcting Code (ECC) function.
Anybody knows how to verify ECC function on S32K3XX platform ?

Are there any sample code about create the ECC single or multibit fault in address and then read it.
ECC logic will report the ECC mismatch.  this is handled by SPD-SAF (safety application framework).
Anybody knows how to create ECC fault in SPD-SAF?

0 Kudos
Reply
1 Reply

1,994 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Are there any sample code about create the ECC single or multibit fault in address and then read it.

I do not know of any official examples.


ECC logic will report the ECC mismatch. this is handled by SPD-SAF (safety application framework).

Anybody knows how to create ECC fault in SPD-SAF?

In device this is done in Flash UTEST mode:

petervlna_0-1675670532230.png

 

For SAF ( I am not familiar with SAF) it is done in functions for modules:

For mode details see 5.7.4 Faults to configure within eMcem – dependencies of  User manaul For S32K3 sCheck Software Product which is part of sCHeck module documentation. As far as I understand these ECC test are done as part of startup procedure.

But for detailed answer you will need to get in touch with SAF engineers via NXP web page tickets.

Best regards,

Peter

0 Kudos
Reply