Dianzi Jishu Yingyong (Feb 2019)

Hardware sollution about power fail protective mechanism of non volatile memory

  • Su Wei,
  • Feng Xi,
  • Zhou Zhimei,
  • Hu Yi,
  • Tang Xiaoke

DOI
https://doi.org/10.16157/j.issn.0258-7998.181928
Journal volume & issue
Vol. 45, no. 2
pp. 20 – 22

Abstract

Read online

The principle of data power failure protection for non-volatile memory(NVM) of security chip is analyzed. Considering that the processing speed of software can not meet the performance requirements of security chip for data storage, this paper proposes a NVM data implemented in hardware for power failure protection solution. The scheme adopts a ping-pong structure and takes two Flash spaces of the same size in turn as the target area and the backup area. After each update is completed, the backup flag and the number of backups need to be updated. If the chip is powered off during the update, after comparing the backup codes and backup times of the two areas after power-on again, it can be determined which area of the data is valid. This scheme can not only ensure that the data of the security chip non-volatile memory(NVM) is not lost, but also can improve the performance of NVM data update.

Keywords