AnsweredAssumed Answered

Interrupt not firing in debug

Question asked by Ben Griffiths on Apr 9, 2018
Latest reply on Apr 10, 2018 by Ben Griffiths

I'm revisiting an older project that used Code Warrior Studio.


I'm on a new hard-drive, so anything that's not in the Git repository (e.g. stuff generated by Processor Expert, custom project/workspace settings). It seems when I'm in debug the Processor Expert function ADC_Measure() isn't returning because it's waiting for the ADC Conversion Complete Interrupt to clear the ModeFlg, however the interrupt doesn't appear to be firing.

I suspect other interrupts aren't firing in debug either.


However when I'm not in debug, everything seems to work as expected.


In the Debug Configurations options under Debug/Interrupts/Disable Interrupts checkbox is clear.