SAF eMCEM and Fault Reaction - S32g3

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

SAF eMCEM and Fault Reaction - S32g3

ソリューションへジャンプ
2,646件の閲覧回数
Harish_R
Contributor III

Hi Team,

I have integrated eMCEM module (initialization successful - E_OK) and was trying to check the fault handling through the reaction configured in eMCEM module (R1, R2 and R3).

i have enabled only EMCEM_FCCU_M7_0_SRAM_ECC_UE fault and other things like

1. Recoverable: software recoverable

2. IRQ: Enabled

3. NMI: Enabled

4. Recovery timeout: Enabled.

5. Alarm Handler: UserdefaultalarmHandler

6. No reset reaction

i have injected fault using API eMcem_InjectFault(EMCEM_FCCU_M7_0_SRAM_ECC_UE).

observation: when i try to add breakpoint at UserdefaultalarmHandler/UserdefaultNMIHandler and inject fault it doesn't stop at this breakpoint.

when i try to debug it resets after Inject fault macro is called. in spite of configuring reaction type to NoResetReaction. 

how to verify the fault is handled.? 

if anyone could drop some information regarding this it would be helpfull. Thanks in advance!

BR,

Harish R

 

0 件の賞賛
返信
1 解決策
2,525件の閲覧回数
Harish_R
Contributor III

Hi @chenyin_h,

Yeah, it worked. 

had to configure the ISR in OS. ISR mentioned in UM. and rest everything works fine.

 

Thanks for your time and support!

BR,

Harish R

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
2,537件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello,  @Harish_R 

Thanks for your reply.

I mentioned that the alarm interrupt is not enabled, I suggest enabling it and then to check if the breakpoint could be available under your alarm handler.

 

BR

Chenyin

0 件の賞賛
返信
2,526件の閲覧回数
Harish_R
Contributor III

Hi @chenyin_h,

Yeah, it worked. 

had to configure the ISR in OS. ISR mentioned in UM. and rest everything works fine.

 

Thanks for your time and support!

BR,

Harish R

0 件の賞賛
返信
2,571件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your reply.

For such R3 faults, it is suggested following the example configuration in eMCEM UM:

chenyin_h_1-1750735441514.png

 

Since it cannot be recovered from the software reactions.

 

BR

Chenyin

0 件の賞賛
返信
2,555件の閲覧回数
Harish_R
Contributor III

Hi @chenyin_h ,

Thanks for your time.!

so configuration vise i have mapped R3 reaction. when i tried to put breakpoint in handler function (both alarm handler and NMI handler). the execution doesn't stop at breakpoint. 

so is there ISR should be configured?

 

BR,
Harish R

 

0 件の賞賛
返信
2,587件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for your post.

Would you mind sharing the snapshot of your configuration window for the corresponding FCCU fault in EB?

 

BR

Chenyin

0 件の賞賛
返信
2,579件の閲覧回数
Harish_R
Contributor III

Hi @chenyin_h,

Thanks for your time. im attaching the SS here.

Harish_R_0-1750659808219.png

Harish_R_1-1750659864304.png

for time being im only testing for SRAM0_ECC having corresponding config as shown in SS.

 

BR,

Harish R

0 件の賞賛
返信
2,625件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,Harish_R

Thank you for contacting us,I will continue to support you for this question.

BR

Joey

0 件の賞賛
返信