Self-Detecting Error Logging in Data Storage Devices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional failure analysis in memory devices is inefficient due to the lack of precise error detection and logging, leading to prolonged analysis times as different host platforms and tools result in various types of failures, making it difficult to trace and analyze the cause of errors effectively.

Innovation Solution

A method for operating a data storage device that converts to a debugging mode upon receiving a log start command, allowing for the execution of operation commands, generation of log information, and copying of relevant data to a secondary storage area upon specific events such as error detection or reaching reference read, reclaim, or program/erase cycle thresholds, enabling efficient logging and analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional failure analysis is used with different host platforms and evaluation tools, then various types of failures can be tested, but analysis time is prolonged and error detection precision is reduced

Engineering Contradiction:
Improvecompatibility with different host platformsVSAvoidanalysis time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The memory device performs self-diagnosis and self-logging of failure information without requiring external evaluation tools or software. The device autonomously detects errors, generates log information, and stores it in dedicated storage areas, eliminating the need for prolonged external analysis while maintaining adaptability to different host platforms through standardized interfaces

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements a feedback mechanism where the memory device continuously monitors its own operation, detects errors, and automatically logs failure information with detailed context (command type, address, data). This real-time feedback loop enables rapid error identification and analysis without requiring external tools to interpret device behavior

Inventive Principle:
Principle #23Feedback

2Measurement precision

If detailed log information is stored for every operation, then failure analysis precision is improved, but memory storage requirements and device complexity increase

Engineering Contradiction:
Improvefailure detection precisionVSAvoidlogging system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The logging system is segmented into multiple storage areas within the memory device: a first storage area for normal operation logs and a second storage area specifically for failure-related logs. This segmentation allows detailed logging of critical failure information while maintaining organizational simplicity and enabling targeted analysis without requiring complex external logging infrastructure

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system pre-allocates dedicated storage areas for log information before failures occur. The first storage area is prepared for general logging, and the second storage area is reserved for failure-specific data. This preliminary preparation eliminates the need for complex dynamic memory allocation or external logging setup when failures occur, reducing system complexity while maintaining high detection precision

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9875170B2Data storage device for self-detecting error and logging operation and method of operating the same
Publication Date: 2018.01.23 SAMSUNG ELECTRONICS CO LTD
  • US9875170B2 patent drawing
  • US9875170B2 patent drawing
  • US9875170B2 patent drawing

AI summary

A method of operating a data storage device which is provided with an operating voltage from a host and communicates with the host is provided. The method includes converting an operation mode of the data storage device into a debugging mode in response to a log start command transmitted from the host, receiving a first operation command from the host and executing the first operation command, generating first log information corresponding to a result of executing the first operation command, storing the first log information in a first storage area of memory of the data storage device, and copying at least part of the first log information from the first storage area to a second storage area of the memory of the data storage device when an event occurs according to the result of executing the first operation command.