US 9,811,473 B2
Storage unit controller and control method thereof, and storage device
Chia-Ching Lu, Hsinchu (TW)
Assigned to Nuvoton Technology Corporation, Hsinchu (TW)
Filed by Nuvoton Technology Corporation, Hsinchu (TW)
Filed on Sep. 4, 2014, as Appl. No. 14/476,758.
Claims priority of application No. 103114512 A (TW), filed on Apr. 22, 2014.
Prior Publication US 2015/0301944 A1, Oct. 22, 2015
Int. Cl. G06F 12/10 (2016.01); G06F 12/02 (2006.01); G06F 12/1027 (2016.01)
CPC G06F 12/1027 (2013.01) [G06F 12/0246 (2013.01); G06F 2212/1032 (2013.01); G06F 2212/608 (2013.01)] 19 Claims
OG exemplary drawing
1. A method for controlling a storage unit comprising a nonvolatile memory, comprising:
setting an indicated flag according to whether a first data saved in a nonvolatile buffer is written to a storage unit;
checking the indicated flag when power is on; and
enabling an update operation mode when the checked indicated flag indicates that the first data is not completed, wherein enabling the update operation mode at least executes: transferring the first data saved at a simulated address of the nonvolatile buffer from the simulated address to a first actual address of the storage unit,
wherein the nonvolatile buffer comprises:
a first buffer unit for saving the first data at the simulated address of the first buffer unit in a process in which the first data is addressed; and
a second buffer unit coupled to the first buffer unit, wherein the second buffer acts as a read buffer of the storage unit, and used as a write backup buffer of the first buffer unit when the first buffer unit is under the update operation mode.