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

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

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

1,143件の閲覧回数
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,128件の閲覧回数
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 件の賞賛
返信