On 06/09/16 11:53, IVP wrote: > Hi all, > > I've moved the ISR to past the end of main code, with the ISR vectors > programmed, and now see toggling activity in the wait loop. The IRQ > system still doesn't respond to an input on INT0 > > If I call the ISR though it does function as a subroutine and sets the > flag bit needed to exit the wait loop > > Looking around for ideas I notice that other people's config settings > include DEBUG =3D OFF. Adding that to my own results in > > setting "DEBUG" not found for the processor 18F14K22 > > even when I've edited the .inc file with > > _DEBUG_OFF_4L EQU H'7F' > > as my copy of the .inc (for MPLAB 8.56) doesn't mention debug > > However, introducing a spelling mistake to config options in the > .inc doesn't throw up an error. ??? AFAIK there is only one > copy of the .inc file, in MPASM Suite, so altering it with a mistake > should cause an error message when building the project > > Can someone have a look in a more recent P18F14K22.inc file > to see if it includes anything to turn debug off ? ; Build date : May 15 2016 ; MPASM PIC18F14K22 processor include ; Background Debugger Enable bit: ; DEBUG =3D ON Background debugger enabled, RA0 and RA1 are=20 dedicated to In-Circuit Debug ; DEBUG =3D OFF Background debugger disabled, RA0 and RA1=20 configured as general purpose I/O pins _DEBUG_ON_4L EQU H'7F'; Background debugger enabled, RA0 and RA1 are=20 dedicated to In-Circuit Debug _DEBUG_OFF_4L EQU H'FF'; Background debugger disabled, RA0 and RA1=20 configured as general purpose I/O pins You have mixed the two EQU --=20 Martin --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .