MPC5746C ECC error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5746C ECC error

754 次查看
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 项奖励
回复
3 回复数

734 次查看
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 项奖励
回复

731 次查看
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 项奖励
回复

725 次查看
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 项奖励
回复