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]
[ECC Check]
1. Init memRegionInfo
2. Init ssdConfig and call pFlashInit
3. FlashECCLogicCheck
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.
To check the ECC Fault in the 0x00000000~0x0003FFFF area, is there a example?
Thank you
Jaejyn
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