Hi,
Need your help regarding the check of flash memory ECC failure correct reporting to validate if detected ECC faults are correctly reported.
According to the safety manual, implementation hint of assumption SM_119 in Rev. 3 06/2014 of Safety Manual for MPC5744P, this test can be done by reading from the flash Memory UTest area.
However, in the RM no information is available about such test in the UTest area section.
I checked the MPC5744P_1b+2b_FLASH_ECC_error_injection-v0_1-GHS614 example code which somehow programs data and then reads it back and thereafter the ECC exception is generated.
Is the correct way to test the flash ECC failure handling to read from the UTest area or to use the example code, would you please help me ?
Solved! Go to Solution.
Hi,
If you look at RM Table 5-6. UTEST flash memory map the information is there. In UTEST area there is from factory programmed signle and double bit ECC error in UTEST flash.
And in debugger:
Read these location to trigger ECC single or double bit error.
For more details on reporting you can read:
http://cache.nxp.com/files/32bit/doc/app_note/AN5259.pdf?fsrch=1&sr=3&pageNum=1
and
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN5200.pdf?fsrch=1&sr=1&pageNum=1
Peter
Hi,
If you look at RM Table 5-6. UTEST flash memory map the information is there. In UTEST area there is from factory programmed signle and double bit ECC error in UTEST flash.
And in debugger:
Read these location to trigger ECC single or double bit error.
For more details on reporting you can read:
http://cache.nxp.com/files/32bit/doc/app_note/AN5259.pdf?fsrch=1&sr=3&pageNum=1
and
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN5200.pdf?fsrch=1&sr=1&pageNum=1
Peter
Hello,
I have a question regarding this topic. I am able to generate the fault in the ERM by reading the UTEST area.
I also have the following init:
// Enable EDC after ECC Error Detection
C55FMC.UT0.B.CPE = 1;
area *utest_ecc_flash = (uint32*)0x00400060;
But I cannot see the FAULT being propagated to the FCCU.
I would expect to see the FCCU status [45] [46].
Is this correct:
Do you have any suggestion?
Thanks
Federico
Hi,
Appreciate your support, thank you very much !