IzakIzak New Member Nov 26, 2008 #1 Hi All I would like to know were the EEPG and CFGS bits are defined as described in page 86 of the datasheet see below Code: BSF EECON1, EEPGD ; point to Flash program memory BCF EECON1, CFGS ; access Flash program memory I have looked in the p18f65j10.h file but there is nothing Code: extern volatile near unsigned char EECON1; extern volatile near struct { unsigned :1; unsigned WR:1; unsigned WREN:1; unsigned WRERR:1; unsigned FREE:1; } EECON1bits; I would welcome any help
Hi All I would like to know were the EEPG and CFGS bits are defined as described in page 86 of the datasheet see below Code: BSF EECON1, EEPGD ; point to Flash program memory BCF EECON1, CFGS ; access Flash program memory I have looked in the p18f65j10.h file but there is nothing Code: extern volatile near unsigned char EECON1; extern volatile near struct { unsigned :1; unsigned WR:1; unsigned WREN:1; unsigned WRERR:1; unsigned FREE:1; } EECON1bits; I would welcome any help