FlashECCLogicCheck doesn't work

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

FlashECCLogicCheck doesn't work

673 次查看
jaejynshin
Contributor III

Hello Exports

 

I am using FlashECCLogicCheck function to detect ECC error in my flash memory

I made ECC errors in the flash, but FlashECCLogincCheck alway generate C55_OK.

I want to know what is wrong on my codes.

Could any experts help me to solve this problem?

 

[Generated ECC Errors]

167133_167133.pngpastedImage_1.png

 

[ECC Check]

1. Init memRegionInfo 

167164_167164.pngpastedImage_8.png

167158_167158.pngpastedImage_5.png

2. Init ssdConfig and call pFlashInit

167163_167163.pngpastedImage_7.png

167157_167157.pngpastedImage_4.png

3. FlashECCLogicCheck

167162_167162.pngpastedImage_6.png

标签 (1)
2 回复数

563 次查看
jaejynshin
Contributor III

Hi petervlna

Thank you for your advice

I checked the FCCU chapter in the MPC5777CRM.pdf to check the ECC fault from 0x00000000~0x0003FFFF, but it i was complex  for me to use.

So I tried to use ERM to detect the ECC fault, but the ECC fault in the area didn't look to be detected by ERM. I used below codes.

pastedImage_1.png

To check the ECC Fault in the  0x00000000~0x0003FFFF area, is there a example?

Thank you

Jaejyn

0 项奖励
回复

563 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

This is quite simple.

You just didn't understand what ECC logic check means.

It is testing ECC logic physically (HW mechanism) not ECC fault reporting. This is required from ISO to meet desired safety level.

ECC faults check/correction is done via ECC mechanism -> then reported to other modules like ECSM or FCCU. Depends on used microcontroller. There you can find faulty address and type of fault.

Peter