CPC G06F 3/0616 (2013.01) [G06F 3/0631 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A storage device, comprising:
a memory cell; and
a storage controller which includes a flash controller that performs a data operation on the memory cell, and a processor that executes a Real Time Operating System (RTOS) for controlling the flash controller, wherein:
the RTOS communicates with the storage controller and operates in a normal operation mode,
the storage device is configured to detect a defect by itself inside the storage device,
the RTOS generates a snapshot data in a debug mode when the storage device is detected the defect,
the RTOS switches to the debug mode through context switching in the normal operation mode, and
the RTOS operates in the normal operation mode, when an urgent work occurs, while performing an operation of generating the snapshot data in the debug mode.
|