Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top