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,624 次查看
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,373 次查看
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,374 次查看
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,373 次查看
kiranbhat
Contributor III

Tahnk you Radek

0 项奖励
回复