MPC5746C ECC error

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

MPC5746C ECC error

505 Views
740876823
Contributor I

Hi

   I made an flash ECC error. The program jumped to  an interrupt Os_Hal_Exception_MachineCheck_MCSRR.

Now I want to fix that. I used the AN-ISC-2-110_MPC55xx_ECC_Errors,But not solved the ECC error.

Would you like to ask if you have any suggestions? 

ECC.png

0 Kudos
3 Replies

485 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

To remove ECC errors from flash simply erase it.

I see you are using Lauterbach.

So initialize flash list for the device, or just the block where is the error.

Then do

flash.auto.all

flash.erase.all

flash.auto.off

Best regards,

Peter

0 Kudos

482 Views
740876823
Contributor I
hello peter
thank you for your cooperation
I want the program to fix itself when ECC errors occur
Do you have any good methods
Best regards
sam
0 Kudos

476 Views
petervlna
NXP TechSupport
NXP TechSupport

Hmm,

Thats not safe for sure.

Once you encounter multibit ECC you wont be able to repair it from your code unless you have supervisor unit with image of failing flash block ready to erase and program it in such failure case.

Not sure how you imagine it to do so. It will require external to micro programming. Like update in garage or OTA.

Best regards,

Peter

0 Kudos