Host controlled memory media testing

By designing a conversion controller for the CXL protocol and PCIe interface between the host and the memory, the problem of difficulty in testing emerging memory systems is solved, media testing and fault detection of the memory are realized, and the signal integrity and bit error rate of the memory are ensured. Detection, suitable for high-speed communication needs.

CN118749099APending Publication Date: 2024-10-08MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380023599.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-14
Filing Date
2023-03-10
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing technologies make it difficult to test emerging memory systems that are not directly coupled to the host under host control, especially memory types connected through abstract interfaces, and cannot implement media testing and fault detection of these memories.

Method used

A controller is designed to convert between the host and the memory through the CXL protocol and PCIe interface, realize the discovery, configuration and control of the memory's media testing capabilities, and report the test results to the host. The controller contains front-end, central and back-end parts. The front-end manages I/O channels, the central part performs memory operations and error detection, and the back-end part is responsible for physical layer data transmission, and initializes and monitors the characteristics of the memory controller through the management unit.

Benefits of technology

It realizes the discovery and control of media test capabilities for emerging memory systems, ensures the signal integrity and bit error rate detection of memory devices, supports stride testing, etc., ensures the normal operation of the memory, and is an industry standard interface suitable for high-speed communication requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118749099A_ABST
    Figure CN118749099A_ABST
Patent Text Reader

Abstract

The controller may be configured to enable the host to control media testing on the memory device. An interface between the host and memory may be abstract such that the host cannot directly control the memory. Alternatively, the controller may provide transitions between a host protocol, such as a compute high speed link (CXL), and a memory protocol, such as a protocol to control a dual data rate (DDR) interface. The controller may enable media test capability discovery, configuration, and / or control of the host. The controller may implement media test result reporting from the memory to the host.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor memories and methods, and more particularly to apparatus, systems, and methods for host-controlled memory media testing. Background Art

[0002] Memory devices are typically provided as internal semiconductor integrated circuits in computers or other electronic systems. There are many different types of memory, including volatile and non-volatile memory. Volatile memory may require power to maintain its data (e.g., host data, error data, etc.), and includes random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), and thyristor random access memory (TRAM), etc. Non-volatile memory can provide persistent data by maintaining stored data when power is not supplied, and may include NAND flash memory, NOR flash memory, ferroelectric random access memory (FeRAM), and resistance variable memory, such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetoresistive random access memory (MRAM), such as spin torque transfer random access memory (STT RAM), etc.

[0003] The memory device may be coupled to a host (e.g., a host computing device) to store data, commands, and / or instructions for use by the host when operating a computer or electronic system. For example, the data, commands, and / or instructions may be transferred between the host and the memory device during operation of the computing or other electronic system. A controller may be used to manage the transfer of data, commands, and / or instructions between the host and the memory device. Summary of the invention BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Figure 1 is a block diagram of a computing system according to several embodiments of the present disclosure.

[0005] Figure 2 is a signaling diagram between a host and a memory device for host-controlled memory media testing according to several embodiments of the present disclosure.

[0006] Figure 3 is a block diagram illustrating a method for host-controlled storage media testing according to several embodiments of the present disclosure.

[0007] Figure 4 is a signaling diagram between a host and a memory device for mutual authentication between the host and the memory according to several embodiments of the present disclosure. DETAILED DESCRIPTION

[0008] Systems, devices, and methods involving host-controlled memory media testing are described. In some prior methods, memory media testing may be performed during system manufacturing or during a time after a computing system is powered on but before an operating system (OS) is started. For example, a host with direct access to system memory (e.g., DRAM) may use a basic input / output system (BIOS) or other firmware to perform media testing of the system memory, such as a power-on self-test (POST). As another example, a central processing unit (CPU) with direct access to memory may cause the memory to be tested. However, some emerging memory systems are not so tightly coupled to the host to allow such control. For example, different memory types may be connected to the host via an abstract interface that does not provide direct host control of the memory. It is desirable to provide the host with the ability to test such memory systems.

