How to configure interrupt for double bit ECC error or for any memory machine exception.

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

How to configure interrupt for double bit ECC error or for any memory machine exception.

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

Hi

I am working on s12ZVCA192 controller. While studying data sheet for memory error. came to know about ECC error and MMU machine exception. I wanted to know that is there a way to configure interrupt for the Double Bit ECC error. Or if the machine exception is entertained from MMU can be used for interrupt generation. My aim is to reset the controller if any ECC double bit or Memory exception occurs. And is there any assembly instruction to reset the controller.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,481件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Kiran,

I prepared for you simple example code of interrupt catcher (catch unexpected interrupts) and add here also example of Machine Exception ISR with MCU reset.

This code was tested on my side by double bit ECC error generated by cumulative write into Flash.

I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,482件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Kiran,

I prepared for you simple example code of interrupt catcher (catch unexpected interrupts) and add here also example of Machine Exception ISR with MCU reset.

This code was tested on my side by double bit ECC error generated by cumulative write into Flash.

I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,481件の閲覧回数
kiranbhat
Contributor III

Tahnk you Radek

0 件の賞賛
返信