Flash ECC and EDC error

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

Flash ECC and EDC error

跳至解决方案
3,844 次查看
Jamber_H
Contributor III

Hi,

I am confused about Flash ECC and EDC error.

I think EDC error means any uncorrectable ECC error, such as 2-bit error or multi-bit error. In UTEST, there are 3 areas used for EDC/ECC, single-bit ECC, double-bit ECC, EDC after ECC. Does "EDC after ECC" mean it generate an ECC error firstly then generate an EDC error? If so, does "double-bit ECC" generate EDC? If not, why?

In this figure, double-bit ECC area not generate an EDC error, and EDC after ECC area not generate an ECC error, I want to know why.

Flash ECC and ECC.png

Best regards

Jamber

0 项奖励
回复
1 解答
3,822 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

In this case (error pattern at 0x00400080) it would be so.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,831 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, it is a bit otherwise.

"EDC after ECC" is another safety mechanism implemented in the flash memory its primary intention is to detect failure in ECC logic.

Reading of data pattern stored on data address 0x00400080 invokes only FCCU fault NCF[34], nothing else (it returns valid data 0xFFFFFFFF to the CPU). It simulates situation when "EDC after ECC" mechanism detects a hidden failure.

In real case when flash data are massively corrupted, in may happen multiple fault reaction happens simultaneusly (NCF[21-23] and NCF[34]).

But this picture is related to UTEST test patterns.

0 项奖励
回复
3,824 次查看
Jamber_H
Contributor III

Hi, David

Thanks for your reply. So can I think that EDC error is generated when flash has error but not trigger an ECC error?

Best regards

Jamber

0 项奖励
回复
3,823 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

In this case (error pattern at 0x00400080) it would be so.

0 项奖励
回复