[0009] Aspects of the present disclosure address the above and other challenges. For example, a controller may be configured to enable a host to control media testing on a memory device. The interface between the host and the memory may be abstracted so that the host cannot directly control the memory. Alternatively, the controller may provide conversion between a host protocol such as Compute Express Link (CXL) and a memory protocol such as a protocol used to control a double data rate (DDR) memory interface. The controller may enable discovery, configuration, and / or control of media testing capabilities of the host. The controller may enable reporting of media test results from the memory to the host.

[0010] Such media tests can help determine signal integrity, bit error rate (BER) on the bus of the memory device, or other potential problems that may warrant replacement of the memory device without interrupting the entire system utilizing the memory device. An example of a media test is a marching test, which can be used to detect data retention failures (e.g., bit flips), address failures (e.g., defects in address decoders), and neighborhood pattern sensitive failures (e.g., errors caused by close physical proximity of memory components such as charge sharing), etc. A marching test includes a finite sequence of striding elements (read and / or write operations applied to memory cells in increasing or decreasing address order). An example of a marching test is a MATS+ marching test.

[0011] CXL is a high-speed central processing unit (CPU)-to-device and CPU-to-memory interconnect designed to facilitate next-generation data center performance. CXL technology maintains memory coherence between the CPU memory space and the memory on the attached device, which allows resource sharing to achieve higher performance, reduce software stack complexity, and reduce overall system cost. With the increasing use of accelerators to supplement CPUs to support emerging applications such as artificial intelligence and machine learning, CXL is designed as an industry open standard interface for high-speed communications. CXL technology is built on PCIe infrastructure, leveraging PCIe physical and electrical interfaces to provide advanced protocols in areas such as input / output (I / O) protocols, memory protocols (e.g., initially allowing hosts to share memory with accelerators), and coherence interfaces.

[0012] As used herein, the singular forms "a," "an," and "the" include singular and plural referents unless the context clearly dictates otherwise. Furthermore, the word "may" is used throughout this application in a permissive sense (i.e., having the potential to, being able to), rather than in a mandatory sense (i.e., having to). The term "including" and its derivatives mean "including, but not limited to." The term "coupled" means connected directly or indirectly.

[0013] The figures herein follow a numbering convention in which the first one or more digits correspond to the figure number and the remaining digits identify an element or component in the figure. Similar numerals may be used to identify similar elements or components between different figures. For example, 112 may represent Figure 1 Element "12" in and similar elements in Figure 2 212. Hyphens and additional numbers or letters may be used to denote similar elements within the figures. See, e.g. Figure 1 116-1, ..., 116-N in. Such similar elements can generally be represented without hyphens and additional numbers or letters. For example, elements 116-1, ..., 116-N can be collectively referred to as 116. As used herein, the designators "M", "N" and "P", particularly with respect to the reference numerals in the figures, indicate that several specific features so designated may be included. As will be appreciated, the elements shown in the various embodiments herein may be added, exchanged and / or removed to provide several additional embodiments of the present disclosure. In addition, as will be appreciated, the proportions and relative scales of the elements provided in the figures are intended to illustrate certain embodiments of the present invention and should not be understood in a limiting sense.

[0014] Figure 11 is a block diagram of a computing system 100 according to several embodiments of the present disclosure. The computing system 100 may include a memory controller 102 having a front end portion 104, a central controller portion 106, a back end portion 108, and a management unit 110. The computing system 100 may include a host 112 and memory devices 116-1, ..., 116-N coupled to the memory controller 102.

[0015] The front end portion 104 includes a host interface and interface management circuitry for coupling the memory controller 102 to the host 112 through input / output (I / O) channels 114-1, 114-2, ..., 114-M and circuitry for managing the I / O channels 114. There may be any number of I / O channels 114, such as eight, sixteen, or another number of I / O channels 114. In some embodiments, the I / O channels 114 may be configured as a single port. In at least one embodiment, the interface between the memory controller 102 and the host 112 may be a PCIe physical and electrical interface operating according to the CXL protocol.

