Read or write data on 16F877A's EEPROM memory

Eric007

Joined Aug 5, 2011
1,158
Please read the datasheet!

If you don't understand anything read it again 10 times and it will become clearer...
 
Last edited:

ErnieM

Joined Apr 24, 2011
8,377
There is a section in the device data sheet detailing exactly how to do that, line by painful line in assembly.

If you don't use assembly (and neither do I) then check your compiler's help files to see if they have (and most probably will) a library function that does this.

At worst, they reference a function I had to stick in my code. Easy Peasy.
 

Eric007

Joined Aug 5, 2011
1,158
where is the link?
Check the whole section 4 "Data EEPROM and Flash Program Memory". This is for PIC16F877 but it should be the same for PIC16F877a.

what you mean where's the link? you can download the datasheet from google or Microchip website.
 
Top