2011-09-09, 20:19:34
(This post was last modified: 2012-12-23, 20:05:08 by Mikael Gustavsson.)
I found a previous thread where it set to delte the Enhanced 16F defines and uncomment the Standard 16F defines.
My defines were in the ds30Loader.asm not the settings.inc file
I don't see any Standard defines just the 16F Enhanced ???
They were ...
;---------------------------------------------------------------------; Extended PIC16F
;--------------------------------------------------------------------- ifndef EEDATL
#define EEDATL EEDATA ;;;;;;;;;;;;;;;;;;;;;
endif
ifndef INDF
#define INDF_ INDF0
else
#define INDF_ INDF
endif
ifndef FSR
#define FSR_ FSR0L
#ELSE
#define FSR_ FSR
endif
ifndef PMCON1
#define EECON1_ EECON1 ;;;;;;;;;
#define EECON2_ EECON2 ;;;;;;;;;
#define EEDATL_ EEDATL
#define EEDATH_ EEDATH ;;;;;;;;;
#define EEADRL_ EEADRL
#define EEADRH_ EEADRH ;;;;;;;;;
else
#define EECON1_ PMCON1
#define EECON2_ PMCON2
#define EEDATL_ PMDATL
#define EEDATH_ PMDATH
#define EEADRL_ PMADRL
#define EEADRH_ PMADRH
endif
;------------------------------------------------------------------
ifndef EEADRL
#define EEADRL EEADR ; Bug Fix ??????????????????????
endif
I added the define above and it compiled. However when I download the BL i can't get the chip to talk to the PC gui
any thoughts ????
Just as an fyi the hardware setup works fine if I program the chip with the notinybld16F88.HEX and use the Tiny BL gui.
My defines were in the ds30Loader.asm not the settings.inc file
I don't see any Standard defines just the 16F Enhanced ???
They were ...
;---------------------------------------------------------------------; Extended PIC16F
;--------------------------------------------------------------------- ifndef EEDATL
#define EEDATL EEDATA ;;;;;;;;;;;;;;;;;;;;;
endif
ifndef INDF
#define INDF_ INDF0
else
#define INDF_ INDF
endif
ifndef FSR
#define FSR_ FSR0L
#ELSE
#define FSR_ FSR
endif
ifndef PMCON1
#define EECON1_ EECON1 ;;;;;;;;;
#define EECON2_ EECON2 ;;;;;;;;;
#define EEDATL_ EEDATL
#define EEDATH_ EEDATH ;;;;;;;;;
#define EEADRL_ EEADRL
#define EEADRH_ EEADRH ;;;;;;;;;
else
#define EECON1_ PMCON1
#define EECON2_ PMCON2
#define EEDATL_ PMDATL
#define EEDATH_ PMDATH
#define EEADRL_ PMADRL
#define EEADRH_ PMADRH
endif
;------------------------------------------------------------------
ifndef EEADRL
#define EEADRL EEADR ; Bug Fix ??????????????????????
endif
I added the define above and it compiled. However when I download the BL i can't get the chip to talk to the PC gui
any thoughts ????
Just as an fyi the hardware setup works fine if I program the chip with the notinybld16F88.HEX and use the Tiny BL gui.