[0016] The central controller portion 106 may include and / or be referred to as a data management circuit system. The central controller portion 106 may control the execution of memory operations in response to receiving a request from the host 112. Examples of memory operations include a read operation to read data from the memory device 116 or a write operation to write data to the memory device 116. An example of a memory device 116 is a DRAM operated according to a protocol such as a low power double data rate (LPDDRx), which may be referred to herein as an LPDDRx DRAM device, an LPDDRx memory, etc. The "x" in LPDDRx refers to any of several generations of protocols (e.g., LPDDR5). The memory devices 116 each include at least one memory cell array. In addition to data, the memory device 116 may also store a media test identifier and / or a media test list that the memory device 116 supports (can perform). The media test list is a list of one or more media tests that are intended to be performed as part of a test process. As used herein, "media" refers to a portion of the data path of the memory device 116, such as a memory cell, a bus, etc.

[0017] The central controller portion 106 may generate error detection information and / or error correction information based on data received from the host 112. The central controller portion 106 may perform error detection operations and / or error correction operations on data received from the host 112 or from the memory device 116. An example of an error detection operation is a cyclic redundancy check (CRC) operation. CRC may be referred to as algebraic error detection. CRC may include the use of a check value generated by algebraic calculations using the protected data. CRC may detect accidental changes in data by comparing a check value stored in association with the data with a check value calculated based on the data. An example of an error correction operation is an error correction code (ECC) operation. ECC encoding refers to encoding data by adding redundant bits to the data. ECC decoding refers to consulting the ECC encoded data to check for any errors in the data. In general, ECC can not only detect errors, but also correct a subset of the errors it can detect.

[0018] The back end portion 108 may include a media controller and a physical (PHY) layer that couples the memory controller 102 to the memory device 116. As used herein, the term "PHY layer" generally refers to the physical layer in the open system interconnection (OSI) model of computing systems. The PHY layer may be the first (e.g., lowest) layer of the OSI model and may be used to transmit data via a physical data transmission medium. In some embodiments, the physical data transmission medium may include channels 118-1, ..., 118-N. The back end portion 108 includes a memory interface coupled to the channel 118 to exchange (e.g., transmit or receive) data, commands, instructions, etc. with the memory device 116.

[0019] In some embodiments, the memory controller 102 may include a management unit 110 to initialize, configure, and / or monitor characteristics of the memory controller 102. The management unit 110 may include an I / O bus for managing out-of-band data and / or commands, a management unit controller for executing instructions associated with initializing, configuring, and / or monitoring characteristics of the memory controller, and a management unit memory for storing data associated with initializing, configuring, and / or monitoring characteristics of the memory controller 102. As used herein, the term "out-of-band" generally refers to a transmission medium that is different from the primary transmission medium of a network. For example, out-of-band data and / or commands may be data and / or commands transmitted to a network using a transmission medium different from the transmission medium used to transmit data within the network.

[0020] In some embodiments, the memory controller 102 may convert communications between the host 112 and the memory device 116. For example, the controller 102 may convert communications received via the host interface from a first protocol to a second protocol, and convert communications received from the memory interface from a second protocol to a first protocol. In some embodiments, the controller 102 may manage the host interface using the CXL protocol, which may be electrically and physically configured as a PCIe interface.

[0021] The controller 102 may receive a signal indicating the media test capability information via the memory interface and transmit a signal indicating the media test capability information via the host interface. The media test information may include a respective identifier (e.g., a universally unique identifier (UUID)) for each media test that the memory device 116 coupled to the memory interface is capable of performing. The controller 102 may thereby advantageously allow the host 112 to know what media tests the memory device 116 is capable of performing. The media test capability information may include information about the media test capability information. Figure 3 The supported media test modes and / or definitions of media test properties are described in more detail.

[0022] The controller 102 may receive a signal via the host interface indicating a request for a description of a particular media test and transmit a signal via the memory interface indicating the request. The controller 102 may receive a signal via the memory interface indicating a description of a particular test and transmit a signal via the host interface indicating the description. The controller 102 may advantageously allow the host 112 to learn more information about a particular test from the memory device 116, such as the nature of the test (e.g., a description of the test algorithm, execution time of the test, any flags associated with the test, test data patterns supported by the test, etc.).

