Memory system and operating method thereof
An operating method of a memory system includes performing a boot-up operation, determining whether a sudden power-off recovery (SPOR) operation is performed successively a predetermined number of times, and performing additional SPOR operation when a predetermined waiting time elapses after performing the boot-up operation according to a result of the determining.
1. An operating method of a memory system, comprising:
performing a boot-up operation;
determining whether a sudden power-off recovery (SPOR) operation is performed successively a predetermined number of times; and
performing additional SPOR operation when a predetermined waiting time elapses after performing the boot-up operation according to a result of the determining.
2. The operating method of claim 1 , wherein the predetermined waiting time is determined based on a maximum SPOR time.
3. The operating method of claim 1 , wherein the predetermined waiting time is determined based on a time of an open memory block scanning operation.
4. The operating method of claim 1 , wherein the predetermined waiting time is determined at random whenever the SPOR operation is performed.
5. The operating method of claim 1 , wherein the predetermined waiting time increases whenever the SPOR operation is performed.
6. The operating method of claim 1 , wherein the predetermined waiting time decreases whenever the SPOR operation is performed.
7. The operating method of claim 1 , wherein the predetermined waiting time is constant regardless of a number of times that the SPOR operation is performed.
8. The operating method of claim 1 , wherein the predetermined waiting time is determined as “0” according to a number of times that the SPOR operation is performed.
9. The operating method of claim 1 , wherein the performing of the SPOR operation includes:
storing a start log in a log region included in the memory of the controller;
detecting a boundary page where a program operation is interrupted due to occurrence of sudden power-off (SPO) by scanning an open memory block;
programming dummy data in a page subsequent to the boundary page; and
storing an end log in the log region.
10. A memory system, comprising:
a memory device suitable for storing data; and
a controller suitable for controlling the memory device,
wherein the controller performs a boot-up operation, determines whether a sudden power-off recovery (SPOR) operation is performed successively a predetermined number of times, and performs additional SPOR operation when a predetermined waiting time elapses after performing the boot-up operation according to a result of the determining.
11. The memory system of claim 10 , wherein the predetermined waiting time is determined based on a maximum SPOR time.
12. The memory system of claim 10 , wherein the predetermined waiting time is determined based on a time of an open memory block scanning operation.
13. The memory system of claim 10 , wherein the predetermined waiting time is determined at random whenever the SPOR operation is performed.
14. The memory system of claim 10 , wherein the predetermined waiting time increases whenever the SPOR operation is performed.
15. The memory system of claim 10 , wherein the predetermined waiting time decreases whenever the SPOR operation is performed.
16. The memory system of claim 10 , wherein the predetermined waiting time is constant regardless of a number of times that the SPOR operation is performed.
17. The memory system of claim 10 , wherein the controller performs the SPOR operation including an operation of storing a start log in a log region included in the memory of the controller, an operation of detecting a boundary page where a program operation is interrupted due to occurrence of sudden power-off (SPO) by scanning an open memory block, an operation of programming dummy data in a page subsequent to the boundary page, and an operation of storing an end log in the log region.
18. An operating method of a memory system, comprising:
performing a boot-up operation;
determining whether the boot-up operation is performed due to a sudden power-off (SPO) occurring during a sudden power-off recovery (SPOR) operation;
when it is determined that the boot-up operation is performed due to the SPO occurring during the SPOR operation, determining whether the SPOR operation is performed successively a predetermined number of times;
when it is determined that the SPOR operation is performed successively the predetermined number of times, waiting a predetermined time after performing the boot-up operation; and
performing additional SPOR operation when the predetermined time elapses after performing the boot-up operation.
19. The operating method of claim 18 , wherein the performing of the additional SPOR operation includes:
storing a start log in a log region of a memory;
detecting a boundary page where a program operation is interrupted due to occurrence of SPO by scanning an open memory block;
programming dummy data in a page subsequent to the boundary page; and
storing an end log in the log region.
20. The operating method of claim 19 , wherein the determining whether the boot-up operation is performed due to the SPO occurring during the SPOR operation includes:
determining the boot-up operation is performed due to the SPO occurring during the SPOR operation when the start log is stored but the end log is not stored in the log region.