PIC18F4520 EEPROM Revision as of 15:24, 10 August 2016 by Sharana
In this tutorial we will discuss how to access the PIC18F4520 internal EEPROM memory to store and retrieve the data. Eeprom is basically used to store the non volatile data which is required to be stored even if there is power loss or controller resets.
PIC18F4520 comes with three memories Flash,RAM and EEPROM. Below table shows the memory capacity of PIC18F4520:
|FLASH||8k-bytes||Used to store the programs|
|RAM||368-bytes||Temporary/ScratchPad memory used during program execution.|
|EEPROM||256-bytes||Used to store the non-volatile data across power cycles|
Please check this tutorial for detailed explanation on PIC16F877A Internal Eeprom.
Below is the program to write the data(A-Z) to eeprom and then read it back.