摘要 |
Non volatile memories are described, particularly microprocessor smart card memories. In order to prevent the loss of sensitive data during a data updating operation in the memory, for example if a power cut occurs during the updating, an updating method according to the invention is provided, which includes saving the data to be updated in a backup region; programming a descriptor field for said region and erasing the descriptor field for the following region of the backup memory (for a forthcoming data updating operation); enabling an indicator corresponding to the backup region; updating the data; and disabling the indicator if the operation has been successful. The backup region is different every time. It is defined by scanning the backup memory and is identified as the first region of the backup memory having an erased indicator. When the power supply to the card is restored, the presence of an enabled indicator is systematically checked for, and the data saved in the corresponding regions are sent back to the main memory. |