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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,043 次查看
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 项奖励
回复
1 回复

2,030 次查看
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 项奖励
回复