Data EEPROM Emulation for PIC18, PIC24, dsPIC, PIC32 -

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 code supports application note AN1095 – AN1095, Emulating Data EEPROM for PIC18 and PIC24 MCUs and dsPIC DSCs, which presents a third alternative that addresses these issues. This algorithm features an interface similar to an internal data EEPROM, uses available program memory and can improve endurance by a factor as high as 500.Typical ApplicationsThe 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.Features? Easy to use application interface? Memory sizes of 0 to 255 words per block? Total EEPROM memory size limited only by Flash size? Endurance increased by a factor of up to 500? Endurance can be further increased by allocating additional program memoryDevices SupportedThe Microchip EEPROM Emulation Libraries support the PIC18 devices, 16-bit PIC24F, PIC24H, and dsPIC33 devices and 32-bit PIC32 devices.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.