[0023] The controller 102 may receive a signal indicating the media test configuration information via the host interface and transmit a signal indicating the media test configuration information via the memory interface. The controller 102 may receive a signal indicating the media test execution instruction via the host interface and transmit a signal indicating the media test execution instruction via the memory interface. The media test execution instruction may be used for a single media test or for a list of media tests. In some embodiments, the controller 102 may transmit a signal indicating the test data pattern in response to the media test execution instruction being of a type that requires a test data pattern for the memory device 116 to perform the media test. The controller 102 may distinguish between media test execution instructions for the entire memory device 116 and an address range of the memory device 116, and convert and transmit the instructions accordingly. The controller 102 may advantageously allow the host 112 to control the media tests performed by the memory device 116, but the host 112 does not directly control the memory device 116 as in some previous approaches that include system memory (e.g., DRAM on a host system (e.g., motherboard)).

[0024] The controller 102 may receive a signal indicating media test result information via the host interface and transmit a signal indicating media test result information via the host interface. The controller 102 may thereby enable result reporting from the memory device 116 to the host 112. The controller 102 may receive a signal indicating a media test abort instruction via the host interface and transmit a signal indicating a media test abort instruction via the memory interface. The controller 102 may thereby provide the host 112 with the ability to abort a media test prior to completion of the media test by the memory device 116. The controller 102 may establish mutual authentication between the host 112 and the memory device 116, such as with respect to Figure 4 Describe in more detail.

[0025] Figure 2 2 is a signaling diagram between a host 212 and a memory device 216 for host-controlled memory media testing according to several embodiments of the present disclosure. Figure 2 Although not specifically shown, the signal transmission between the host 212 and the memory device 216 is carried out through a controller (e.g., Figure 1 ) and may be converted or otherwise modified by the controller. In addition to any conversions, the controller may also make other physical and / or protocol changes to the signaling necessary for communication between the host and the memory, such as to account for different physical interfaces (e.g., pins), voltages, currents, timing, etc. The signaling diagram may represent a method for host-controlled memory media testing, but not every signal shown in every embodiment is required to implement the method.

[0026] The host 212 may transmit a signal indicating a get supported feature command, as shown at 220. The host 212 may use the get supported feature command in order to learn the media test capabilities of the memory device 216. For example, the host 212 may use the get supported feature command when the host 212 is initially coupled to the memory device 216 (via the controller) or when a new memory device is coupled to the controller. The controller may receive the signal indicating the get supported feature command and transmit a corresponding signal indicating the get supported feature command to the memory device 216. In this context, a "corresponding signal" refers to a signal that has been appropriately converted, provided, etc. according to a desired protocol.

[0027] The memory device 216 may store a corresponding identifier for each media test it supports. As shown at 222 ("Output Payload"), in response to the Get Supported Features command, the memory device 216 may transmit a signal indicating the identifiers, each identifier corresponding to a corresponding media test supported by the memory device 216. The controller may transmit a corresponding signal indicating the identifier to the host 212. The host 212 may be configured with a list of media tests and a corresponding identifier for each media test so that upon receiving the identifier from the memory device 216, the host 212 knows the media test capabilities of the memory device 216. In at least one embodiment, the identifier is a UUID so that any host 212 and memory device 216 can identify a particular media test with the same UUID. Different hosts and memory devices may use the same UUID to identify the same media test, which allows the host and memory device to exchange UUIDs to identify media test capabilities and requirements without having to exchange a full description of each media test.

[0028] While the identifier of the media test may inform the host 212 of the ability of the memory device 216 to perform the media test, some media tests may have configurable properties. For some media tests, the configurable properties may vary across different media devices. As shown at 224, the host 212 may transmit a signal indicating a get features command in order to discover the properties of the particular media test. The controller may transmit a corresponding signal indicating a get features command to the memory device 216. The get features command may include an identification (e.g., a UUID) of the particular media test to which the get features command relates.

