Adaptive watchdog in memory devices
The adaptive watchdog module dynamically adjusts the watchdog timer value of the memory device, solving the problems of inefficiency and instability caused by fixed timer values and achieving more efficient and reliable memory operations.
Patent Information
- Application Number
- CN201980047823.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-06-18
- Filing Date
- 2019-06-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-06-14
AI Technical Summary
The watchdog timer value in existing memory devices is fixed and cannot adapt to the memory operation requirements of different applications, resulting in low efficiency and instability.
An adaptive watchdog module is introduced to dynamically adjust the watchdog timer value by monitoring host timeout events and memory wait times to reset the memory device independently of the host.
Minimize watchdog self-reset error events, avoid the host from sending reset signals in advance, and improve the operating efficiency and reliability of the memory device.
Smart Images

Figure CN112437960B_ABST
Abstract
Description
[0001] Priority application
[0002] This application claims the benefit of priority to U.S. Application No. 16 / 010,940, filed on June 18, 2018, which is incorporated herein by reference in its entirety. Background Art
[0003] Memory devices are typically provided as internal semiconductor integrated circuits in computers or other electronic devices. There are many different types of memory, including volatile and non-volatile memory. Flash memory is used as non-volatile memory for a wide range of electronic applications. Flash memory devices typically include one or more groups of floating gate or charge trap memory cells to achieve high memory density, high reliability, and low power consumption.
[0004] Two common types of flash memory array architectures include NAND and NOR architectures, named for the logical form in which the basic memory cell configuration of each is arranged. The memory cells of a memory array are typically arranged in a matrix. In an example, the gate of each floating gate memory cell in a row of the array is coupled to an access line (e.g., a word line). In a NOR architecture, the drain of each memory cell in a column of the array is coupled to a data line (e.g., a bit line). In a NAND architecture, the drain of each memory cell in a string of the array is coupled together in series between a source line and a bit line in a source-to-drain manner. The word line coupled to the gates of the unselected memory cells of each group is driven with a specified pass voltage (e.g., Vpass) to cause the unselected memory cells of each group to operate as pass transistors (e.g., pass current in a manner that is not limited by the data values they store).
[0005] Memory arrays or devices can be combined together to form storage volumes of a memory system, such as a solid state drive (SSD), universal flash memory (UFS), or a TM ) devices, Multimedia Card (MMC) solid-state storage devices, embedded MMC devices (eMMC TM ), etc. SSDs can be used, among other things, as primary storage devices for computers or mobile devices (e.g., smartphones), and have advantages over traditional hard disk drives with moving parts in terms of, for example, performance, size, weight, ruggedness, operating temperature range, and power consumption. For example, SSDs can have reduced seek times, latency, or other delays associated with disk drives (e.g., electromechanical, etc.). SSDs use non-volatile memory cells such as flash memory cells to avoid internal battery power requirements, making the drive more versatile and compact.
[0006] Many conventional memory devices typically include a watchdog timer that resets the memory device after a preset fixed period of time to avoid deadlock or crash conditions, thereby improving the reliability of the memory device. In some cases, a host associated with the memory device may reset the memory device when a given command issued by the host times out or exceeds a host timeout value. Such conventional memory watchdog timers typically operate based on fixed intervals, which may provide less than ideal performance in the case of different systems incorporating memory devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals with different letter suffixes may represent different instances of similar components. The drawings generally illustrate various embodiments discussed in this document by way of example and not limitation.
[0008] Figure 1 An example of an environment including a memory device upon which one or more embodiments may be implemented is shown.
[0009] Figure 2 is a block diagram illustrating an example of an adaptive watchdog module upon which one or more embodiments may be implemented.
[0010] Figure 3 An example block diagram of a memory module is shown upon which one or more embodiments may be implemented.
[0011] Figure 4 is a process flow diagram for establishing parameters of an adaptive watchdog module upon which one or more embodiments may be implemented.
[0012] Figure 5 is a process flow diagram for establishing parameters of an adaptive watchdog module based on host timeout events and memory latency upon which one or more embodiments may be implemented.
[0013] Figure 6 is a block diagram illustrating an example of a machine upon which one or more embodiments may be implemented. DETAILED DESCRIPTION
[0014] This document describes various techniques for configuring and operating a memory watchdog timer to establish a timer value (timeout value) of an adaptive watchdog module in or associated with one or more memory devices in response to the operation of a system in which the memory is incorporated. This document discusses various techniques for monitoring a host timeout event (e.g., when a host resets a memory device) in connection with receiving a memory operation command to identify a lower (or lowest or minimum) possible timeout value (e.g., a timer value, i.e., a threshold amount less than a host timeout interval) of an adaptive watchdog module. This document discusses various techniques for monitoring the latency of a memory when performing or executing one or more memory operation commands to identify a lower (or lowest or minimum) possible timeout value (e.g., a timer value, i.e., a threshold amount greater than a maximum memory operation latency) of an adaptive watchdog module. As mentioned herein, a memory device may include a memory array unit, a bus line including latches of a bus, a memory controller, a die on which a memory array and other memory components are implemented, and any other components for storing or retrieving information or assisting a storage element in performing a storage or retrieval operation.
[0015] The adaptive watchdog module may be external and / or outside of a memory device, a memory device die, or may be included on a memory device die, or, for example, on a logic die physically associated with a memory die. In some cases, there may be a separate adaptive watchdog module for each memory device, or in some instances, there may be a separate adaptive watchdog module for each portion of a memory device on a given die. The adaptive watchdog module may be configured to trigger a reset signal to one or more memory devices when an adaptive watchdog module timer times out (reaches a given adaptive watchdog module timer value). This enables the reset of the memory device to be independent of (or not involve) the host issuing a reset signal.
[0016] In some embodiments, a single adaptive watchdog module may be coupled to multiple memory devices, and multiple watchdog timers (each with a different value) may be implemented for each memory device. For example, one memory device may be dedicated to performing a given set of operations for one application or type of application (e.g., an image processing application), or may be configured to communicate with one host processor (e.g., one core of a multi-core processor), and a second memory device may be dedicated to performing a given set of operations for a second application or second type of application (e.g., an email application), or may be configured to communicate with a second host processor (e.g., a second core of a multi-core processor). In this case, the watchdog module may configure a different timer value for each memory device. The following discussion relates to adjusting or establishing a timer value for a given watchdog module, and is similarly applicable to adjusting or establishing a timer value for multiple watchdog modules.
[0017] The adaptive watchdog module timeout value may be established when a given memory device or adaptive watchdog module is manufactured, or may be configured, altered, or adjusted after the memory device is manufactured. For example, the adaptive watchdog module may be initially set with a preset timer value corresponding to the specifications of a given memory device (e.g., a safe amount of time to allow for worst-case latency conditions for the memory device or an average latency for the memory device). During operation of the memory device, the adaptive watchdog module may monitor interactions within the memory device and between the memory device and external components (e.g., a processor) to dynamically adjust the adaptive watchdog module timer value.
[0018] In some embodiments, the adaptive watchdog module can receive a signal indicating that the memory device receives a memory device operation command from a host (a processor coupled to the memory device). The adaptive watchdog module can store a timestamp for the received memory device operation command. Alternatively, the adaptive watchdog module can access a memory queue in which the memory device operation command and the corresponding timestamp are stored. The timestamp of the memory device operation command can identify the time when the memory device operation command was received from the host. After the memory device successfully executes the memory device operation command, the memory device can reset the timer of the adaptive watchdog module.
[0019] In some cases, the memory device operation command may not have completed execution or has not been successfully executed before receiving a reset signal from the host. For example, for each command issued by the host to the memory device, the host may associate a timer with a host timeout value, and if the memory device does not successfully execute a given command before the host's timeout value (e.g., before the host times out), the host may send a reset signal to the memory device. In this case, the adaptive watchdog module may generate a timestamp indicating the time when the memory device receives the reset signal from the host (e.g., due to a host timeout event). The adaptive watchdog module may retrieve the timestamp of the memory device operation command first or last received from the host before the host times out. The adaptive watchdog module may calculate the difference between the timestamp of the memory device operation command and the timestamp of the host timeout reset signal to determine the time interval (e.g., host timeout timer) of the estimated host timeout event period. The adaptive watchdog module may set the adaptive watchdog module timer value to the determined time interval minus a threshold amount (e.g., an increment value). The time interval minus the threshold amount may be referred to as an adjusted time interval or an adjusted estimated host timeout value. The threshold amount may be a predetermined unit of time, or may be a percentage value of the timer value to be adjusted. For example, the threshold amount may be set to a given percentage value (e.g., 1%), in which case setting the determined time interval minus the threshold value may correspond to setting the timer value to 99% of the determined time interval (i.e., the determined time interval minus 1% of the determined time interval).
[0020] As a result, when a memory operation command subsequently received from the host approaches the host timeout value, the adaptive watchdog module can self-reset the memory device. That is, the adaptive watchdog module can reset the memory device before the host times out. In some cases, when the adaptive watchdog module resets the memory device, the memory device or the adaptive watchdog module can notify the host about the reset initiated by the watchdog to reset the host timeout timer and avoid having the host also send a reset signal when the timeout occurs. The term "timeout (times out, timeout or timing out)" should be understood to refer to a running timer that reaches a preset value or amount. The threshold amount can be predefined based on the characteristics of the host (e.g., the type of processor, or the type or number of applications running on the host).
[0021] In some embodiments, the adaptive watchdog module can track the time taken by the memory device to perform memory operations, and can set the adaptive watchdog module timer value to the maximum amount of time plus a threshold amount (e.g., an incremental value). The threshold amount can be the same or different from the threshold amount used when subtracting from the estimated host timeout value above. The threshold amount can be predefined based on the characteristics of the host (e.g., the type of processor, or the type or number of applications running on the host). The threshold amount can be a predetermined unit of time, or it can be a percentage value of the timer value to be adjusted. For example, the threshold amount can be set to a given percentage value (e.g., 1%), in which case setting the timer value to the maximum amount of time plus the threshold value can correspond to setting the timer value to 101% of the maximum amount of time (i.e., the maximum amount of time plus 1% of the maximum amount of time).
[0022] For example, the adaptive watchdog module may generate or obtain a timestamp for a given memory device operation received from the host. After the memory device operation is completed, the adaptive watchdog module may generate another timestamp, and based on the difference between the timestamps when the command is received and when the command is completed, the adaptive watchdog module may determine the command wait time. The adaptive watchdog module may generate wait time values for a threshold number of memory device operation commands. After executing a threshold number of memory device operation commands, the adaptive watchdog module may retrieve the generated wait time values and calculate the average of these values to determine the memory wait time period. Alternatively, the adaptive watchdog module may identify the maximum of all generated wait time values and determine the memory wait time period as the identified maximum wait time value. The adaptive watchdog module may set the adaptive watchdog module timer value to the determined memory wait time plus a threshold amount (e.g., an increment value). The determined memory wait time plus the threshold amount may be referred to as an adjusted memory wait time. As a result, when a subsequently received memory operation command is not completed before the longest or average wait time period of a previous command issued to the memory device, the adaptive watchdog module may self-reset the memory device.
[0023] In some embodiments, the adaptive watchdog module can determine different memory waiting times for different categories of memory operations. For example, the adaptive watchdog module can determine a first memory waiting time representing the maximum or average waiting time for performing a write operation. Similarly, the adaptive watchdog module can determine a second memory waiting time representing the maximum or average waiting time for performing a read operation. Specifically, one type of command can correspond to a single read operation, another type of command can correspond to a block read operation, another type of command can correspond to a single write operation, another type of command can correspond to a block write operation, another type can correspond to a block erase or a single erase, and another type can correspond to a group of write operations received within a given interval (e.g., the frequency of one or more types of commands). The adaptive watchdog module can set priorities for different types of commands, and can adjust the adaptive watchdog module timer value based on the waiting time (adjusted by a threshold amount) of the command category with the highest priority. For example, the adaptive watchdog module can determine that a write command has a higher priority than a read command. In this case, the adaptive watchdog module can retrieve the first memory wait time value instead of the second memory wait time value and adjust the first memory wait time value by adding the threshold amount to the first memory wait time value to set the watchdog timer value to the adjusted first memory wait time value. In some embodiments, the adaptive watchdog module can identify the command class with the greatest activity for a given application being executed by the host. In this case, the adaptive watchdog module can increase the priority associated with the identified command class. In this way, a given application that performs more first-class operations than second-class operations can affect or cause the adaptive watchdog module to adjust the adaptive watchdog module timer value based on the first-class command wait time instead of the second-class command wait time.
[0024] In some embodiments, the adaptive watchdog module may compare an adjusted estimated host timeout value (e.g., the time between receiving a memory operation and receiving a host reset minus a threshold amount) to an adjusted memory latency (e.g., the average or maximum amount of time between receiving a memory operation and completing the memory operation plus a threshold amount). The adaptive watchdog module may set the watchdog timer value to the minimum of the two time periods. Specifically, if the adjusted estimated host timeout value is greater than the adjusted memory latency, the adaptive watchdog module may set the watchdog timer to the adjusted memory latency. If the adjusted estimated host timeout value is less than or equal to the adjusted memory latency, the adaptive watchdog module may set the watchdog timer to the adjusted estimated host timeout value.
[0025] In some embodiments, the adaptive watchdog module can continuously monitor and determine the host timeout reset interval and memory operation waiting time in the manner discussed above and below. Each time a host timeout reset signal is received, or after a threshold number of host timeout reset signals, the adaptive watchdog module can adapt the adaptive watchdog module timer value. Each time a threshold number of commands are executed, the adaptive watchdog module can adapt the timer value. In some embodiments, the adaptive watchdog module can adapt the timer value after a threshold time period since the last update of the adaptive watchdog module timer value. In some embodiments, after a threshold time period (e.g., a week or a complete battery cycle or after closing the application), the adaptive watchdog module can reset the adaptive watchdog module timer value to a default value. The default value can correspond to the value set for the adaptive watchdog module when the adaptive watchdog module is manufactured. In some embodiments, the adaptive watchdog module can determine that a new software update for the host is received or a new firmware is installed on the host, and in response, the adaptive watchdog module can reset the adaptive watchdog module timer value to a default value.
[0026] Electronic devices, such as mobile electronic devices (e.g., smartphones, tablets, etc.), electronic devices for automotive applications (e.g., automotive sensors, control units, driver assistance systems, passenger safety or comfort systems, etc.), and Internet-connected appliances or devices (e.g., Internet of Things (IoT) devices, etc.), have storage needs that vary depending on, among other things, the type of electronic device, the usage environment, performance expectations, etc. These electronic devices may run a variety of applications, each with different storage device requirements and behaviors. Some applications may need to frequently access storage devices (e.g., memory devices). When performing storage operations, the latency experienced by such applications may exceed the latency experienced by other applications. Due to the difference in latency, a fixed timeout value for a memory device watchdog may result in inefficiency and unstable behavior. In particular, for applications with many memory operations and thus longer latency, a watchdog timer value that is too short may result in the memory device performing a self-reset when there is no error condition. On the other hand, for applications with fewer memory operations and thus shorter latency, having a watchdog timer value that is too long may result in the host having to reset the memory device before the memory device can detect a fault or crash condition. Waiting for the host to reset the memory device is inefficient and places a burden on the host. According to some embodiments, the adaptive watchdog module can adapt the timeout value of the watchdog module according to the specific memory requirements of the specific host coupled to the memory device and one or more applications running on the host. This forms a technical solution that provides a technical improvement over the typical fixed watchdog timer value by reducing the inefficiency caused by such fixed watchdog timer value. Specifically, according to some embodiments, the adaptive watchdog module self-resets or resets the memory device before the host times out and resets the device and independently of the host timing out and resetting the device. That is, the host does not need to participate in resetting the memory device because the adaptive watchdog module adapts to the specific host and memory device operation latency and can reset the memory device before involving the host.
[0027] This technical improvement can minimize false watchdog trigger events (self-reset triggers) in which the watchdog performs a self-reset when the device is in a safe operating state; and minimize watchdog events detected by the host in which the host detects an error before the watchdog and issues a reset signal before the watchdog. This technical improvement also avoids having to set a fixed watchdog timer value during manufacturing according to the platform of the host or target embedded device to which the memory device will be coupled.
[0028] Figure 1An example of an environment 100 including a host 105 and a memory device 110 configured to communicate via a communication interface is shown. The host 105 or the memory device 110 may be included in a variety of products 150, such as an IoT device (e.g., a refrigerator or other appliance, a sensor, a motor or actuator, a mobile communication device, a car, a mobile phone, a drone, etc.) to support processing, communication, or control of the product 150.
[0029] The memory device 110 includes a memory controller 115 and a memory array 120, which includes, for example, one or more separate memory dies (e.g., a three-dimensional (3D) NAND die stack). In 3D architecture semiconductor memory technology, vertical structures are stacked in multiple levels and coupled to form physical pages, thereby increasing the storage density of a memory device (e.g., a storage device) in a given footprint (i.e., the external dimensions). In an example, the memory device 110 can be a discrete memory or storage device component of the host 105. In other examples, the memory device 110 can be part of an integrated circuit (e.g., a system on a chip (SoC), a die, etc.) stacked or otherwise included with one or more other components of the host 105.
[0030] One or more communication interfaces may be used to transfer data between the memory device 110 and one or more other components of the host 105, such as a Serial Advanced Technology Attachment (SATA) interface, a Peripheral Component Interconnect Express (PCIe) interface, a Universal Serial Bus (USB) interface, a UFS interface, an eMMC interface, or a USB interface. TM interface or one or more other connectors or interfaces. Host 105 may include a host system, an electronic device, a processor, a memory card reader, or one or more other electronic devices external to memory device 110. In some examples, host 105 may be a Figure 6 6. A machine that may include some or all of the components discussed above for machine 600. Data may be transferred between memory device 110 and other components via an input / output (I / O) bus, which may include one or more latches for temporarily storing data while the data is being transferred (e.g., before being read from or written to a memory array).
[0031] The memory controller 115 may receive instructions from the host 105 and may communicate with the memory array to transfer data to (e.g., write or erase) or transfer data from (e.g., read) one or more of the memory cells, planes, sub-blocks, blocks, or pages of the memory array. The memory controller 115 may include, among other things, circuitry or firmware, including one or more components or integrated circuits. For example, the memory controller 115 may include one or more memory control units, circuits, control circuitry, or components configured to control access on the memory array 120 and provide a translation layer between the host 105 and the memory device 110. The memory controller 115 may include one or more I / O circuits (and corresponding latches), wires, or interfaces to transfer data to or from the memory array 120. The memory controller 115 may include a memory manager 125 and an array controller 135.
[0032] The array controller 135 may include, among other things, circuitry or components configured to control memory operations associated with writing data to, reading data from, or erasing one or more memory cells of the memory device 110 coupled to the memory controller 115. The memory operations may be based on host commands (e.g., associated with wear leveling, error detection or correction, etc.), such as received from the host 105 or generated internally by the memory manager 125.
[0033] The array controller 135 may include an error correction code (ECC) component 140, which may include, among other things, an ECC engine, or other circuitry configured to detect or correct errors associated with writing data to or reading data from one or more memory cells of a memory device 110 coupled to the memory controller 115. The ECC component 140 may, for example, detect or calculate a bit error rate (BER) associated with performing a plurality of memory operations. The BER may correspond to a bit error occurring in a latch of an I / O bus, an internal error of the controller 115, an error occurring in any one or more of one or more of the NAND arrays, or one or more multi-level cells (MLCs) of the memory device 110. The memory controller 115 may be configured to effectively detect and recover from error occurrences (e.g., bit errors, operational errors, crash conditions, stalls, hangups, etc.) associated with various operations or data storage, while maintaining the integrity of data transferred between the host 105 and the memory device 110, or maintaining the integrity of stored data (e.g., using redundant RAID storage, etc.), and may remove (e.g., retire) failed memory resources (e.g., memory cells, memory arrays, pages, blocks, etc.) to prevent future errors. The array controller 135 may transmit the detected BER information to the memory manager 125 for storage and tracking. The memory controller 115 may include a command queue (not shown) that tracks memory commands received from the host. The commands in the queue may be executed by the controller 115 in a first-in-first-out (FIFO) manner, in a stacked manner, out of order, according to priority, or in any other suitable order.
[0034] The depicted memory device 110 includes an adaptive watchdog module 160 associated with a memory array 120. Figure 2 Discussed in more detail, the adaptive watchdog module includes a watchdog timer ( Figure 2210 in the example). In some embodiments, the controller 115 of the memory device 110 may include control circuitry configured to implement the functions of the adaptive watchdog module 160. In other embodiments, the adaptive watchdog module 160 may include independent control circuitry for implementing the described functions. In other embodiments, the control circuitry may be divided between the adaptive watchdog module 160 and the controller 115 to implement the described functions of the adaptive watchdog module 160. In the depicted example, the array controller 135 forms a part of the memory controller 115, and the adaptive watchdog module 160 forms a part of the array controller. In other embodiments, the adaptive watchdog module 160 may be external and / or outside the array controller 135. For example, the adaptive watchdog module 160 (or any separate component thereof) may be a separate component coupled to one or more components in the environment 100. For example, the adaptive watchdog module 160 may be a separate device on a different die than the die on which the memory device 110 is implemented. In the case where the adaptive watchdog module 160 is implemented outside of the array controller 135, the adaptive watchdog module 160 can communicate with components on the memory device (e.g., command queue) to obtain memory operation command status information from the memory device 110. Regardless of the physical location, the watchdog timer 210 and the structure that provides the additional functionality of the adaptive watchdog module 160 when present are used to control the memory array and provide a separate watchdog timer structure and functionality that is implemented independently from the host, as in some conventional memory devices. Figure 2 An exemplary implementation of the adaptive watchdog module 160 is described.
[0035] In some embodiments, the adaptive watchdog module 160 can monitor host interactions with the memory device 110 and memory command latency in the memory device 110. When the timer of the adaptive watchdog module 160 reaches the timer value of the adaptive watchdog module 160, the adaptive watchdog module 160 can reset the controller 135 or any other component of the memory device 110. In some embodiments, the adaptive watchdog module 160 can detect a host reset signal being received by the controller 135, and in response, the adaptive watchdog module 160 can retrieve the timestamp of the earliest or latest command stored in the command queue of the controller 135. The adaptive watchdog module 160 can calculate the difference between the timestamp of the host reset signal and the retrieved timestamp to estimate the host timeout period. The adaptive watchdog module 160 can adjust the estimated host timeout period by reducing the estimated host timeout period by a threshold amount, and set the timer value of the adaptive watchdog module 160 to the adjusted estimated host timeout period. In some embodiments, adaptive watchdog module 160 may perform such adjustments after detecting a threshold number of host reset signals.
[0036] In some embodiments, the adaptive watchdog module 160 can detect that a given command has completed (exited the command queue of the controller 135). In response, the adaptive watchdog module 160 can obtain a timestamp indicating when the command entered the queue (received from the host) and compare the timestamp with the current time of completion of the given command to determine the wait time of the command. The adaptive watchdog module 160 can continue to calculate the wait time of many other commands or a threshold number of commands in a similar manner. The adaptive watchdog module 160 can identify the average or maximum value of the calculated wait times to determine the wait time of the memory device 110 (e.g., the wait time for a given application running on the memory device). The adaptive watchdog module 160 can adjust the determined wait time by increasing the determined wait time by a threshold amount and set the timer value of the adaptive watchdog module 160 to the adjusted wait time. In some embodiments, the adaptive watchdog module 160 can determine the memory wait time based on the command class or based on the priority associated with different command classes.
[0037] In some embodiments, the adaptive watchdog module 160 may perform such adjustments after a threshold time has passed, after new firmware is installed, after a new application is launched, or at any other suitable time period. In some embodiments, the adaptive watchdog module 160 may compare the adjusted wait time with the adjusted estimated host timeout period and set the timer value of the adaptive watchdog module 160 to the minimum of the two time periods (e.g., whichever of the adjusted wait time and the adjusted estimated host timeout period is the lower value).
[0038] The memory manager 125 may include, among other things, circuitry or firmware, such as several components or integrated circuits associated with various memory management functions. For purposes of the present description, example memory operations and management functions will be described in the context of NAND memory. Those skilled in the art will recognize that other forms of non-volatile memory may have similar memory operations or management functions. Such NAND management functions include wear leveling (e.g., garbage collection or recycling), error detection (e.g., BER monitoring) or correction, block retirement, or one or more other memory management functions. The memory manager 125 may parse or format host commands (e.g., commands received from a host) into device commands (e.g., commands associated with operation of a memory array, etc.), or generate device commands for the array controller 135 or one or more other components of the memory device 110 (e.g., to implement various memory management functions).
[0039] The memory manager 125 may include a set of management tables 130 configured to maintain various information associated with one or more components of the memory device 110 (e.g., various information associated with a memory array or one or more memory cells coupled to the memory controller 115). For example, the management table 130 may include information about a block age, a block erase count, an error history, error parameter information, a host reset timeout value, a memory operation command latency, or one or more error counts (e.g., a write operation error count, a read bit error count, a read operation error count, an erase error count, etc.) of one or more memory cell blocks coupled to the memory controller 115. In some examples, if the number of errors detected for one or more of the error counts (e.g., error parameters) is above a threshold (e.g., an allowable error threshold), the bit error may be referred to as an uncorrectable bit error. The management table 130 may, in particular, maintain a count of correctable or uncorrectable bit errors. The management table 130 may also track, store, and monitor the number of times the value of the timer of the adaptive watchdog module 160 has changed, the last time the value changed, and the timestamp of one or more command or reset signals.
[0040] The memory array 120 may include a plurality of memory cells arranged in, for example, a plurality of devices, planes, sub-blocks, blocks, or pages. As an example, a 48GB TLC NAND memory device may include 18,592 bytes of data per page (16,384+2208 bytes), 1536 pages per block, 548 blocks per plane, and 4 or more planes per device. As another example, a 32GB MLC memory device (storing two data bits per cell (i.e., 4 programmable states)) may include 18,592 bytes (B) of data per page (16,384+2208 bytes), 1024 pages per block, 548 blocks per plane, and 4 planes per device, but with half the write time and twice the program / erase (P / E) cycles required compared to a corresponding TLC memory device. Other examples may include other quantities or arrangements. In some examples, a memory device or portion thereof may be selectively operated in an SLC mode or in a desired MLC mode (e.g., TLC, QLC, etc.).
[0041] In operation, data is typically written to or read from the memory device 110 in pages and erased in blocks. However, one or more memory operations (e.g., read, write, erase, etc.) may be performed on larger or smaller groups of memory cells as desired. The data transfer size of the memory device 110 is typically referred to as a page, while the data transfer size of the host device is typically referred to as a sector.
[0042] Different types of memory cells or memory arrays 120 may provide different page sizes, or may require different amounts of metadata associated therewith. For example, different memory device types may have different bit error rates, which may result in different amounts of metadata being necessary to ensure the integrity of a page of data (e.g., a memory device with a higher bit error rate may require more bytes of error correction code data than a memory device with a lower bit error rate). As an example, an MLC NAND flash device may have a higher bit error rate than a corresponding single-level cell (SLC) NAND flash device. Thus, an MLC device may require more bytes of metadata for error data than a corresponding SLC device.
[0043] The memory cell blocks in the NAND device may be reconfigured during operation to operate in an SLC mode (e.g., but not necessarily as a cache) or any of a plurality of MLC modes. As a result, during operation of the device, the latency associated with different memory operations may change. Specifically, different operating modes of a given memory device may have different latencies that affect the watchdog timer value because a memory device in a given mode should be able to withstand greater or lesser command latencies than a memory device in another mode. Specifically, in one mode, the memory operation command latency may be higher than the memory operation command latency in another mode. Thus, the watchdog timer value of the adaptive watchdog module 160 for the first mode may be greater than the watchdog timer value of the adaptive watchdog module 160 for the second mode. The adaptive watchdog module 160 may receive an indication of the current operating mode from the memory device and may configure the timeout value based on the established timeout value associated with the given mode. During operation, when the memory device is operating in a given mode, the timeout value of the adaptive watchdog module 160 may be changed based on an analysis of memory operation command latencies of one or more application programs.
[0044] Figure 2 is a block diagram illustrating an example of an adaptive watchdog module 160 upon which one or more embodiments may be implemented. The adaptive watchdog module 160 may include a watchdog timer 210, a memory device command index 260, a host timeout storage device 250, and a control circuit system 220. The watchdog timer 210 may include a free running timer circuit or may implement the functionality of a free running timer that counts from 0 or some other preset value to another target value each time the timer is reset or reaches a target value. The timer that sets the watchdog timer 210 includes a value that sets the target value. The index 260 and device 250 may be implemented by any suitable memory or storage circuit system and may optionally be combined into the same physical storage device. The control circuit system 220 may be implemented by any suitable dedicated circuit system, a programmable device, or a processor such as a general purpose processor that is configured to perform operations based on Figure 4 and 5 The process discussed in performs the functions of the adaptive watchdog module 160.
[0045] The adaptive watchdog module 160 may receive a host reset signal 240 and a memory device operation command 242. The host reset signal 240 may be received directly from the host device, or may be provided by a memory controller to indicate that a host reset signal is received from the host or a timestamp associated with such a host reset signal. The memory device operation command 242 may be provided directly to the adaptive watchdog module 160, or may be provided by a controller or command queue of the memory device. The command 242 may contain only a timestamp and category of a given command (rather than the data or command itself) and an indication of whether the command is newly received from the host or has been completed by the memory device. The command 242 may contain all the contents of the command received from the host, and in this case, the adaptive watchdog module 160 may process the command to extract the category of the command and generate a timestamp for the command.
[0046] The watchdog timer 210 may include a free-running timer circuit and a timer value. The watchdog timer 210 may start counting from zero each time a reset signal is received from the control circuit system 220, each time a new command is received, or each time a command is executed by a memory device. After reaching the timer value, the watchdog timer 210 may generate a signal or interrupt to the control circuit system 220. In response, the control circuit system 220 may transmit a watchdog self-reset signal 230 to one or more devices to reset the memory controller and / or the associated memory device 110. In some embodiments, multiple watchdog timers 210 may be included in the adaptive watchdog module 160. In this case, each watchdog timer 210 may generate a self-reset signal for the memory device associated with the watchdog timer 210. Each of the multiple watchdog timers 210 may operate using the same or different watchdog timer values that are adjustable in the disclosed manner.
[0047] In some embodiments, in response to receiving command 242, control circuit system 220 may obtain a timestamp for the command and store the command along with the timestamp in memory device command index 260. In some embodiments, control circuit system 220 may generate a unique identifier for the received command and associate the identifier with the generated timestamp for storage in index 260. Control circuit system 220 may continue to process command 242 in a similar manner until a threshold number of commands are stored in index 260. When control circuit system 220 receives or detects via command 242 that a given command (or a command associated with a particular identifier) has been processed to completion by the memory device, control circuit system 220 may generate a new timestamp for the completed command, search index 260 for a matching command, and compare the timestamp stored in index 260 (when the command was originally received from the host) with the new timestamp to calculate a command latency for the command. Control circuit system 220 may adjust the calculated latency by increasing the value by a threshold amount and storing the determined latency in index 260. In some embodiments, control circuitry 220 may determine a command class associated with the determined wait time and update the wait time for the command class stored in index 260. For example, control circuitry 220 may calculate an average or maximum value between the wait time stored in index 260 and the determined wait time of the last command completed.
[0048] In some embodiments, control circuitry 220 may classify commands 242 and update or change wait times associated with command classes stored in index 260. In some embodiments, each command class may be associated with a different priority level stored in index 260. In some embodiments, control circuitry 220 may change the priorities associated with different classes in response to the host executing different applications.
[0049] In some embodiments, the control circuit system 220 may detect receipt of a reset signal 240. In response to detecting the reset signal, the control circuit system 220 may determine whether a threshold number of previous reset signals have been received to begin a process for adjusting the adaptive watchdog module 160. In some embodiments, the adaptive watchdog module 160 may adjust the timer of the adaptive watchdog module 160 each time the reset signal 240 is received. In any case, the control circuit system 220 may search the index 260 to identify the oldest or newest command (e.g., the command with the oldest or newest timestamp) stored in the index 260. The control circuit system 220 may calculate a new timestamp for the reset signal 240 and compare the calculated new timestamp with the identified oldest or newest command stored in the index 260. Based on this comparison, the control circuit system 220 may determine an estimated host timeout period for the host. The control circuit system 220 may adjust the estimated host timeout period by reducing the estimated timeout period by a threshold amount and store the adjusted estimated host timeout period in the host timeout storage device 250.
[0050] In some embodiments, the control circuit system 220 may set the timer value of the watchdog timer 210 based on the adjusted estimated host timeout value stored in the device 250 or the adjusted memory device wait time stored in the index 260. In some embodiments, the control circuit system 220 may set the timer value based on the highest priority wait time stored in the index 260. In some embodiments, the control circuit system 220 may set the timer value to the minimum value between the adjusted estimated host timeout value stored in the device 250 and the adjusted memory device wait time stored in the index 260 (or the adjusted memory device wait time with the highest priority).
[0051] Figure 3 An example block diagram of a memory device 300 is shown, which includes a memory array 302 having a plurality of memory cells 304, and one or more circuits or components that provide communication with or perform one or more memory operations on the memory array 302. The memory device 300 may include a row decoder 312, a column decoder 314, a sense amplifier 320, a page buffer 322, a selector 324, an I / O circuit 326, and a memory control unit 330.
[0052] The memory cells 304 of the memory array 302 may be arranged in blocks, such as a first block 302A and a second block 302B. Each block may include sub-blocks. For example, the first block 302A may include a first sub-block 302A0 and a second sub-block 302A n, and the second block 302B may include a first sub-block 302B0 and a second sub-block 302B n Each sub-block may include multiple physical pages, each page including multiple memory cells 304. Although shown herein as having two blocks, each block having two sub-blocks, and each sub-block having multiple memory cells 304, in other examples, the memory array 302 may include more or fewer blocks, sub-blocks, memory cells, etc. In other examples, the memory cells 304 may be arranged into many rows, columns, pages, sub-blocks, blocks, etc., and may be accessed using, for example, an access line 306, a first data line 310, or one or more select gates, source lines, etc.
[0053] The memory control unit 330 may control the memory operation of the memory device 300 according to one or more signals or instructions received on the control line 332, wherein the one or more signals or instructions include, for example, one or more clock signals or control signals indicating the desired operation (e.g., write, read, erase, etc.), or address signals (A0-AX) received on one or more address lines 316. One or more devices external to the memory device 300 (e.g., a host, such as a controller) may be used to control the memory operation of the memory device 300. Figure 1 The device 300 may control the value of the control signal on the control line 332 or the address signal on the address line 316. Examples of devices external to the memory device 300 may include, but are not limited to, a host, a memory controller, a processor, or Figure 3 One or more circuits or components not shown.
[0054] In some embodiments, the memory control unit 330 may include an adaptive watchdog module 160. The memory control unit 330 may implement the memory controller 115 ( Figure 1 ). The adaptive watchdog module 160 may be configured to trigger a self-reset in the memory control unit 330 and any other suitable components of the memory device 300 when the watchdog timer value is reached.
[0055] The memory device 300 can transfer (e.g., write or erase) data to or from (e.g., read) one or more of the memory cells 304 using the access lines 306 and the first data lines 310. The row decoder 312 and the column decoder 314 can receive and decode the address signals (A0 to AX) from the address lines 316, can determine which memory cell 304 is to be accessed, and can provide signals to one or more of the access lines 306 (e.g., one or more of the plurality of word lines (WL0-WLm)) or the first data lines 310 (e.g., one or more of the plurality of bit lines (BL0-BLn)), as described above.
[0056] The memory device 300 may include sensing circuitry, such as sense amplifiers 320, configured to determine the value of data on the memory cell 304 (e.g., read), or to determine the value of data to be written to the memory cell using the first data line 310. For example, in a selected string of memory cells 304, one or more of the sense amplifiers 320 may read the logic level in the selected memory cell 304 in response to a read current flowing in the memory array 302 through the selected string to the data line 310.
[0057] One or more devices external to the memory device 300 may communicate with the memory device 300 using the I / O lines (DQ0-DQN) 308, the address lines 316 (A0-AX), or the control lines 332. The output (I / O) circuits 326 may transfer data values into or out of the memory device 300, such as into or out of the page buffer 322 or the memory array 302, using the I / O lines 308, for example, based on the control lines 332 and the address lines 316. For example, the I / O circuits 326 may include one or more latches 328 for temporarily storing data to be written to the memory array 302 and data to be read by one or more external devices from the memory array 302. The page buffer 322 may store data received from one or more devices external to the memory device 300 before the data is programmed into the associated portion of the memory array 302, or may store data read from the memory array 302 before the data is transmitted to one or more devices external to the memory device 300.
[0058] The column decoder 314 may receive the address signals (A0-AX) and decode them into one or more column select signals (CSEL1-CSELn). The selector 324 (e.g., a selection circuit) may receive the column select signals (CSEL1-CSELn) and select data representing the value of the data to be read from or programmed into the memory cell 304 in the page buffer 322. The selected data may be transferred between the page buffer 322 and the I / O circuit 326 using the second data line 318.
[0059] The memory control unit 330 may receive positive and negative power signals, such as a power supply voltage (Vcc) 334 and a negative power supply (Vss) 336 (e.g., ground potential) from an external source or power supply (e.g., an internal or external battery, an AC to DC converter, etc.). In some examples, the memory control unit 330 may include a regulator 338 to provide the positive or negative power signals internally.
[0060] Figure 44 is a flow chart of a process 400 for establishing parameters of an adaptive watchdog module on which one or more embodiments may be implemented. At 410, a memory operation command is received from a host via a memory device at a first time. For example, the adaptive watchdog module 160 may receive the memory device command 242. The adaptive watchdog module 160 may generate a timestamp for the received command and store the generated timestamp in association with the command in the index 260 ( Figure 2 ).
[0061] At 420, a reset signal is received from the host by the memory device at a second time after the first time. For example, the adaptive watchdog module 160 may receive (directly or indirectly) the reset signal 240 from the host. The adaptive watchdog module 160 may generate a timestamp for the reset signal indicating when the reset signal was received.
[0062] At 430, a time interval between the first time and the second time is measured. For example, the adaptive watchdog module 160 may identify a corresponding command associated with the reset signal (e.g., the oldest or newest command stored in the command queue or index 260). The adaptive watchdog module 160 may calculate a difference between a timestamp of the identified command and a timestamp of the reset signal to estimate a host timeout interval.
[0063] At 440, based on the measured time interval, a timer is established for subsequently resetting the memory device regardless of receiving a reset signal from the host. For example, the adaptive watchdog module 160 may establish the value of the watchdog timer 210 (e.g., the value reached by the free-running counter of the timer 210 when the timer 210 triggers the self-reset signal) as the measured time interval minus the threshold amount.
[0064] Figure 5 1 is a flow chart of a process 500 for establishing parameters of an adaptive watchdog module based on host timeout events and memory latency, on which one or more embodiments may be implemented. At 510, a memory operation command completion latency is identified. For example, when a command is received, the adaptive watchdog module 160 may associate a timestamp with a memory device command or command class. After determining the completed command or command class, the adaptive watchdog module 160 may generate another timestamp and compare the new timestamp with the old timestamp to determine the memory latency of the command or command class. The adaptive watchdog module 160 may adjust the determined memory latency by increasing the determined memory latency by a threshold amount to identify the adjusted memory operation command completion latency.
[0065] At 520, an adjusted estimated host reset time interval and an adjusted memory operation command completion wait time are generated. For example, the adaptive watchdog module 160 may retrieve the estimated host timeout (previously generated based on the difference between the time when the command was received and the time when the host timeout reset signal was detected) from the device 250, and may reduce the estimated host timeout value by a threshold amount to generate the adjusted estimated host reset time interval. The adaptive watchdog module 160 may increase the determined memory operation command completion wait time by a threshold amount to generate the adjusted memory operation command completion wait time.
[0066] At 530, the adjusted estimated host reset time interval is compared with the adjusted memory operation command completion wait time.
[0067] At 540 , it is determined whether the adjusted estimated host reset time interval is greater than the adjusted memory operation command completion wait time. In response to determining that the adjusted host reset time interval is greater than the adjusted memory operation command completion wait time, the process proceeds to 550 ; otherwise, the process proceeds to 560 .
[0068] At 550, the memory device watchdog timer is set to the adjusted memory operation command completion wait time. For example, the adaptive watchdog module 160 may update or modify the timer value of the watchdog timer 210 based on the adjusted memory operation command completion wait time.
[0069] At 560, the memory device watchdog timer is set to the adjusted estimated host reset time interval. For example, the adaptive watchdog module 160 may update or modify the timer value of the watchdog timer 210 based on the adjusted estimated host reset time interval.
[0070] Processes 400 and 500 may be performed by any control circuitry, or may be performed by dedicated circuitry (e.g., control circuitry 220 ( Figure 2 )) is performed. Any step in processes 400 and 500 may not be performed according to Figure 4 and 5 The order shown in may be performed or omitted entirely.
[0071] Figure 6A block diagram of an example machine 600 on which any one or more techniques (e.g., methods) discussed herein can be executed is shown. In alternative embodiments, the machine 600 can be used as a standalone device or can be connected (e.g., networked) to other machines. In a networked deployment, the machine 600 can operate as a server machine, a client machine, or both in a server-client network environment. In an example, the machine 600 can act as a peer-to-peer machine in a peer-to-peer (P2P) (or other distributed) network environment. The machine 600 can be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile phone, a network appliance, an IoT device, an automotive system, or any machine capable of executing (sequentially or otherwise) instructions specifying actions to be taken by the machine. In addition, although only a single machine is described, the term "machine" will also be deemed to include any machine collection that individually or collectively executes an instruction set (or multiple sets) to perform any one or more of the methods discussed herein and (e.g., cloud computing, software as a service (SaaS), other computer cluster configurations).
[0072] As described herein, an example may include logic, components, devices, packages, or mechanisms, or may be operated by logic, components, devices, packages, or mechanisms. A circuit system is a collection (e.g., a set) of circuits implemented in a tangible entity including hardware (e.g., simple circuits, gates, logic, etc.). Circuit system members may be flexible over time and with changes in underlying hardware. A circuit system includes components that can perform specific tasks individually or in combination when operating. In an example, the hardware of the circuit system may be designed in an unchangeable manner to perform specific operations (e.g., hard wiring). In an example, the hardware of the circuit system may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.), which include computer-readable media that are physically modified (e.g., magnetic, electrically movable placement of unchanged centralized particles, etc.) to encode instructions for specific operations. When connecting physical components, the basic electrical properties of the hardware composition are, for example, changed from an insulator to a conductor or vice versa. Instructions enable the participating hardware (e.g., execution units or loading mechanisms) to generate circuit system components in hardware via variable connections to perform parts of specific tasks when in operation. Thus, the computer-readable medium is communicatively coupled to other components of the circuit system when the device is operating. In an example, any of the physical components can be used in more than one component in more than one circuit system. For example, under operation, an execution unit can be used in a first circuit of a first circuit system at one point in time and reused by a second circuit in the first circuit system, or reused by a third circuit in the second circuit system at a different time.
[0073] The machine (e.g., computer system) 600 (e.g., host device 105, memory device 110, etc.) may include a hardware processor 602 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof, such as memory controller 115, etc.), a main memory 604, and a static memory 606, some or all of which may communicate with each other through an interconnect (e.g., a bus) 608. The machine 600 may further include a display unit 610, an alphanumeric input device 612 (e.g., a keyboard), and a user interface (UI) navigation device 614 (e.g., a mouse). In an example, the display unit 610, the input device 612, and the UI navigation device 614 may be a touch screen display. The machine 600 may additionally include a storage device (e.g., a drive unit) 621, a signal generating device 618 (e.g., a speaker), a network interface device 620, one or more sensors 616 (e.g., a global positioning system (GPS) sensor, a compass, an accelerometer, or other sensor), and one or more adaptive watchdog modules 160. The machine 600 may include an output controller 628, such as a serial (e.g., Universal Serial Bus (USB), parallel or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate with or control one or more peripheral devices (e.g., a printer, a card reader, etc.).
[0074] The storage device 621 may include a machine-readable medium 622 on which is stored one or more sets of data structures or instructions 624 (e.g., software) embodying or used by any one or more of the techniques or functions described herein. The instructions 624 may also reside, completely or at least partially, within the main memory 604, within the static memory 606, or within the hardware processor 602 during execution thereof by the machine 600. In an example, one or any combination of the hardware processor 602, the main memory 604, the static memory 606, or the storage device may constitute the machine-readable medium 622.
[0075] Although machine-readable medium 622 is illustrated as a single medium, the term “machine-readable medium” may include a single medium or multiple media (eg, a centralized or distributed database, or associated caches and servers) configured to store one or more instructions 624 .
[0076] The term "machine-readable medium" may include any temporary or non-temporary medium capable of storing, encoding, or carrying instructions for execution by the machine 600 and causing the machine 600 to perform any one or more of the techniques of the present disclosure, or capable of storing, encoding, or carrying data structures used by or associated with such instructions. Non-limiting machine-readable medium examples may include solid-state memory and optical and magnetic media. In an example, a centralized machine-readable medium includes a machine-readable medium having a plurality of particles, the particles having a constant (e.g., stationary) mass. Therefore, the centralized machine-readable medium is a non-temporary propagating signal. Specific examples of centralized machine-readable media may include: non-volatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM) or electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.
[0077] Instructions 624 (e.g., software, programs, operating systems (OS), etc.) or other data stored on storage device 621 may be accessed by memory 604 for use by processor 602. Memory 604 (e.g., DRAM) is typically fast but volatile, and is therefore a different type of storage device than storage device 621 (e.g., SSD) which is suitable for long-term storage (including when in a "power-down" condition). Instructions 624 or data for use by a user or machine 600 are typically loaded in memory 604 for use by processor 602. When memory 604 is full, virtual space from storage device 621 may be allocated to supplement memory 604; however, because storage device 621 is typically slower than memory 604, and write speeds are typically at least two times slower than read speeds, the use of virtual memory can greatly reduce the user experience due to storage device latency (as opposed to memory 604, such as DRAM). In addition, the use of virtual memory of storage device 621 may greatly reduce the usable useful life of storage device 621.
[0078] In contrast to virtual memory, virtual memory compression (e.g. A kernel feature "ZRAM") uses a portion of memory as compressed block storage to avoid paging to storage device 621. Paging occurs in compressed blocks until it is necessary to write such data to storage device 621. Virtual memory compression increases the available size of memory 604 while reducing wear on storage device 621.
[0079] Storage devices optimized for mobile electronic devices or mobile storage typically include MMC solid-state storage devices (e.g., micro Secure Digital (microSD TM) card, etc.). MMC devices include several parallel interfaces (e.g., 8-bit parallel interfaces) with the host device and are often components that can be removed and separated from the host device. In contrast, eMMC TM The device is attached to the circuit board and is seen as a component of the host device, and its read speed can be comparable to that of Serial ATA-based TM (Serial AT (Advanced Technology) Attachment or SATA) SSD devices. However, the demand for mobile device performance continues to increase, such as to fully enable virtual or augmented reality devices, take advantage of increased network speeds, etc. In response to this demand, storage devices have shifted from parallel to serial communication interfaces. UFS devices, which include a controller and firmware, communicate with host devices using a low voltage differential signaling (LVDS) serial interface with dedicated read / write paths, further promoting higher read / write speeds.
[0080] The instructions 624 may further be transmitted or received over a communication network 626 using a transmission medium via the network interface device 620 using any of a number of transmission protocols (e.g., frame relay, Internet Protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), a mobile telephone network (e.g., a cellular network), a plain old telephone (POTS) network, and a wireless data network (e.g., the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, known as IEEE 802.16 series of standards, known as ), IEEE 802.15.4 series of standards, peer-to-peer (P2P) networks, etc. In an example, the network interface device 620 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to the communication network 626. In an example, the network interface device 620 may include multiple antennas to communicate wirelessly using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) technology. The term "transmission media" should be taken to include any intangible medium capable of storing, encoding, or carrying instructions for execution by the machine 600, and includes digital or analog communication signals or other intangible media to facilitate the communication of such software.
[0081] The above detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show, by way of illustration, specific embodiments in which the present invention can be practiced. These embodiments are also referred to herein as "examples". Such examples may include elements other than those shown or described. Of course, the inventors of the present invention also contemplate examples in which only those elements shown or described are provided. In addition, the inventors of the present invention also contemplate examples (or one or more aspects thereof) of any combination or arrangement of those elements shown or described with respect to a specific example (or one or more aspects thereof) or with respect to other examples (or one or more aspects thereof) shown or described herein.
[0082] In various examples, the components, controllers, processors, units, engines, or tables described herein may include physical circuitry or firmware stored on a physical device, etc. As used herein, "processor" means any type of computing circuit, such as, but not limited to, a microprocessor, a microcontroller, a graphics processor, control circuitry, a digital signal processor (DSP), or any other type of processor or processing circuit, including a group of processors or a multi-core device.
[0083] In some embodiments described herein, different doping configurations may be applied to a source side select gate (SGS), a control gate (CG), and a drain side select gate (SGD), each of which in this example may be formed of or at least include polysilicon, such that these layers (e.g., polysilicon, etc.) may have different etch rates when exposed to an etching solution. For example, during the formation of a monolithic pillar in a 3D semiconductor device, the SGS and CG may form a recess, while the SGD may remain less recessed or even not recessed. These doping configurations may thus enable selective etching into different layers (e.g., SGS, CG, and SGD) in a 3D semiconductor device using an etching solution (e.g., tetramethylammonium hydroxide (TMCH)).
[0084] As used herein, operating a memory cell or performing a memory (or memory device) operation includes reading from, writing to, or erasing from a memory cell or memory (or memory device). The operation of placing a memory cell in a given state is referred to herein as "programming" and may include both writing to or erasing from a memory cell (e.g., a memory cell may be programmed to an erased state).
[0085] It will be understood that when an element is referred to as being "on," "connected to," or "coupled to" another element, it can be directly on, directly connected or coupled to another element, or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," or "directly coupled to" another element, there are no intervening elements or layers. If two elements are shown in a drawing as being connected by a line, the two elements may be coupled or directly coupled unless otherwise specified.
[0086] It should be understood that the term module (e.g., adaptive watchdog module) can refer to any combination of software and circuitry that performs or is configured to perform the functions described. A module can refer to a programmable device, a non-programmable device, an ASIC, a PLD, a FGPA, or other dedicated or specific circuitry or hardware elements that are configured to perform the functions described. A module can refer to software (e.g., computer-readable instructions, code, or a program running on a computer or processor or control circuitry) that is configured to perform the functions described.
[0087] The method examples described herein may be implemented at least in part by a machine or computer. Some examples may include temporary or non-temporary computer-readable media or machine-readable media encoded with temporary or non-temporary instructions that can be operated to configure an electronic device to perform the methods described in the above examples. The implementation of these methods may include code, such as microcode, assembly language code, high-level language code, etc. Such code may include computer-readable instructions for executing various methods. The code may form part of a computer program product. In addition, the code may be tangibly stored on one or more volatile or non-volatile tangible computer-readable media, such as during execution or at other times. Examples of these tangible computer-readable media may include, but are not limited to, hard disks, removable disks, removable optical disks (e.g., optical disks and digital video disks), tapes, memory cards or memory sticks, random access memory (RAM), read-only memory (ROM), SSD, UFS devices, eMMC devices, etc.
[0088] Examples
[0089] An instance (e.g., “Instance 1”) of a subject matter (e.g., method or system) may include a method for: receiving a memory operation command from a host via a memory device at a first time; receiving a reset signal from the host via the memory device at a second time after the first time; measuring a time interval between the first time and the second time; and establishing a delay interval for a timer in the memory device to reset the memory device based on the measured time interval, regardless of receiving an additional reset signal from the host.
[0090] In Example 2, the subject matter of Example 1 can optionally be configured to establish the timer by setting the timer to a value less than the time interval.
[0091] In Example 3, the subject matter described in Example 1 can be optionally configured so that the time interval is a first time interval, and the method is used to: measure multiple time intervals, each of the multiple time intervals representing the amount of time between the memory device receiving a given memory operation command request and the memory device completing the given memory operation command; identify the longest time interval of the multiple time intervals as a second time interval; and establish the timer based on the first time interval and the second time interval.
[0092] In Example 4, the subject matter described in Example 3 can be optionally configured so that the timer is established based on the first time interval and the second time interval, and the method is used to: adjust the first time interval and the second time interval; determine the shortest time interval between the adjusted first time interval and the second time interval; and establish the timer based on the shortest time interval.
[0093] In Example 5, the subject matter of Example 4 can optionally be configured such that the first time interval and the second time interval are adjusted by decreasing the first time interval by a first threshold amount and increasing the second time interval by a second threshold amount. The first threshold amount and the second threshold amount can be the same or different.
[0094] In Example 6, the subject matter of Example 5 can optionally be configured such that at least one of the first threshold amount and the second threshold amount is determined based on a characteristic of the host.
[0095] In Example 7, the subject matter described in Example 3 can be optionally configured to: maintain an index representing waiting times associated with different categories of memory operation commands; set a priority for each of the different categories of memory operation commands; and identify a time interval among the multiple time intervals that is associated with a memory operation command having a highest priority as the second time interval.
[0096] In Example 8, the subject matter of Example 1 can optionally be configured such that the timer comprises a watchdog timer associated with the memory device.
[0097] In Example 9, the subject matter of Example 1 can optionally be configured to set the timer to a default value after a threshold period of time or in response to detecting a change to the host.
[0098] In Example 10, the subject matter of Example 1 can optionally be configured such that the memory operation command includes at least one of read, write, program, and erase.
[0099] Example 11 of the subject matter may include a memory device comprising a timer and a control circuit system, the control circuit system being configured to: receive a memory operation command from a host through the memory device at a first time; receive a reset signal from the host through the memory device at a second time after the first time; measure a time interval between the first time and the second time; and based on the measured time interval, establish a delay interval for the timer in the memory device to reset the memory device regardless of receiving another reset signal from the host.
[0100] In Example 12, the subject matter of Example 11 can optionally be configured such that the control circuitry establishes the timer by setting the timer to a value less than the time interval.
[0101] In Example 13, the subject matter described in Example 11 can be optionally configured so that the time interval is a first time interval, and the control circuit system is used to: measure multiple time intervals, each of the multiple time intervals representing the amount of time between the memory device receiving a given memory operation command request and the memory device completing the given memory operation command; identify the longest time interval among the multiple time intervals as a second time interval; and establish the timer based on the first time interval and the second time interval.
[0102] In Example 14, the subject matter described in Example 13 can be optionally configured so that the timer is established based on the first time interval and the second time interval, and the control circuit system is used to: adjust the first time interval and the second time interval; determine the shortest time interval between the adjusted first time interval and the second time interval; and establish the timer based on the shortest time interval.
[0103] In Example 15, the subject matter of Example 14 can optionally be configured such that the first time interval and the second time interval are adjusted by decreasing the first time interval by a first threshold amount and increasing the second time interval by a second threshold amount.
[0104] In Example 16, the subject matter of Example 15 can optionally be configured such that at least one of the first threshold amount and the second threshold amount is determined based on a characteristic of the host.
[0105] In Example 17, the subject matter described in Example 13 can be optionally configured so that the control circuit system is used to: maintain an index representing waiting times associated with different categories of memory operation commands; set a priority for each of the different categories of memory operation commands; and identify the time interval associated with the memory operation command having the highest priority among the multiple time intervals as the second time interval.
[0106] In Example 18, the subject matter of Example 11 can optionally be configured such that the timer comprises a watchdog timer associated with the memory device.
[0107] In Example 19, the subject matter of Example 11 can optionally be configured such that the control circuitry is operable to set the timer to a default value after a threshold period of time or in response to detecting a change to the host.
[0108] In Example 20, the subject matter of Example 11 can optionally be configured such that the memory operation command includes at least one of read, write, program, and erase.
[0109] An instance (e.g., “instance 21”) of a subject matter (e.g., a system or device) may optionally combine any portion or combination of any portion of any one or more of instances 1-20 to include a “device” for performing any portion of any one or more of the functions or methods of instances 1-20, or include a “machine-readable medium” (e.g., non-transitory machine-readable medium, etc.) containing instructions that, when executed by a machine, cause the machine to perform any portion of any one or more of the functions or methods of instances 1-20.
[0110] The above description is intended to be illustrative rather than limiting.The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
Claims
1. A method for memory operation, comprising: receiving a memory operation command from a host via a memory device at a first time; receiving a reset signal from the host via the memory device at a second time after the first time; measuring a time interval between the first time and the second time; as well as Based on the measured time interval, a delay interval is established for a timer in the memory device to reset the memory device regardless of receipt of an additional reset signal from the host. 2 . The method of claim 1 , wherein establishing the timer comprises setting the timer to a value less than the time interval.
3. The method according to claim 1, wherein the time interval is a first time interval, the method further comprising: measuring a plurality of time intervals, each of the plurality of time intervals representing an amount of time between receipt of a given memory operation command request by the memory device and completion of the given memory operation command by the memory device; identifying a longest time interval among the plurality of time intervals as a second time interval; and The timer is established based on the first time interval and the second time interval.
4. The method of claim 3, wherein establishing the timer based on the first time interval and the second time interval comprises: adjusting the first time interval and the second time interval; determining the shortest time interval between the adjusted first time interval and the second time interval; as well as The timer is established based on the shortest time interval. 5 . The method of claim 4 , wherein adjusting the first time interval and the second time interval comprises decreasing the first time interval by a first threshold amount and increasing the second time interval by a second threshold amount.
6. The method of claim 5, wherein at least one of the first threshold amount and the second threshold amount is determined based on a characteristic of the host.
7. The method according to claim 3, further comprising: maintaining an index representing wait times associated with different classes of memory operation commands; setting a priority for each of the different categories of memory operation commands; as well as A time interval among the plurality of time intervals that is associated with the memory operation command having the highest priority is identified as the second time interval.
8. The method of claim 1, wherein the timer comprises a watchdog timer associated with the memory device.
9. The method of claim 1, further comprising setting the timer to a default value after a threshold period of time or in response to detecting a change to the host.
10. The method of claim 1, wherein the memory operation command comprises at least one of read, write, program, and erase.
11. A memory device comprising: Timer; as well as A control circuit system configured to: receiving a memory operation command from a host via the memory device at a first time; receiving a reset signal from the host via the memory device at a second time after the first time; measuring a time interval between the first time and the second time; as well as Based on the measured time interval, a delay interval is established for the timer in the memory device to reset the memory device regardless of receipt of an additional reset signal from the host.
12. The memory device of claim 11, wherein the control circuitry configured to establish the timer delay interval is further configured to set the timer to a value less than the time interval.
13. The memory device of claim 11, wherein the time interval is a first time interval, and wherein the control circuitry is further configured to: measuring a plurality of time intervals, each of the plurality of time intervals representing an amount of time between receipt of a given memory operation command request by the memory device and completion of the given memory operation command by the memory device; identifying a longest time interval among the plurality of time intervals as a second time interval; and The timer delay interval is established based on the first time interval and the second time interval.
14. The memory device of claim 13, wherein the control circuitry is configured to establish the timer delay interval based on the first time interval and the second time interval by: adjusting the first time interval and the second time interval; determining a shortest time interval between the adjusted first time interval and the adjusted second time interval; and The timer delay interval is established based on the shortest time interval.
15. The memory device of claim 14, wherein the control circuitry is configured to adjust the first and second time intervals by decreasing the first time interval by a first threshold amount and increasing the second time interval by a second threshold amount.
16. The memory device of claim 15, wherein at least one of the first threshold amount and the second threshold amount is determined based on a characteristic of the host.
17. The memory device of claim 14, wherein the control circuitry is configured to: In response to determining that the adjusted first time interval is less than the adjusted second time interval, setting the timer to the adjusted first time interval; and In response to determining that the adjusted second time interval is less than the adjusted first time interval, the timer is set to the adjusted second time interval.
18. The memory device of claim 13, wherein the control circuitry is further configured to: maintaining an index representing wait times associated with different classes of memory operation commands; setting a priority for each of the different categories of memory operation commands; and A time interval among the plurality of time intervals that is associated with the memory operation command having the highest priority is identified as the second time interval.
19. The memory device of claim 11, wherein the control circuitry is further configured to set the timer to a default value after a threshold period of time or in response to detecting a change to the host.
20. The memory device of claim 11, wherein the timer comprises a watchdog timer associated with the memory device.
