SAF eMCEM FCCU NMI handling

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

SAF eMCEM FCCU NMI handling

Jump to solution
2,180 Views
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 Kudos
Reply
1 Solution
2,109 Views
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

View solution in original post

0 Kudos
Reply
7 Replies
2,110 Views
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 Kudos
Reply
2,046 Views
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 Kudos
Reply
2,023 Views
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 Kudos
Reply
2,130 Views
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 Kudos
Reply
2,127 Views
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 Kudos
Reply
2,163 Views
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 Kudos
Reply
2,159 Views
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 Kudos
Reply