[0029] As shown at 226 ("OUTPUT PAYLOAD"), the memory device 216 may transmit a signal indicating the nature of a particular media test in response to the get feature command. The controller may transmit a corresponding signal indicating the nature of a particular media test to the host 212. Examples of such media test properties include a description of the test algorithm, the execution time of the media test for each amount of memory (e.g., how long the memory device 216 will take or is allowed to take to perform the media test), the time scale of the media test, the maximum operation latency of the media test, any flags associated with the media test, the test data patterns supported by the memory device 216, and the like. Examples of flags include an indication of whether the address range is configurable, an indication of whether the media test can be repeated with complementary test data patterns, an indication of whether the media test can be stopped in response to a discovered error, and an indication of the addressing mode, and the like.

[0030] As shown at 228, the host 212 may transmit a signal indicating a set feature command. The set feature command may include a definition of one or more properties of a media test, a definition of a test mode, a number of iterations of a media test to be performed, or other configuration of a media test to be performed. In some embodiments, the set feature command may be a set media test list feature command used to configure more than one media test to be performed together (e.g., simultaneously, sequentially, etc.) in response to a single start maintenance command. The controller may transmit a corresponding signal indicating the set feature command to the memory device 216. The controller may thereby configure a specific media test on the memory device 216 in response to the set feature command from the host 212. For example, the controller may configure a duration of a specific media test to be performed according to the set feature command, the duration corresponding to the definition of the test mode. As shown at 230 ("Output Payload"), the memory device 216 may transmit a signal indicating a confirmation that a specific feature has been set. The controller may transmit a corresponding signal to the host 212.

[0031] Examples of test modes include fast tests, long tests, timed tests, factory burn-in tests, and vendor-specific tests. The set features command can configure the maximum duration of the media test. In some embodiments, for a particular type of media test, a particular maximum duration may be predefined as "fast" or "long". A timed test refers to a specific amount of time that a media test may be performed by a set features command. A factory burn-in test refers to a media test that is intended to be performed before the memory device 216 operates with user data. A factory burn-in test may be configured to be performed at an unconstrained time. The term "factory burn-in" in this context does not mean that the test needs to be performed at the manufacturer's facility or before the memory device 216 is shipped, but rather indicates that the test will be performed on-site to replicate a test that the manufacturer of the memory device 216 may have otherwise performed. A vendor-specific test refers to a custom configuration test that is specific to the desired operating parameters of a particular host (or a vendor of a host).

[0032] As shown at 232, the host 212 may transmit a signal indicating the start maintenance command. In some embodiments, the signal indicating the start maintenance command may also indicate a test data pattern. The memory device 216 may or may not store a test data pattern for use in the media test. The host 212 may rely on the test data pattern stored in the memory device 216 or provide its own test data pattern for the media test. The controller may transmit a corresponding signal to the memory device 216, thereby causing a specific media test (or a list of media tests) to be run on the media of the memory device 216 in response to the start maintenance command from the host 212. As shown at 234 ("Output Payload"), the memory device 216 may transmit a signal indicating a confirmation that the start maintenance command has been received and / or that the execution of the media test has begun or is about to begin. The controller may transmit a corresponding signal to the host 212.

[0033] Although not specifically shown, the host 212 may transmit a signal indicating an abort media test command. The controller may transmit a corresponding signal to the memory device 216, thereby causing the particular media test to be aborted. The memory device 216 may transmit a signal indicating confirmation that the abort media test command has been received and / or that the execution of the media test has been or will be stopped. If the media test has been completed or cannot be aborted for any reason, the memory device 216 may transmit a signal indicating that fact. The controller may transmit a corresponding signal to the host 212 indicating that the media test has been, will be, or cannot be aborted.

