摘要 |
The invention relates to a method of updating data stored in a non-volatile memory having first and second data storage sectors (A and B), one of which contains an updated version of the data stored in the other sector. In the method, 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 stored data in the RAM is then 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. |