I set IPEN to 1 and enable the TMR1IE and the priority to high (TMR1IP = 1)
but it doesn't fire... BUT! using RC1IE = 1 and RC1IP = 0 the high interrupt fires not the low.
Its driving me nuts.. I haven't tried on the actual device yet, I thought I'd ask here first.
If I set IPEN to 0 and just use "void interrupt ISR()" both work.
Maybe you didn't enable the low peripheral interrupts. Anyway, I attach a simple test showing the priority interrupts just in case of two coincident pulses. I alaso attach the source code in the post and schematic screen shot just in case you don't have the latest Proteus version.
On the first run I forgot to set the timer running, but soon cleared that fault.
But the RC1IE only triggered the high interrupt even though it is set for low.
BUT! it wasn't.. If I had run it through I would have seen that it was working fully but the COFF was pointing incorrectly.
Well not incorrectly persé, the optimization kicks in and the breakpoint isn't shown although the code in the low interrupt is executed.