cancel
Showing results for 
Search instead for 
Did you mean: 

ST EEPROM Emulation code

ludionisio
Associate
Posted on November 01, 2006 at 13:03

ST EEPROM Emulation code

1 REPLY 1
ludionisio
Associate
Posted on May 17, 2011 at 11:51

Hello, the code for EEPROM emulation given by ST limits the size of the emulated EEPROM to:

(max_records * EEPROM_RECORD_SIZE) + header size (7 bytes) <= 8192/2

in other words the maximum is 4089 bytes for EEPROM_RECORD_SIZE with a 1 record EEPROM.

Is it possible to increase this limit to let's say 6000 bytes?

The application note 2040 says:

''The EEPROM size to be emulated is flexible, within the limits and constraints of the sector size, and allows for a maximum EEPROM size of 8KBytes in the current implementation, which is the sector size that is defined by the uPSD32xx architecture.''

which opens this possibility.

What kind of code intervention should be done to make it possible.