I'm not sure how many issues i actually have here but i'll list the symptoms...
1) MCS compiles PBP files and then says cancelled once it's complete (i turned silent off so i KNOW it completed without error). Date time stamp on the hex file etc are updated. However, the new hex file does not contain the changes. tried deleting everything except the pbp file and it still contains the old code.
2) DT_INTs does not jump to interrupt subroutine on 16F1824 when ether external int or IOC pin is toggled.
ThanksCode:'**************************************************************** '* Name : test.BAS * '* Author : [select VIEW...EDITOR OPTIONS] * '* Notice : Copyright (c) 2011 [select VIEW...EDITOR OPTIONS] * '* : All Rights Reserved * '* Date : 01/08/2011 * '* Version : 1.0 * '* Notes : 16F1824 * '* : * '**************************************************************** @ __config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF @ __config _CONFIG2, _WRT_OFF & _PLLEN_ON & _STVREN_ON & _BORV_25 & _LVP_OFF Define OSC 32 ' Set clock speed OSCCON.7 = 1 OSCCON.6 = 1 OSCCON.5 = 1 OSCCON.4 = 1 OSCCON.3 = 0 OSCCON.1 = 0 OSCCON.0 = 0 INCLUDE "DT_INTS-14.bas" ; Base Interrupt System INCLUDE "ReEnterPBP.bas" ; Include if using PBP interrupts TRISA = %11011111 TRISC = 0 PORTC = 0 ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler INT_INT, _UPDATE, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM OPTION_REG.6 = 1 @ INT_ENABLE INT_INT




Bookmarks