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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,047 Views
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 Kudos
Reply
1 Reply

1,032 Views
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 Kudos
Reply