PIC 18f65j10 flash write - erase

Status
Not open for further replies.

IzakIzak

New Member
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
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…