Check the Flash Memory ECC Failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Check the Flash Memory ECC Failure

Jump to solution
2,294 Views
ahmedsoubky
Contributor II

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 ?

 

Labels (1)
0 Kudos
Reply
1 Solution
1,722 Views
petervlna
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

And in debugger:

pastedImage_2.png

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

View solution in original post

0 Kudos
Reply
3 Replies
1,723 Views
petervlna
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

And in debugger:

pastedImage_2.png

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

0 Kudos
Reply
1,722 Views
fereyes08
Contributor II

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;

pastedImage_1.png

 

But I cannot see the FAULT being propagated to the FCCU.

 

I would expect to see the FCCU status [45] [46].

Is this correct:

 

pastedImage_2.png

 

Do you have any suggestion?

 

Thanks

Federico

0 Kudos
Reply
1,722 Views
ahmedsoubky
Contributor II

Hi,

Appreciate your support, thank you very much !

0 Kudos
Reply