How to trigger Data Storage, Watchdog, and Debug interrupts on MPC5777C?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to trigger Data Storage, Watchdog, and Debug interrupts on MPC5777C?

1,039 次查看
Santhoshraj
Contributor I

I am working with the MPC5777C and want to trigger and handle different interrupts for debugging and fault testing."

For the Data Storage Interrupt, I accessed an invalid memory address, but I need help configuring exception handling

For the Watchdog, I enabled SWT, but it resets the MCU instead of triggering an interrupt.

For the Debug Interrupt, I used a tw instruction but need help ensuring it is caught properly.

0 项奖励
回复
1 回复

1,024 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport
 

- On this device ISI or DSI (IVOR2/3) may be caused by “Access control”. It means by restriction given by SMPU.

- IVOR12 is trigger by core watchdog (part of core timer's functionality - time base, decrementer, fixed internal timer and watchdog), not SWT. I am not aware of any example, it is not commonly used.

- I have never tried this but apparently it is needed to turn on internal debug mode, enable debug event as needed (for instance data address compare), setup certain address to be compared and access this address and this triggers IVOR15

image.png

Description you may find in Chapter 15 Debug Support

0 项奖励
回复