So, I'm back to breaking things again...I've been using the ICD and boot loader in MicroCode Studio Plus with much joy! I haven't however been able to get the Interupts and ICD to work together. I get an error "ICD Address Mismatch".
I have tried the debug disable and debug enable with the same results.
Is it possible to use ICD and DT Interupts together? Both are working great until combined.
ICD works until I include the following code. I'm using an 18F2550
Code:
Disable debug
INCLUDE "DT_INTS-18.bas" ; Base Interrupt System
INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts
INCLUDE "Elapsed_INT-18.bas" ; Elapsed Timer Routines
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler TMR1_INT, _ClockCount, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
@ INT_ENABLE TMR1_INT
enable debug
Thanks for any input you may have
Shane
Bookmarks