Multi Bit ECC  Error Handler for EEPROM Emulation Overprogramming

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

Multi Bit ECC  Error Handler for EEPROM Emulation Overprogramming

2,621 Views
manojgovindan
Contributor II


Hi,

 

MPC574XG FLS Driver Integration manual  (Document Number: IM35FLSASR4.0 Rev0003R1.0.1) suggest to Skip the instruction which caused the Error to handle Double bit ECC error. To handle the Excpetion the MSR[ME] is set to 1 and FLS DSI handler is called with MCSR and MCAR values. The handler will set the Read Job status as Failed. When returning from the Exception  handler  whether  the instruction which caused the error will be skipped or there is any extra step needs to be implemented?

 

 

Thanks,

Manoj

Labels (1)
0 Kudos
Reply
1 Reply

1,066 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

In order to handle ECC with FLS and FEE, the error notification should be configured to call Fee_JobErrorNotification.
This could be configured at the configuration phase. When returning from the Excaption handler, the instruction which caused the error will be skipped then the job error notification will be called by Fls driver. And of course, the IVOR1 handler should be implemented correctly to recover from the exception such as clear exception flag, call Fls exception handler, save the next instruction address to the instruction save and restore register then return from the exception to next instruction to skip the instruction which caused ECC error.

Lukas

0 Kudos
Reply