MPC5744 Error Injection Module

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

MPC5744 Error Injection Module

2,438 次查看
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 

标记 (2)
0 项奖励
回复
1 回复

1,958 次查看
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.