machine check exception after generating multi bit error (MPC5777C) while testing SRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

machine check exception after generating multi bit error (MPC5777C) while testing SRAM

1,821件の閲覧回数
manaswini1317
Contributor II

Hi

I've been working on EIM_ERM module lately. I could see that a machine check exception occurs after generating a multi bit error. Although I've tried to handle the exception by writing a logic which instructs to move to next instrcution. Surprisingly,the next instruction also goes into handler and then the process repeats.I tried disabling the global enable and bit in EIMCR also. Below is the handler:

void machine_exception(VectorId vector,const void *stack_ptr)
{
MPC::ErrorInjectionModule eim(0xFFF64000UL);

Uint32 new_xsrr0 = 0UL;
eim.disable_injection();
new_xsrr0 = get_xsrr0((Uint32 *)stack_ptr, std_context_size) + 4UL;
set_xsrr0((Uint32 *)stack_ptr, std_context_size, new_xsrr0);
return;
}

PFA of the registers after exception has occured

Kindly let me know if I am going wrong somewhere.

0 件の賞賛
返信
1 返信

1,657件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

After injecting the multibit ECC fault to RAM:

pastedImage_1.png

So, once you inject ECC multibit error you have to care about IVOR1 or 0. Depends on your micro settings.

If you do not serve it the device will be reset.

For correct servicing please refer to chapter 5 ->   Non-correctable ECC error servicing

of application note:

https://community.nxp.com/docs/DOC-103300 

regards,

Peter

0 件の賞賛
返信