S32K116 executed a undefined command,what's the status of MCU 116

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

S32K116 executed a undefined command,what's the status of MCU 116

ソリューションへジャンプ
1,232件の閲覧回数
asd046012
Contributor III

Hello 

    I wante to ask a question:when MCU s32k116 executed a undefined command(0xFFFFFFFF),then what action will take by MCU 116? 

   MCU 116 will enter to NMI interrrupt or hardfault interrupt? which one interrupt will enter?

  If I didn't use NMI interrupt and hardfault interrupt in application, these two interrupt will use default handle code "DefaultISR"? That is an endless loop,MCU will wait to reset, is it?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,225件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The core will detect a hard fault exception.

In the S32DS IDE startup configuration, all the unimplemented interrupts are handled by the DefaultISR which is just a infinite loop.

So yes, if for any reason the HardFault handler is not implemented, it will end up in the default handler waiting for a reset.

 

BR, Daniel

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,226件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The core will detect a hard fault exception.

In the S32DS IDE startup configuration, all the unimplemented interrupts are handled by the DefaultISR which is just a infinite loop.

So yes, if for any reason the HardFault handler is not implemented, it will end up in the default handler waiting for a reset.

 

BR, Daniel

 

0 件の賞賛
返信