Data EEPROM Emulation for PIC18, PIC24, dsPIC, PIC32
Microchip Technology Inc. has expanded its product portfolio to include a wide variety of cost-effective PIC® microcontrollers without an internal data EEPROM. Many applications store nonvolatile information in the Flash program memory using table write and read operations. Applications that need to frequently update this data may have greater endurance requirements than the specified Flash endurance for the device. The alternate solution of using an external, serial EEPROM device may not be appropriate for cost-sensitive or pin-constrained applications. This application note presents a third alternative that addresses these issues. This algorithm uses
available program memory and features an interface similar to an internal data EEPROM.
The Data EEPROM Emulation Library is typically a small part of a larger system. An system that required data to be update 10 of thousands of times or more can
benefit from the use of Microchip’s Data EEPROM Emulation library. Typical applications that would require EEPROM emulation include applications that require to store user definable parameters, frequently updated calibration or adjustment parameters, or saving parameters when a device is shut down.
The Microchip EEPROM Emulation Libraries support the PIC18 devices, 16-bit PIC24F, PIC24H, and dsPIC33 devices and 32-bit PIC32 devices.
Updated as of
DEE Emulation 16-bit v3.0