SAF eMCEM FCCU NMI handling

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

SAF eMCEM FCCU NMI handling

跳至解决方案
2,318 次查看
Harish_R
Contributor III

Hi,

i have configured the NMI reaction in eMCEM module for particular fault. but im not sure how test it. 

have configured NMI handler function. but when fault has been injected the NMI handler doesn't hit / execute.

if someone could drop some hints. it would be helpfull.

 

Regards,

Harish R

 

 

0 项奖励
回复
1 解答
2,247 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your reply.

I mean that since in your EB configuration, the NMI handler set is eMcemUserNmiHandler, and by default in SAF, the handler is NMI_Handler, may I know if you have changed it accordingly? 

chenyin_h_0-1751941726329.png

BR

Chenyin

在原帖中查看解决方案

0 项奖励
回复
7 回复数
2,248 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your reply.

I mean that since in your EB configuration, the NMI handler set is eMcemUserNmiHandler, and by default in SAF, the handler is NMI_Handler, may I know if you have changed it accordingly? 

chenyin_h_0-1751941726329.png

BR

Chenyin

0 项奖励
回复
2,184 次查看
Harish_R
Contributor III

Hi @chenyin_h 

sorry for the delay,

"by default in SAF, the handler is NMI_Handler may I know if you have changed it accordingly"

change NMI handler.? i dint understand. where am i supposed to find this part? in stubs?

but 

Harish_R_0-1752484092719.png

i have included this. should it be changed anywhere else?

 

BR,

Harish R

 

 

0 项奖励
回复
2,161 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your reply.

What I mean is, by default, the NMI handler is NMI_handler, which is defined in the vector table, and from your settings, the NMI handler is eMcemUserNmiHandler, how you put your own NMI handler to make it called? 

 

BR

Chenyin

0 项奖励
回复
2,268 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your reply.

May I know if you have placed your own NMI handler to the following part?

chenyin_h_0-1751871194675.png

 

BR

Chenyin

0 项奖励
回复
2,265 次查看
Harish_R
Contributor III

Hi @chenyin_h 

yes, i have placed it accordingly.

when is it supposed to hit.? when NMI fault is triggered right?

in EB we configure. NMI Notification Function. 

Harish_R_0-1751882615925.png

BR,

Harish R

 

0 项奖励
回复
2,301 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your post.

Would you mind sharing your eMcem configuration window? and also the SAF version used?

 

BR

Chenyin

0 项奖励
回复
2,297 次查看
Harish_R
Contributor III

hi @chenyin_h 

Thanks for your time!

Heres the simple configuration that i have for sram fault. 

Harish_R_0-1751607548771.png

BR,

Harish R

 

 

0 项奖励
回复