The post above is refering to 14-bit cores (12F/16F).
18F's are completely different. There are no "Pages" in program memory.
Make sure you have the handler's "Type" set to "PBP" for anything you've written.
The post above is refering to 14-bit cores (12F/16F).
18F's are completely different. There are no "Pages" in program memory.
Make sure you have the handler's "Type" set to "PBP" for anything you've written.
DT
I did use the PBP type for each interrupt. The USB interrupt is working fine, the INT0 is working only once and the TMR1 int does not work anymore. It started to malfunction after adding more code that is unrelated to the interrupt function. Even if I bypass everything using a GOTO to enter directly in the operating mode that use the timer interrupt it does not work (the idle loop is running but the interrupt is never triggered).
I'm a bit clueless on this![]()
Now that is impressive... I've been on this for a week, and I don't know how I managed to remove the "blinking led" line that goes with my interrupt code!!! no wonder why it was not blinking...
Well everything does work perfectly now, TMR1 and also INT0 (fixed a little glitch on slope detection so it can work as expected).
Your interrupt code is doing wonders, I really enjoy using it![]()
Bookmarks