摘要 |
A non-volatile memory has first and second data storage sectors (A and B), one of which contains an updated version of the data stored in the other sector. The validity of the data in the first and second sectors is checked, and the sector having the more recent valid data is selected. The data is then read from the selected sector and that data is written into an associated RAM. The data stored in the RAM is updated, and data from the sector not selected is erased. Data is then read from the RAM, and that data is written into the non-selected sector. |