[0034] As shown at 236, host 212 may transmit a signal indicating a get log command. The controller may transmit a corresponding signal to memory device 216. As shown at 238 ("OUTPUT PAYLOAD"), memory device 216 may transmit a signal indicating the result of the media test in response to the get log command from host 212. The controller may transmit a corresponding signal to host 212. Although Figure 2 Although not specifically shown in FIG. 2 , the controller may facilitate mutual authentication between the host 212 and the memory device 216 .

[0035] Figure 3 is a block diagram illustrating a method for host-controlled storage media testing according to several embodiments of the present disclosure. Figure 3 Although not specifically shown, the communication between the host 312 and the memory device 316 is passed through a controller (e.g., Figure 1 ) and may be converted or otherwise modified by the controller. In addition to any conversions, the controller may also make other physical and / or protocol changes to the signaling necessary for communication between the host and the memory, such as to account for different physical interfaces (e.g., pins), voltages, currents, timings, etc.

[0036] As shown at 340, the memory device 316 may store identifiers 346-1, 346-2, ..., 346-P (indicated as IDx, IDy, IDz), and a respective media test list 348-1, 348-2, ..., 348-P corresponding to each of the identifiers 346. Figure 3 , identifier 346 identifies a media test list rather than an individual media test, which may still have its own identifier. Each media test list 348 includes a number of media tests, each of which is supported by memory device 316. A particular media test may be included in more than one media test list 348. Memory device 316 may transmit a signal indicating identifier 346 to host 312 via the controller (e.g., in response to a get supported features command). Memory device 316 may store information indicating various test modes 350 (in Figure 3 As described herein, examples of test modes include quick test, long test, timed test, factory aging test, and vendor specific test.

[0037] As shown at 342, the memory device 316 may receive a signal from the host 312 (via the controller) that includes one of the identifiers 346-1 indicating a CXL execute maintenance mailbox command 352. A mailbox command is a register-based command defined in the CXL standard. In some embodiments, the CXL execute maintenance mailbox command 352 may be accompanied by a definition of a test mode 350 (in Figure 3 In response to receiving the definition of the test mode 350, the test mode 350 may be configured prior to running the media tests of the media test list 348-1 associated with the indicator 346-1 of the media test list 348-1, as indicated by the selection mark in the memory device 316. Configuring the test mode for the media test list is largely similar to configuring the test mode for a single media test described herein, except that various timing properties may be defined for the duration of the entire test list rather than for individual media tests. For example, a maximum duration for the execution of the test list may be configured. The memory device 316 may run the media test from the media test list 348-1 corresponding to the identifier 346-1.

[0038] After running the media test, the memory device 316 may store the results 354 of the media test, as shown at 344. The memory device 316 may transmit a signal indicative of the results 354 to the host 312 (via the controller).

[0039] Figure 44 is a signaling diagram between a host and a memory device for mutual authentication between the host 412 and the memory device 416 according to several embodiments of the present disclosure. In some embodiments, the mutual authentication process between the host 412 and the memory device 416 (e.g., Figure 4 ) may be performed prior to host-controlled media testing on the memory device 416 as described herein. Figure 4 Although not specifically shown, the communication between the host 412 and the memory device 416 is passed through a controller (e.g., Figure 1 ) and may be converted or otherwise modified by the controller. In addition to any conversions, the controller may also make other physical and / or protocol changes to the signaling necessary for communication between the host and the memory, such as to account for different physical interfaces (e.g., pins), voltages, currents, timing, etc. The controller may be configured to establish a mutually authenticated security protocol and data model (SPDM) session between a host 412 coupled to the host interface and a memory device 416 coupled to the memory interface to enable the host to issue media test execution instructions to the memory device via the controller.

[0040] The host 412 may transmit a signal indicating a get version command to learn which version of the security protocol the memory device 416 can support. In response, the memory device 416 may transmit a signal indicating the supported version.

[0041] The host 412 may transmit a signal indicating a get capabilities command to learn which specific capabilities the memory device 416 has within the defined version. In response, the memory device 416 may transmit a signal indicating its security capabilities.

[0042] The host 412 may transmit a signal indicating which security algorithms are to be used by the negotiating memory device 416. In response, the memory device 416 may transmit a signal indicating the security algorithm to be used.

[0043] The memory device 416 may be authenticated via the exchange of digests and certificates. The host 412 may transmit a signal indicating a get digest command to learn which digests the memory device 416 uses. In response, the memory device 416 may transmit a signal indicating the digest to be used. The host 412 may transmit a signal indicating a get certificate command to learn which security certificate the memory device 416 possesses. In response, the memory device 416 may transmit a signal indicating its security certificate.

[0044] Host 412 may transmit a signal indicating a key exchange request to memory device 416. In response, memory device 416 may transmit a signal indicating a security key to be used.

[0045] The host 412 may be authenticated via an exchange of encapsulated digests and certificates. The host 412 may transmit a signal indicating a request for encapsulated communications. In response, the memory device 416 may transmit a signal indicating an encapsulated obtain digest command. In response, the host 412 may transmit a signal indicating an encapsulated digest to be used for host authentication. The memory device 416 may transmit a signal indicating an encapsulated obtain certificate command to learn which security certificate the host 412 possesses. In response, the host may transmit a signal indicating an encapsulated security certificate used by the host 412. In response, the memory device 416 may transmit a signal indicating an encapsulated response confirming host authentication.

[0046] The host 412 may transmit a signal indicating completion of the mutual authentication process with the memory device 416. In response, the memory device 416 may transmit a signal indicating confirmation that the mutual authentication is complete. After successful mutual authentication, the host 412 may issue a media test command to the memory device 416 (via the controller) for execution.

[0047] Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that arrangements calculated to achieve the same results may replace the specific embodiments shown. The present disclosure is intended to cover modifications or variations of one or more embodiments of the present disclosure. It should be understood that the above description has been made in an illustrative and non-restrictive manner. After reviewing the above description, the combination of the above-described embodiments and other embodiments not specifically described herein will be apparent to those of skill in the art. The scope of one or more embodiments of the present disclosure includes other applications using the above structures and processes. Therefore, the scope of one or more embodiments of the present disclosure should be determined with reference to the attached claims and the full scope of equivalents to which such claims are given.

[0048] In the foregoing detailed description, some features are grouped together in a single embodiment for the purpose of simplifying the disclosure. This method of disclosure should not be understood to reflect an intention that the disclosed embodiments of the disclosure must use more features than those explicitly stated in each claim. On the contrary, as reflected in the appended claims, the subject matter of the present invention lies in less than all features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the detailed description, with each claim existing on its own as a separate embodiment.

Claims

1. A method comprising: transmitting, in response to a get supported features command from a host, a signal from a memory controller to the host indicating a plurality of identifiers, each identifier corresponding to a respective media test supported by a memory device; configuring the specific media test in response to a set features command for the specific media test from the host; causing the specific media test to be run on the media of the memory device in response to an initiate maintenance command from the host; as well as A signal indicative of a result of the specific media test is transmitted from the memory controller to the host in response to a get log command from the host.

2. The method of claim 1 , wherein the set feature command further comprises a definition of a test mode; and Configuring the specific media test further includes configuring a duration of the specific media test, wherein the duration corresponds to the definition of the test mode.

3. The method of claim 1, further comprising transmitting from the memory controller a signal indicating a property of a particular media test in response to a get characteristics command from the host for a particular identifier of the plurality of identifiers corresponding to a particular test.

4. The method of claim 3, wherein transmitting a signal indicative of the property comprises transmitting a signal indicative of: Description of the algorithm; Execution time; any logo; and Any supported test data style.

5. The method of any one of claims 1 to 4, further comprising aborting the specific media test in response to an abort media test command from the host.

6. The method of any one of claims 1 to 4, wherein the set feature command comprises a set media test list feature command for a plurality of media tests; and Wherein configuring the specific media test includes configuring the plurality of media tests in response to the set media test list feature command.

7. The method of any one of claims 1 to 4, further comprising mutually authenticating the memory controller and the host via a Security Protocol and Data Model (SPDM) standard.

8. A method comprising: storing a plurality of identifiers and a respective media test list corresponding to each of the plurality of identifiers, wherein the respective media test lists each include a respective plurality of media tests supported by a memory device; receiving a compute express link (CXL) execute maintenance mailbox command from a host including one of the plurality of identifiers; as well as A plurality of media tests are run from the respective media test list corresponding to the one of the plurality of identifiers.

9. The method of claim 8, further comprising transmitting a signal indicative of the plurality of identifiers from a memory controller to the host prior to receiving the CXL execute maintenance mailbox command.

10. The method of claim 9, further comprising transmitting a signal from the memory controller to the host indicative of results of the plurality of media tests.

11. The method according to any one of claims 8 to 10, wherein the CXL execute maintenance mailbox command comprises a definition of a test mode; and The method further comprises configuring the test mode before running the plurality of media tests.

12. The method of claim 11, wherein configuring the test mode further comprises configuring respective maximum durations of the plurality of media tests in response to the definition of the test mode comprising a quick test or a long test.

13. The method of claim 11, wherein configuring the test pattern further comprises configuring specific durations of the plurality of media tests in response to the definition of the test pattern comprising timed tests.

14. The method of claim 11, wherein configuring the test pattern further comprises configuring unconstrained test times for the plurality of media tests in response to the definition of the test pattern comprising a factory burn-in test.

15. The method of claim 11, wherein configuring the test pattern further comprises custom configuring the plurality of media tests in response to the definition of the test pattern including vendor specific tests.

16. An apparatus comprising: Host interface; Memory interface; as well as a controller coupled to the host interface and to the memory interface, wherein the controller is configured to: receiving a signal indicative of media test capability information via the memory interface and transmitting a signal indicative of the media test capability information via the host interface; receiving a signal indicative of media test configuration information via the host interface and transmitting a signal indicative of the media test configuration information via the memory interface; receiving a signal indicating a media test execution instruction via the host interface and transmitting a signal indicating the media test execution instruction via the memory interface; and A signal indicative of media test result information is received via the memory interface and a signal indicative of the media test result information is transmitted via the host interface.

17. The device of claim 16, wherein the controller is configured to convert communications received via the host interface from a first protocol to a second protocol; and Communications received via the memory interface are converted from the second protocol to the first protocol.

18. The apparatus of claim 16, wherein the media test capability information includes definitions of supported media test modes and media test properties.

19. The apparatus of claim 16, wherein the media test capability information comprises a respective universally unique identifier (UUID) for each media test that a memory device coupled to the memory interface is capable of performing.

20. The apparatus of claim 16, wherein the controller is configured to: receiving a signal via the host interface indicating a request for a description of a particular media test and transmitting a signal via the memory interface indicating the request; and A signal indicative of the description of the particular media test is received via the memory interface and a signal indicative of the description of the particular media test is transmitted via the host interface.

21. The apparatus of claim 16, wherein the controller is configured to: transmitting a signal indicative of the media test execution instruction for a single media test in response to the media test configuration information or the media test execution instruction indicative of a single media test; and A signal indicative of the media test execution instruction for a media test list is transmitted in response to the media test configuration information or the media test execution instruction indicative of a media test list.

22. An apparatus according to any one of claims 16 to 21, wherein the controller is configured to transmit a test data pattern via the memory interface in response to the media test execution instruction including a type of test data pattern requiring a memory device coupled to the memory interface.

23. The apparatus of any one of claims 16 to 21, wherein the controller is configured to distinguish the media test execution instructions for an entire memory device coupled to the memory interface and an address range of the memory device.

24. The apparatus of any one of claims 16 to 21, wherein the controller is configured to receive a signal indicative of a media test abort instruction via the host interface and to transmit a signal indicative of the media test abort instruction via the memory interface.

25. An apparatus according to any one of claims 16 to 21, wherein the controller is configured to establish a mutually authenticated security protocol and data model (SPDM) session between a host coupled to the host interface and a memory device coupled to the memory interface, so that the host can issue media test execution instructions to the memory device via the controller.