Flash ECC Test for the MPC5777C

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

Flash ECC Test for the MPC5777C

854 Views
jongminna
Contributor III

Dear NXP Engineers,

 

I want to make sure my Flash ECC Test is reasonable or nonsense.

 

This is a procedure of ECC Circuit test.

Flash ECC Circuit test always be executed only once during start up sequence.


1. The ERM configured that Flash related registers be enabled. ESCIE6, 7 and ENCIE6, 7

174288_174288.pngpastedImage_1.png
2. The Flash ECC error exception handler(ERM Isr) set through the OS configuraton.

174289_174289.pngpastedImage_2.png
3. Read a “failed” Flash location; the Flash ECC exception handler shall:

         Failed area : 0x400060 (UTEST area for the ECC test), So This area don’t affect a normal operating.

     174290_174290.pngpastedImage_3.png174291_174291.pngpastedImage_4.png
4. Above "Read" will generate an ECC exception.

5. ERM Isr will be invoked and There is no running reset. Because It is just test and I implemented that maintaining normal operating state without running reset.
6. We can get Flash ECC error status via ERM registers, such as EAR(Error Address Register)

174292_174292.pngpastedImage_5.png

 

Overall, My curious point is whether my Flash ECC test could be affect normal operating or It's OK.

Because even though this is just test, As you can see, EAR be set their error address... I worry that this test could affect the others.

 

Please let me know your opinion.

 

Best Regards,

Labels (1)
0 Kudos
1 Reply

542 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

First of all lets make clear what you want to test:

1. ECC logic test?

2. Reaction on ECC faults?

Peter

0 Kudos