| CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01); G06F 11/1068 (2013.01)] | 20 Claims |

|
1. A method of controlling a non-volatile memory, the method comprising:
writing log data to a first memory, the log data including a history of commands for controlling the non-volatile memory;
writing the log data from the first memory to a second memory;
detecting an error in the non-volatile memory that occurs when one of the commands is executed; and
writing the log data from the second memory to the non-volatile memory in response to detecting the error in the non-volatile memory.
|