| CPC G06F 11/1068 (2013.01) [G06F 11/1044 (2013.01)] | 11 Claims |

|
1. A method of electrically-erasable programmable read-only memory (EEPROM) emulation in a phase-change memory of a circuit integrating a microprocessor, wherein the phase-change memory includes a data zone and an error correction zone, the method comprising the following steps:
defining a granularity for writing into lines of the data zone of the phase-change memory according to a size of each data packet to be written;
deactivating the error correction zone during EEPROM emulation;
associating with each data packet a first error correction code calculated by a program executed by said microprocessor; and
storing a plurality of data packets and their associated first error correction codes in a same line of the data zone of the phase-change memory.
|