AnsweredAssumed Answered

Interrupt only triggered after pausing debug?

Question asked by gearhead1107 on Jan 25, 2018
Latest reply on Jan 25, 2018 by gearhead1107

I'm trying to deal with a weird issue where a CAN interrupt is only being triggered after I suspend a debug session.

 

For instance, I have a break-point at "CAN0_ORed_0_15_MB_IRQHandler()" which is the first function called from the interrupt vector.

 

Starting the code, I have the following, showing now CAN interrupts have been flagged:

 

Then, I let the board run, and send a CAN message (verified that this occurs)... and nothing happens. When I suspend the debug session, the register shows there is a CAN interrupt:

After I resume the debug session, I suddenly hit my break-point!! 

Why on earth would this happen *only* after pausing a debug session?

Outcomes