Patent ID: 7406558

Claim:
A method of emulation of EEPROM memory in another non-volatile memory, the method comprising the steps: after initiating the emulation, reserving two sectors of the non-volatile memory, serving a function of a current sector and an auxiliary sector, creating a first buffer and a second buffer in an operational memory, the first buffer for storing a most current image of the emulated EEPROM memory, and the second buffer for storing a last patch, wherein the current sector of non-volatile memory has a part of the current sector containing an original image of the emulated EEPROM memory, and a remaining part is successively filled in with patches, the patches describing changes in content of the original image of the emulated EEPROM memory, and wherein at time, when a new patch cannot be appended to the current sector, the function of the current sector and the auxiliary sector of non-volatile memory are changed, the previously auxiliary sector of non-volatile memory is activated by saving the current image of the emulated EEPROM memory from the operational memory to a newly activated sector as a new original image of the emulated EEPROM memory, whereas, after a correct writing, content of the previously current sector of non-volatile memory is erased.