MPC5744 Error Injection Module

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

MPC5744 Error Injection Module

1,481 Views
ahmedsoubky
Contributor II

Dears, 

I am trying to inject RAM ECC errors in MPC5744 micro using EIM. 

I followed the sequence in example code here. But, it isn't working and it is for another derivative. 

According to MPC5744 RM:

"To properly enable
the error injection mechanism for a channel, execute both of the following:
• Assert the EICHEN[EICHnEN] field, where n denotes the channel number.
• Assert EIMCR[GEIEN]."

I tried this sequence as well, but neither registers are updated nor exception happens. 

Can you please support ? 

Thanks in advance, 

Best Regards

Ahmed 

Tags (2)
0 Kudos
Reply
1 Reply

1,001 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

By MPC5744P's EIM module you can inject ECC fault only to transfer control descriptor of eDMA (that is peripheral RAM) as you can see in attached.

pastedImage_0.png

Recently I have tried another option with using of core register E2EECSR. If you enable E2EECSR0[INVC]=1 error injection and setup certain mask to E2EECSR0[CHKINVT] bits, subsequent write to SRAM creates error and following read of this area causes bus error. However I don’t have prepared example yet for this.