Read-Only Memory (ROM) Emulation Memory (REM) Profile Mode for Memory Devices

By introducing a programmable memory device into the memory device and expanding the OTP operation mode using the REM configuration file mode, the difficulties of ROM firmware update and diagnostic debugging are solved, and the on-site debugging and test mode loading are realized, and fault detection and maintenance efficiency is improved.

CN113093991BActive Publication Date: 2024-11-05MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011534929.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-16
Filing Date
2020-12-23
Publication Date
2024-11-05
Estimated Expiration
2040-12-23

AI Technical Summary

Technical Problem

The read-only memory (ROM) of existing memory devices has limitations in firmware updates and diagnostic debugging, making it difficult to perform debugging and loading of test modes on site, and customers need to directly access REM data to obtain test results, which affects the memory device's Maintenance and troubleshooting efficiency.

Method used

By introducing a programmable memory device into the memory device, including read-only memory (ROM) blocks, memory arrays and controllers, the REM configuration file mode allows expansion based on the OTP operation mode to achieve patching and data of ROM instructions Loading, allowing the user or vendor to remotely trigger REM profile mode for firmware updates and diagnostics.

Benefits of technology

It realizes ROM firmware update of memory devices, supports on-site debugging and diagnosis, allows system teams to load test modes, provides access to customer-specific test modes, reduces the need for direct access to REM data, and improves fault detection and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113093991B_ABST
    Figure CN113093991B_ABST
Patent Text Reader

Abstract

The present application relates to a read-only memory (ROM) emulation memory (REM) profile mode of a memory device. A programmable memory device includes a read-only memory (ROM) block to store instructions associated with the functionality of the programmable memory device. The device includes a memory array having a set of reserved pages to store updates to be performed on the ROM block. The device includes a controller coupled to the ROM block and the memory array. The controller executes the instructions to: execute a set feature command; when executing the set feature command, program a set of sub-feature parameters to a specified feature address of the set of reserved pages, wherein the set of sub-feature parameters will trigger operations within the ROM emulation memory (REM) profile mode; and program a REM profile page in the set of reserved pages with REM data received from a host system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate generally to memory subsystems, and more particularly, to a read-only memory (ROM) emulation memory (REM) profile mode of a memory device. Background Art

[0002] The memory subsystem may include one or more memory devices that store data. The memory devices may be, for example, non-volatile memory devices and volatile memory devices. In general, the host system may utilize the memory subsystem to store data at the memory devices and retrieve data from the memory devices. Summary of the invention

[0003] According to aspects of the present application, a programmable memory device is provided. The programmable memory device includes: a read-only memory (ROM) block storing instructions associated with functionality of the programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block; and a controller coupled to the ROM block and the memory array, the controller executing the instructions to: execute a set feature command to access the set of reserved pages; program a set of sub-feature parameters to a specified feature address of the set of reserved pages, wherein the set of sub-feature parameters will trigger operation in a ROM emulation memory (REM) profile mode; and program a REM profile page in the set of reserved pages with REM data received from a host system.

[0004] According to another aspect of the present application, a programmable memory device is provided. The programmable memory device includes: a read-only memory (ROM) block storing instructions associated with functionality of the programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block, wherein a first reserved page in the set of reserved pages will store a flag; and a controller coupled to the ROM block and the memory array, wherein when the computing device is powered on, the controller will execute the instructions to: detect that the flag is set within the first reserved page, the flag indicating that ROM emulation memory (REM) data stored in the set of reserved pages is associated with a REM profile mode; execute a page read command to read the REM data from a REM profile page in the set of reserved pages; and load the REM data from the REM profile page into a latch buffer to be executed as a modification to the operation of the instruction stored in the ROM.

[0005] According to another aspect of the present application, a method is provided. The method includes: operating a programmable memory device, the programmable memory device including: a read-only memory (ROM) block storing instructions associated with functionality of the programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block; and a controller, wherein operating the programmable memory device includes: executing, by the controller, a set feature command to access the set of reserved pages; writing, by the controller, a set of sub-feature parameters to a specified feature address of the set of reserved pages, wherein the set of sub-feature parameters will trigger operation in a ROM emulation memory (REM) profile mode; and programming, by the controller, a REM profile page in the set of reserved pages with one of REM data or REM code received from a host system. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present disclosure will be more fully understood from the detailed description given below and the accompanying drawings of various embodiments of the present disclosure.

[0007] Figure 1A An example computing system including a memory subsystem according to an embodiment of the present disclosure is described.

[0008] Figure 1B A more detailed computing system including a programmable memory device adapted to operate within a REM profile mode is described in accordance with various embodiments.

[0009] Figure 2 is a flow chart illustrating a method of high-level interaction between a memory vendor, a memory device using REM profile mode, an installed system, and a customer of a memory subsystem according to various embodiments.

[0010] Figure 3 is a flow chart of an example method for programming a memory subsystem to operate within a REM profile mode according to an embodiment.

[0011] Figure 4 is a flow chart of an example method for selecting and operating within a REM profile mode after power-up in accordance with various embodiments.

[0012] Figure 5 is a block diagram of an example computer system in which embodiments of the present disclosure may operate. DETAILED DESCRIPTION

[0013] Aspects of the present disclosure are directed to a read-only memory (ROM) emulation memory (REM) profile mode for a memory device. The memory subsystem may be a storage device, a memory module, or a mixture of a storage device and a memory module. Figure 1A-1BExamples of storage devices and memory modules are described. In general, a host system may utilize a memory subsystem that includes one or more memory components or devices. The host system may provide data for storage at the memory subsystem and may request retrieval of data from the memory subsystem.

[0014] The memory subsystem may include multiple memory components or memory devices, and may store data from a host system to include a programmable memory device. The memory device may include a ROM that is separate from the programmable memory (e.g., a memory array) of the memory device. The ROM stores instructions (e.g., microcode) for the programmable memory of the memory device. These instructions may be adapted to respond to commands (e.g., from a host system) and perform operations according to logic such as a state machine. The ROM emulation memory (REM) of the memory device is data that can be stored as a patch (e.g., an update to the operation of the instructions stored in the ROM) in a reserved page (e.g., a one-time programmable (OTP) page of the memory array). In this way, although the ROM is read-only, the operation of the ROM can be changed or fixed later after the memory device has been shipped to the customer. For example, the REM data can be loaded from the OTP page into a latch buffer and executed as a patch to the operation of the ROM instruction.

[0015] More specifically, in some embodiments, a programmable memory (e.g., NAND type flash memory (NAND) or other programmable non-volatile memory array) includes a set of reserved pages stored in an OTP area of ​​the programmable memory. The OTP area may be within a range of reserved pages known to be available for permanent storage. In one embodiment, to operate in the OTP mode of operation, a user enables the OTP mode of operation by issuing a set feature command to a specified feature address (e.g., 90h) and writing a parameter (e.g., 01h) to a first reserved page (P1) followed by three cycles of writing another parameter (e.g., 00h) to three additional reserved pages (e.g., P2, P3, P4). While the memory device is in the OTP mode of operation, subsequent PAGE READ (e.g., 00h-30h) and PROGRAM PAGE (e.g., 80h-10h) commands are applied to the OTP area of ​​the programmable memory. In one embodiment, the parameters stored in the OTP pages will modify the default power-on behavior and operation of the memory device.

[0016] In various embodiments, for example, after the memory device is operated in the field, the vendor of the memory device may need to perform an update on the ROM to repair the operation of the ROM or install a debug patch for diagnostic purposes. In various embodiments, the OTP operating mode can be changed to allow the user to directly (or allow the vendor to remotely) trigger operation within the REM profile mode, where the vendor can remotely send and install a REM-based patch within a designated reserved page of the OTP area. To do so, a local media controller (e.g., control logic) of the programmable memory device can execute the set feature command and program a set of sub-feature parameters used to trigger operation within the REM profile mode to the designated feature address of the set of reserved pages. In one embodiment, the designated feature address is the same or similar to the feature address used to enter the OTP operating mode (e.g., for pages P1, P2, P3, and P4), while the sub-feature parameters are different from the sub-feature parameters used to enter the OTP operating mode. In another embodiment, the designated feature address is different from the feature address used to enter the OTP operating mode, and the sub-feature parameters are the same (or different) than the sub-feature parameters used to enter the OTP operating mode. The processing device may then program the REM profile pages in the set of reserved pages with REM data received from a host system (eg, which received the REM data from a vendor).

[0017] In some embodiments, the processing device sets a flag stored in one of the reserved page or the REM profile page when programming the REM profile page. The flag may be adapted to indicate whether REM data (or REM code) is stored in the REM profile page and is therefore to be loaded for ROM operation. For example, after the memory device is powered on, the processing device may detect that the flag has been set, and then load the REM data (or code) from the REM profile page into the latch buffer to be executed as a modification to the operation of the ROM instruction. In this way, operations within the OTP operating mode and the REM profile mode may be distinguished, but the REM profile mode may be considered a sub-mode and extension of the OTP operating mode (in terms of also using the OTP reserved page).

[0018] Advantages of the present disclosure include, but are not limited to, enabling firmware updates to the ROM of a memory device, allowing field debugging (e.g., debugging a diagnostic failure of a memory device), enabling a system team to load and execute test modes for a memory device, and optionally providing customer access to specific test modes (and their results) without requiring the customer to access the REM data itself. These advantages will be discussed in greater detail. Other advantages will be apparent to those skilled in the art of the power-disable features of the memory subsystem discussed below.

[0019] Figure 1AAn example computing system 100 is illustrated that includes a memory subsystem 110 according to some embodiments of the present disclosure. Memory subsystem 110 may include media such as one or more volatile memory devices (e.g., memory device 140), one or more non-volatile memory devices (e.g., memory device 130), or a combination thereof.

[0020] The memory subsystem 110 may be a storage device, a memory module, or a mixture of a storage device and a memory module. Examples of storage devices include solid-state drives (SSDs), flash drives, universal serial bus (USB) flash drives, embedded multimedia controller (eMMC) drives, secure digital (SD) cards, universal flash storage (UFS) drives, and hard disk drives (HDDs). Examples of memory modules include dual in-line memory modules (DIMMs), small outline DIMMs (SO-DIMMs), and non-volatile dual in-line memory modules (NVDIMMs).

[0021] The computing system 100 may be a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an airplane, drone, train, car, or other transportation vehicle), a device with Internet of Things (IoT) capabilities, an embedded computer (e.g., an embedded computer included in a vehicle, industrial equipment, or a networked commercial device), or such a computing device that includes a memory and a processing device.

[0022] The computing system 100 may include a host system 120 coupled to one or more memory subsystems 110. In some embodiments, the host system 120 is coupled to memory subsystems 110 of different types. Figure 1A An example of a host system 120 coupled to one memory subsystem 110 is illustrated. As used herein, "coupled to" or "coupled with" generally refers to a connection between components or devices, which may be an indirect communication connection or a direct communication connection (e.g., without intervening components or devices), whether wired or wireless, including connections such as electrical connections, optical connections, magnetic connections, etc.

[0023] The host system 120 may include a processor chipset and a software stack executed by the processor chipset. The processor chipset may include one or more cores, one or more cache memories, a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a PCIe controller, a SATA controller). The host system 120 uses the memory subsystem 110, for example, to write data to the memory subsystem 110 and read data from the memory subsystem 110.

[0024] The host system 120 may be coupled to the memory subsystem 110 via a physical host interface. Examples of the physical host interface include, but are not limited to, a Serial Advanced Technology Attachment (SATA) interface, a Peripheral Component Interconnect Express (PCIe) interface, a Universal Serial Bus (USB) interface, a Fibre Channel, a Serial Attached SCSI (SAS), a Small Computer System Interface (SCSI), a Dual In-line Memory Module (DIMM) interface (e.g., a DIMM socket interface supporting a Double Data Rate (DDR)), etc. The physical host interface may be used to transmit data between the host system 120 and the memory subsystem 110. When the memory subsystem 110 is coupled to the host system 120 through a PCIe interface, the host system 120 may further utilize an NVM Express (NVMe) interface to access memory components (e.g., the memory device 130). The physical host interface may provide an interface for transferring control, address, data, and other signals between the memory subsystem 110 and the host system 120.

[0025] The memory devices may include any combination of different types of non-volatile memory devices and / or volatile memory devices. Volatile memory devices (e.g., memory device 140) may be, but are not limited to, random access memory (RAM), such as dynamic random access memory (DRAM) and synchronous dynamic random access memory (SDRAM).

[0026] Some examples of non-volatile memory devices (e.g., memory device 130) include NAND-type flash memory and write-in-place memory, such as three-dimensional cross-point ("3D cross-point") memory. A cross-point array of non-volatile memory can perform bit storage based on changes in bulk resistance in conjunction with a stackable cross-grid data access array. In addition, in contrast to many flash-based memories, cross-point non-volatile memory can perform write-in-place operations, where non-volatile memory cells can be programmed without pre-erasing the non-volatile memory cells.

[0027] Each of the memory devices 130 may include one or more arrays of memory cells, such as one or more memory arrays each including programmable memory cells. One type of memory cell, such as a single level cell (SLC), may store one bit per cell. Other types of memory cells, such as multi-level cells (MLC), three-level cells (TLC), and four-level cells (QLC) may store multiple bits per cell. In some embodiments, each of the memory devices 130 may include one or more arrays of memory cells, such as SLC, MLC, TLC, QLC, or any combination of these. In some embodiments, a particular memory device may include an SLC portion of memory cells, as well as an MLC portion, a TLC portion, or a QLC portion. The memory cells of the memory device 130 may be grouped into pages, which may refer to a logical unit of a memory device used to store data. For some types of memory (e.g., NAND), pages may be grouped to form blocks.

[0028] Although non-volatile memory components such as 3D crosspoint and NAND are described, the memory device 130 may be based on any other type of non-volatile memory, such as read-only memory (ROM), phase-change memory (PCM), self-selected memory, other chalcogenide-based memory, ferroelectric random access memory (FeRAM), magnetic random access memory (MRAM), "NOR" flash memory, and electrically erasable programmable read-only memory (EEPROM).

[0029] The memory subsystem controller 115 (for simplicity, controller 115) can communicate with the memory device 130 to perform operations, such as reading data, writing data, or erasing data at the memory device 130, as well as other such operations. The memory subsystem controller 115 may include hardware, such as one or more integrated circuits and / or discrete components, buffer memory, or a combination thereof. The hardware may include digital circuitry with dedicated (i.e., hard-coded) logic to perform the operations described herein. The memory subsystem controller 115 may be a microcontroller, dedicated logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or other suitable processor.

[0030] The memory subsystem controller 115 may include a processor 117 (processing device) configured to execute instructions stored in a local memory 119. In the illustrated example, the local memory 119 of the memory subsystem controller 115 includes an embedded memory configured to store instructions for executing various processes, operations, logic flows, and routines that control the operation of the memory subsystem 110, including handling communications between the memory subsystem 110 and the host system 120.

[0031] In some embodiments, local memory 119 may include memory registers that store memory pointers, fetched data, etc. Local memory 119 may also include read-only memory (ROM) for storing microcode. Figure 1A The example memory subsystem 110 in FIG. 1 has been described as including a memory subsystem controller 115, but in another embodiment of the present disclosure, the memory subsystem 110 does not include a memory subsystem controller 115, but may rely on external control (e.g., provided by an external host or by a processor or controller separate from the memory subsystem).

[0032] Typically, the memory subsystem controller 115 may receive commands or operations from the host system 120, and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory device 130. The memory subsystem controller 115 may be responsible for other operations such as wear leveling operations, garbage collection operations, error detection and error correction code (ECC) operations, encryption operations, cache operations, and address translation between logical addresses (e.g., logical block addresses (LBA), name space) and physical addresses (e.g., physical block addresses) associated with the memory device 130. The memory subsystem controller 115 may further include a host interface circuit system to communicate with the host system 120 through a physical host interface. The host interface circuit system may convert commands received from the host system into command instructions to access the memory device 130, and convert responses associated with the memory device 130 into information for the host system 120.

[0033] The memory subsystem 110 may also include additional circuitry or components not illustrated. In some embodiments, the memory subsystem 110 may include a cache or buffer (e.g., DRAM) and address circuitry (e.g., row decoders and column decoders) that may receive addresses from the memory subsystem controller 115 and decode the addresses to access the memory device 130.

[0034] In some embodiments, memory device 130 includes a local media controller 135 that operates in conjunction with memory subsystem controller 115 to perform operations on one or more memory cells of memory device 130. An external controller (e.g., memory subsystem controller 115) may manage memory device 130 externally (e.g., perform media management operations on memory device 130). In some embodiments, memory subsystem 110 is a managed memory device that includes an original memory device having control logic (e.g., local controller 135) on a die and a controller (e.g., memory subsystem controller 115) for media management within the same memory device package. An example of a managed memory device is a managed NAND (MNAND) device. For example, memory device 130 may represent a single die with some control logic (e.g., local media controller 135) embodied thereon. In some embodiments, one or more components of memory subsystem 110 may be omitted.

[0035] In some embodiments, the controller 115 includes an error correction code (ECC) encoder / decoder 111. The ECC encoder / decoder 111 may perform ECC encoding on data written to the memory device 130 and ECC decoding on data read from the memory device 130. The ECC decoding may be performed to decode the ECC codewords to correct errors in the original read data, and in many cases also report the number of bit errors in the original read data.

[0036] Figure 1B A more detailed computing system 100B including a programmable memory device adapted to operate in a REM profile mode is illustrated in accordance with various embodiments. For example, the programmable memory device may be a reference Figure 1A 130. In some embodiments, the memory subsystem 110 includes a one-time programmable (OTP) operator 113 adapted to interface with the host system 120 to facilitate user (or remote) enabling of the OTP mode of operation and the REM profile mode, as described herein. In some embodiments, the OTP operator 113 may be part of the host system 120, the controller 115, or the memory device 130. For example, the controller 115 may include a processor 117 (e.g., a processing device) configured to execute instructions stored in a local memory 119 for performing the operations described herein.

[0037] In some embodiments, the controller 115 includes at least a portion of the OTP operator 113. Additionally, the controller 115 may include a processor 117 (e.g., a processing device) configured to execute instructions stored in a local memory 119 to perform the operations described herein. In some embodiments, the OTP operator 113 is part of a host system 120, an application, or an operating system.

[0038] In various embodiments, a memory device 130 (e.g., a NAND flash memory (NAND) or other programmable non-volatile memory device) includes a local media controller 135 (e.g., control logic), a read-only memory (ROM) 138, a page buffer 140, a static random access memory (SRAM) 142, a set of reserved pages 150, and a register 160. In various embodiments, the SRAM 142 and / or the register 160 provide a latch buffer 144. The set of reserved pages 150 that may be stored in the memory array may include an OTP profile page 150A (e.g., within a first range of reserved pages) and a REM profile page 150B (e.g., within a second range of reserved pages). Pages within the set of reserved pages 150 may not be considered for OTP operations and may be programmed once, and once a page has been programmed, there is no option to perform an erase operation or further programming. As discussed, the REM profile mode may be considered a sub-mode of the OTP operating mode.

[0039] In some embodiments, ROM 138 stores instructions (e.g., microcode) for the programmable memory of memory device 130 and is associated with the functionality of memory device 130. These instructions may be adapted to respond to commands (e.g., from host system 120) and perform operations according to logic such as a state machine or other code. Additionally, page buffer 140 may buffer data before the data is programmed into ROM 138. This data may be received from host system 120. This data may include, for example, REM data or REM code, such as data that may be programmed into REM profile page 150B as a patch program or code that may be programmed into REM profile page 150B as a debug firmware or test mode program. For example, REM data or code may be loaded (after memory device 130 is powered on) into latch buffer 144. The local media controller 135 (or control logic) of the memory device 130 can execute the REM data in the latch buffer 144 (as an update to the operation of the instructions stored in the ROM 138), or execute the REM code in the latch buffer 144 (as a debug firmware or test mode program). In this way, although the ROM 138 is read-only, the operation of the ROM can be changed or fixed later after the memory device has been shipped to the customer.

[0040] For example, REM data (or code) may be loaded into latch buffer 144 from the set of reserved pages 150 and executed as a patch (e.g., update or modification) to the operation of the ROM instructions. As a patch, when executed, the REM data redirects the state machine of ROM 138 to the identified address in latch buffer 144 (e.g., whether in SRAM 142 or one or more of registers 160). The state machine may then reference the REM data loaded into latch buffer 144 during execution. Before the power-on sequence of memory subsystem 110 is completed, REM data is not loaded, and memory device 130 operates solely on ROM firmware. In addition to REM being automatically populated by memory device 130, REM data may also be manually populated by host system 120 (e.g., by a user of host system 120), as will be described in more detail.

[0041] In embodiments, REM data (or code) functionally checks when processing device 130 attempts to execute a particular command and replaces the command with a different action. REM data / code may also enable engineers to swap or change the microcode of memory device 130, which facilitates rapid prototyping without waiting for design changes to propagate to microcode, and unique temporary behavior may be observed during specific testing. In various embodiments, REM data / code includes a REM word or words, such as a REM sequence. The REM sequence will be stored together in REM profile page 150B for execution together. Table 1 illustrates an example of how some custom REM data or code may be programmed into REM profile page 150B of reserved page 150.

[0042] Reserved Page Programming content: Page_0 CUSTOM REM DATA Page_1 Custom REM Codes Multiple accessible pages Multiple custom REM data / codes .... .... Page_n CUSTOM REM DATA

[0043] Table 1

[0044] In embodiments, each custom REM data or REM code may be used for different purposes. As just one example, a bit line check test pattern may be loaded as the REM code, and the system firmware group may execute this test pattern to detect blocks of the memory device that become more difficult to program. Once detected, the memory subsystem 110 may reclaim these blocks (e.g., groups of cells).

[0045] In various embodiments, the OTP region of the memory device 130 is within the range of the OTP profile page 150A known to be available for permanent storage. Thus, the customer (or user) can use the OTP region in any desired manner, but typically to program a serial number or to permanently store data (e.g., trim values) because the OTP region is not erasable. In one embodiment, to operate in the OTP operating mode, the user enables the OTP operating mode by issuing a set of feature (EFh) commands to a specified feature address (e.g., 90h) and writing a parameter (e.g., 01h) to a first reserved page (P1) followed by three cycles of writing another parameter (e.g., 00h) to three additional reserved pages (e.g., P2, P3, P4). These parameters can also be understood as definitions or states that trigger the state machine of the ROM operation to enter the OTP operating mode. While the memory device 130 is in the OTP operating mode, subsequent page read (e.g., 00h-30h) and page program (e.g., 80h-10h) commands are applied to the OTP region of the programmable memory. Other ways of entering (and exiting) the OTP mode of operation are contemplated, including writing different parameters to different OTP pages.

[0046] In various embodiments, after memory device 130 is operated in the field, a vendor of the memory device may need to perform an update to ROM 138 to repair the operation of the ROM (e.g., via a firmware update) or install a debug patch for diagnostic purposes. In various embodiments, the OTP operating mode is changed to allow a user to directly trigger entry into REM profile mode via host system 120 (e.g., a user-selectable REM profile mode), or to allow a vendor to remotely trigger entry into REM profile mode (e.g., a remotely selectable REM profile mode). In either case, the vendor can then remotely transmit the REM data (or code) (see Figure 2 ) to the host system 120, upon receipt of which, the memory subsystem 110 installs the REM data (or code) into the memory device 130, for example with the aid of the page buffer 140.

[0047] In some embodiments, to change entry to the OTP operating mode to operate within the REM profile mode, the local media controller 135 (e.g., control logic) of the programmable memory may execute the set feature command and program a set of sub-feature parameters to a specified feature address of a set of reserved pages. In an embodiment, the sub-feature parameters are designed to trigger operation within the REM profile mode (rather than operation in the OTP operating mode). In one embodiment, the specified feature address is the same or similar to the feature address used to enter the OTP operating mode (e.g., for pages P1, P2, P3, and P4), while the sub-feature parameters are different from the sub-feature parameters used to enter the OTP operating mode. In another embodiment, the specified feature address is different from the feature address used to enter the OTP operating mode, while the sub-feature parameters are the same (or different) than the sub-feature parameters used to enter the OTP operating mode. Once in the REM profile mode, the processing device may then program the REM profile pages 150B of the set of reserved pages 150 with REM data received from the host system 120 (e.g., which receives the REM data (or code) from a vendor). To do so, the program counter of the instruction executed in ROM 138 may be shifted to point to REM profile page 150B, for example, as the address in the latch buffer into which REM profile page 150B is copied.

[0048] In some embodiments, the processing device further sets a flag 152 stored in one of the reserved pages (a reserved page in the set of reserved pages 150) or the REM profile page (in which the REM data is programmed) when programming the REM profile page. The flag 152 may be adapted to indicate whether REM data (or code) is stored in the REM profile page and is therefore to be loaded for ROM operation. For example, after the memory device is powered on, the processing device may detect that the flag 152 has been set, and then load the REM data (or code) from the REM profile page into the latch buffer to be executed as a modification to the operation of the ROM instruction. In this way, operations within the OTP operating mode and the REM profile mode may be distinguished.

[0049] Figure 2 1 is a flow chart illustrating a method 200 of high-level interaction between a memory vendor, a memory device using REM profile mode, an installed system, and a customer of a memory subsystem according to various embodiments. The method 200 may be performed by processing logic, which may include hardware (e.g., a processing device, a circuit system, specialized logic, programmable logic, microcode, hardware of a device, an integrated circuit, etc.), software (e.g., instructions running or executed on a processing device), or a combination thereof. In some embodiments, the method 200 is performed by a vendor (e.g., assignee), a memory device 130, a host system 120, and a customer (or other user) accessing the host system 120 (see Figure 1A-1B ). Although shown in a particular order or sequence, the order of the processing procedures may be modified unless otherwise specified. Therefore, the illustrated embodiments should be understood as examples only, and the illustrated processes may be performed in a different order, and some processes may be performed in parallel. In addition, one or more processes may be omitted in various embodiments. Therefore, not all processes are required in every embodiment. Other processing flows are possible.

[0050] At operation 202, a customer (or user) starts a qualification test (QUAL), which is performed to verify the design and manufacturing process of the memory device 130 and can provide a baseline for subsequent acceptance testing. At operation 204, the customer discovers or is notified of a failure in the qualification test (e.g., by the host system 120), and sends a request to perform a diagnosis or, for example, a debug of the failure of the memory device 130 to the supplier along with failure data related to the failure.

[0051] At operation 208, the vendor may perform a diagnostic process (debugging) based on the failure data. For example, at operation 210, the vendor may determine that marginality exists on the memory device 130 based on analysis of the failure data. At operation 214, the vendor may send system debug firmware to the customer.

[0052] At operation 218, the customer may reload the system debug firmware via the host system 120. At operation 220, the host system 120 may initiate a reload of the system debug firmware. Here, the term "reload" refers to loading new REM code received from a vendor. In some embodiments, the vendor may remotely initiate a firmware reload without customer mediation.

[0053] At operation 224, the memory device 130 reprograms the firmware with REM code, such as instructions or microcode executable by the ROM 138, by entering the REM profile mode as previously discussed. While in the REM profile mode, at operation 226, the memory device 130 may load a REM profile page with self-test capabilities. For example, REM code and associated test data may be programmed into the REM profile page. Also at operation 226, the memory device 130 may collect debug information or data and output the debug information data into the page buffer 140 or register 160 to make it available to the host system, for example.

[0054] At operation 230, host system 120 may copy the debug information (or data), for example, from page buffer 140 or register 160 to an accessible interface (e.g., a graphical user interface or other output) of host system 120. At operation 234, the customer may send the debug information (or data) to the vendor so that the vendor can propose a solution, which is often a patch to the firmware of ROM 138. In some embodiments, operation 234 is skipped and host system 120 automatically sends the debug information (or data) back to the vendor.

[0055] At operation 238, the vendor may propose a REM update to the production firmware, wherein the REM update includes REM data and / or code to operate as a patch solution to the marginalization present on the memory device 130. The vendor may then send the REM data / code to the customer of the host system 120.

[0056] At operation 242, the customer may reload the firmware to the host system 120. This action may be as simple as initiating an executable code received from the vendor (e.g., in an email or instant message) or copying all REM data / code to the memory device 130. At operation 244, the host system may again initiate the firmware reload. In one embodiment, the vendor may remotely initiate the firmware reload at the host system 120, thereby bypassing the customer.

[0057] At operation 250, the memory device 130 reprograms the firmware via the REM profile page 150B, as previously discussed and will be referred to herein. Figure 3-4 140 . The REM update may be a REM code with new functionality, such as a special test operation, or may contain a patch that fixes a bug in the firmware of ROM 138. In either case, the entire set of REM code is loaded, such as with a firmware reload to fill in addresses within the REM address space of latch buffer 144. As discussed, this reprogramming may include, at operation 254, programming REM profile page 150B with the REM update (data and / or code), and setting flag 152 to indicate that the REM profile page has been programmed. In embodiments, the FW reload causes REM profile page 150B to be programmed with self-test capabilities, including the ability to output status or test data as debug data / information to page buffer 140 or register 160. At operation 258, memory device 130 may verify that the REM update has been applied to the firmware of ROM 138, and that the marginalization of memory device 130 has therefore been resolved.

[0058] At operation 262, the host system 120 may load a confirmation of the REM update to an interface of the host system 120 that is available to the customer or user. The customer may then review or receive the confirmation. At operation 264, the customer may confirm to the vendor that the failure has been resolved and resume qualification testing (QUAL).

[0059] Figure 3 1 is a flow chart of an example method 300 for programming a memory subsystem to operate within a REM profile mode according to one embodiment. The method 300 may be performed by processing logic, which may include hardware (e.g., a processing device, a circuit system, specialized logic, programmable logic, microcode, hardware of a device, an integrated circuit, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, the method 300 is performed by a local media controller 135 (e.g., control logic of a memory device 130). Although shown in a particular order or sequence, the order of the processing procedures may be modified unless otherwise specified. Therefore, the illustrated embodiments should be understood as examples only, and the illustrated processes may be performed in a different order, and some processes may be performed in parallel. In addition, one or more processes may be omitted in various embodiments. Therefore, not all processes are required in every embodiment. Other processing flows are possible.

[0060] At operation 310, processing logic executes a set feature command, which in one embodiment is received from the OTP operator 113 and enables access to the set of reserved pages 150. For example, the set feature command may be associated with an OTP mode of operation and execute similarly, but may point to a different OTP address and / or be programmed with different sub-feature parameters.

[0061] At operation 320, processing logic programs a set of sub-feature parameters to a specified feature address of a set of reserved pages. In one embodiment, the reserved pages are one-time programmable (OTP) pages, such as OTP profile page 150A. The set of sub-feature parameters are used to trigger operation within a ROM emulation memory (REM) profile mode. The specified feature address may include the address of the first of a series of pages programmed with sub-feature parameters (which are REM mode specific parameters).

[0062] In one embodiment, processing logic will execute instructions (of ROM 138) in response to user input received from a host system to execute the set feature command and program the set of sub-feature parameters to the specified feature address of the set of reserved pages. This embodiment of the REM profile mode is a user selectable REM profile mode.

[0063] In another embodiment, to execute the set feature command and program the set of sub-feature parameters to the specified feature address of the set of reserved pages, processing logic will execute instructions (instructions of ROM 138) in response to a remote command received from a vendor via host system 120. This embodiment of the REM profile mode is a remotely selectable REM profile mode.

[0064] At operation 330, processing logic programs the REM profile page 150B of the set of reserved pages 150 with the REM data received from the host system 120. As discussed, this REM data may be a patch or update to the firmware or microcode executed by the ROM 138. The REM data may further be or include REM code, which is a debug firmware or test mode program that provides testing capabilities. In one embodiment, the REM profile page may further include multiple REM profile pages corresponding to a different set of REM data or REM code.

[0065] At operation 340, the processing device sets a flag stored in one of the reserved page or the REM profile page as appropriate. The flag 152 may indicate whether REM data (or REM code) is stored in the REM profile page 150B. In other embodiments, although not illustrated, the flag is stored in one of the registers 160.

[0066] Figure 4 4 is a flow chart of an example method 400 for selecting and operating within a REM profile mode after power-on according to various embodiments. The method 400 may be performed by processing logic, which may include hardware (e.g., a processing device, a circuit system, a specialized logic, a programmable logic, a microcode, hardware of a device, an integrated circuit, etc.), software (e.g., instructions running or executed on a processing device), or a combination thereof. In some embodiments, the method 400 is performed by a local media controller 135 (e.g., control logic of a memory device 130). In one embodiment, the first reserved page in the set of reserved pages 150 stores a flag 152, but the flag 152 may also be stored in one of the registers 160 or other non-volatile memories. Although shown in a particular order or sequence, the order of the processing procedures may be modified unless otherwise specified. Therefore, the illustrated embodiments should be understood as examples only, and the illustrated processes may be performed in different orders, and some processes may be performed in parallel. In addition, one or more processes may be omitted in various embodiments. Therefore, not all processes are required in every embodiment. Other processing flows are possible.

[0067] refer to Figure 4, and after the memory subsystem 110 is powered on, at operation 410, the processing logic detects (e.g., determines) whether the flag 152 is set within the first reserved page (or other non-volatile memory array). If the flag is set, this may indicate that the REM data (or REM code) stored in the set of reserved pages is associated with the REM profile mode. If the processing logic detects that the flag is set, then at operation 415, the processing logic executes a read page command to read the REM data (or code) from the REM profile page storing the REM data (or code) (see Figure 3 ).

[0068] At operation 425, processing logic loads REM data (or REM code) from the REM profile page of the set of reserved pages 150 into a latch buffer to be executed as a modification to the operation of the instruction stored in the ROM. As discussed, this REM data may be a patch or update to the firmware or microcode executed by the ROM 138. The REM data may further be or include REM code, which is a debug firmware or test mode program that provides testing capabilities. In one embodiment, the REM profile page may further include multiple REM profile pages corresponding to a different set of REM data or REM code.

[0069] If the flag is not set, then at operation 440, processing logic executes a read page command to read OTP data (or code) from an OTP profile page in the set of reserved pages. At operation 450, processing logic loads the production REM data from the OTP profile page into a latch buffer to be executed as a modification to the operation of the instruction stored in ROM.

[0070] Advantages of the present disclosure include, but are not limited to, enabling firmware updates to the ROM of a memory device. This enables the ability to send REM data to update the ROM firmware via a client mode command or remotely by a vendor server. Figure 2 As discussed, this is helpful for post-qualification test problems that can only be fixed via REM data. The advantages further include allowing field debugging, such as diagnosing a failure of a memory device. During a memory device failure, the vendor can perform diagnostic tests and sequences via these REMs to identify the cause of the failure. REMs can also be written (e.g., to one of registers 160) to output a health report that can be shared with the customer. The vendor can use the health report to find the root cause of the problem. In addition, faster root cause finding is made possible because the customer can perform the test via an existing set of feature commands.

[0071] Advantages of the present disclosure further include, but are not limited to, allowing the system team to load and execute test modes for the memory device. This capability provides the internal system team with the ability to perform tests and diagnose the health of the memory device 130. Therefore, defects and failures can be detected earlier and prevented from occurring, resulting in fewer customer failures. Advantages may further include providing customers with access to specific test modes (and their results) as appropriate, without requiring the customer to access the REM data itself. Because the present invention uses existing OTP operating mode features, REM data (or REM code) can be loaded and executed via the REM profile mode. The REM data / code can be limited to being written to only output status data to the page buffer, which the customer can read out or can update the status register. This may be useful for specific customers who want to perform targeted testing to eliminate defects. But at the same time, the vendor can protect REM related data and code by not disclosing the test sequence.

[0072] Figure 5 An example machine of a computer system 500 is illustrated, within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In some embodiments, the computer system 500 may correspond to a host system (e.g., Figure 1A-1B ) that includes, is coupled to, or utilizes a memory subsystem (e.g., Figure 1A-1B 110) or may be used to perform operations of the controller 115 (e.g., to perform Figure 1B In some embodiments, the machine may be connected (e.g., using a network) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the capacity of a server or a client machine in a client-server network environment, or in the capacity of a peer machine in a peer-to-peer (or distributed) network environment, or as a server or a client machine in a cloud computing infrastructure or environment.

[0073] The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a network appliance, a server, a network router, a switch or a bridge, or any machine capable of executing (sequentially or otherwise) a set of instructions that specify actions to be taken by the machine. In addition, while a single machine is described, the term "machine" should also be taken to include any collection of machines that individually or collectively execute one (or more) sets of instructions to perform any one or more of the methodologies discussed herein.

[0074] The example computer system 500 includes a processing device 502, a main memory 504 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM)), a static memory 506 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 518, which communicate with each other via a bus 530.

[0075] The processing device 502 represents one or more general-purpose processing devices, such as a microprocessor, a central processing unit, etc. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets, or a processor that implements a combination of instruction sets. The processing device 502 may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. The processing device 502 is configured to execute instructions 526 for performing the operations and steps discussed herein. The computer system 500 may further include a network interface device 508 to communicate via a network 520.

[0076] The data storage system 518 may include a machine-readable storage medium 524 (also referred to as a computer-readable medium) having stored thereon one or more sets of instructions 526 or software embodying any one or more of the methods or functions described herein. The instructions 526 may also reside, completely or at least partially, within the main memory 504 and / or within the processing device 502 during execution thereof by the computer system 500, the main memory 504 and the processing device 502 also constituting machine-readable storage media. The machine-readable storage medium 524, the data storage system 518, and / or the main memory 504 may correspond to Figure 1A-1B Memory subsystem 110.

[0077] In one embodiment, instructions 526 include implementing a command corresponding to an error determination component (e.g., Figure 1B Although the machine-readable storage medium 524 is shown as a single medium in the example embodiment, the term "non-transitory machine-readable storage medium" should be considered to include a single medium or multiple media storing one or more sets of instructions. The term "machine-readable storage medium" should also be considered to include any medium capable of storing or encoding a set of instructions for machine execution and causing the machine to perform any one or more of the methods of the present disclosure. Therefore, the term "machine-readable storage medium" should be considered to include, but not limited to, solid-state memory, optical media, and magnetic media.

[0078] Some portions of the previous detailed description have been presented with respect to algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means by which those skilled in the art of data processing most effectively convey the substance of their work to others skilled in the art. An algorithm is here and generally considered to be a self-consistent sequence of operations that produces a desired result. An operation is one that requires physical control of physical quantities. These quantities are typically, but not necessarily, in the form of electrical or magnetic signals that can be stored, combined, compared, and otherwise manipulated. At times, primarily for general reasons, it has proven convenient to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, etc.

[0079] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The present disclosure may refer to the actions and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage systems.

[0080] The present disclosure also relates to an apparatus for performing the operations described herein. This apparatus may be specially constructed for the intended purpose, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer-readable storage medium, such as, but not limited to, any type of disk (including floppy disks, optical disks, CD-ROMs, and magnetic optical disks), a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, or any type of medium suitable for storing electronic instructions, each coupled to a computer system bus.

[0081] The algorithms and displays presented herein are not inherently related to any particular computer or other device. Various general purpose systems may be used with programs according to the teachings herein, or it may prove convenient to construct more specialized devices to perform the methods. The structures of a variety of these systems will be presented as set forth in the description below. In addition, the present disclosure is not described with reference to any particular programming language. It should be appreciated that a variety of programming languages ​​may be used to implement the teachings of the present disclosure as described herein.

[0082] The present disclosure may be provided as a computer program product or software, which may include a machine-readable medium having stored thereon instructions that can be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). In some embodiments, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory component, etc.

[0083] In the foregoing description, embodiments of the present disclosure have been described with reference to specific example embodiments thereof. It should be apparent that various modifications may be made to the present disclosure without departing from the broader spirit and scope of embodiments of the present disclosure as set forth in the appended claims. Accordingly, the specification and drawings should be viewed in an illustrative rather than a restrictive sense.

Claims

1. A programmable memory device, include: a read-only memory ROM block storing instructions associated with the functionality of said programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block, wherein the set of reserved pages are one-time programmable (OTP) pages; as well as A controller coupled to the ROM block and the memory array, wherein the controller performs operations including: executing the set characteristic command to access the set of reserved pages; programming a set of sub-feature parameters to designated feature addresses of the set of reserved pages, wherein the set of sub-feature parameters will trigger operation in a ROM emulation memory REM profile mode, the designated feature addresses being different than addresses used for execution in an OTP operating mode, and wherein the REM profile mode is an extension of operation of the OTP operating mode; as well as A REM profile page in the set of reserved pages is programmed with REM data received from the host system.

2. The programmable memory device of claim 1, wherein the REM profile page further comprises a plurality of REM profile pages corresponding to a different set of REM data.

3. The programmable memory device of claim 1 , wherein to execute the set feature command and program the set of sub-feature parameters to the specified feature address of the set of reserved pages, the controller is to perform operations in response to user input received from the host system, and wherein the REM profile mode is a user-selectable REM profile mode.

4. The programmable memory device of claim 1, wherein the controller further sets a flag stored in one of a reserved page or the REM profile page, the flag indicating whether the REM data is stored in the REM profile page.

5. The programmable memory device of claim 4, wherein when the programmable memory device is powered on, the controller further: detecting that the flag has been set; and The REM data is loaded from the REM profile page into a latch buffer to be executed as a modification to the operation of the instruction stored in the ROM.

6. The programmable memory device of claim 5 , further comprising a static random access memory (SRAM) coupled to the controller, wherein the latch buffer is located within the SRAM, and the controller further executes the instruction to redirect the state machine of the ROM to the identified address within the latch buffer.

7. The programmable memory device of claim 4, wherein when the programmable memory device is powered on, the controller further: detecting that the flag is not set; and Production REM data is loaded from the set of reserved pages into a latch buffer to be executed as a modification to the operation of the instructions stored in the ROM.

8. The programmable memory device of claim 1, wherein the controller performs the operation in response to a remote command received via a host system.

9. A programmable memory device, include: a read-only memory ROM block storing instructions associated with the functionality of said programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block, wherein a first reserved page of the set of reserved pages is to store a flag; as well as a controller coupled to the ROM block and the memory array, wherein when the programmable memory device is powered on, the controller will execute the instructions to: detecting that the flag is set within the first reserved page, the flag indicating that ROM emulation memory REM data stored in the set of reserved pages is associated with a REM profile mode; executing a page read command to read the REM data from a REM profile page in the set of reserved pages; as well as The REM data is loaded from the REM profile page stored in the set of reserved pages into a latch buffer to be executed as a modification to the operation of the instruction stored in the ROM.

10. The programmable memory device of claim 9, wherein the reserved page is a one-time programmable (OTP) page, and wherein the REM profile page comprises a plurality of REM profile pages corresponding to a set of different REM data.

11. The programmable memory device of claim 9, wherein the controller further: executing the set characteristic command to access the set of reserved pages; programming a set of sub-feature parameters to designated feature addresses of the set of reserved pages, wherein the set of sub-feature parameters will trigger operation within the REM profile mode; programming said REM profile page with said REM data received from a host system; as well as The flag in the first reserved page is set.

12. The programmable memory device of claim 9, wherein the REM data includes a REM code, and wherein the controller further executes the REM code in the REM profile page to perform a diagnostic test on the programmable memory device.

13. The programmable memory device according to claim 12, in, As part of performing the diagnostic test, the controller further outputs status data to one of a page buffer or a status register of the programmable memory device.

14. The programmable memory device of claim 9, further comprising a register coupled to the controller, wherein the latch buffer is located within a register in the coupled register.

15. A method for operating a memory device, wherein include: Operating a programmable memory device, the programmable memory device comprising: a read-only memory ROM block storing instructions associated with functionality of the programmable memory device; a memory array including a set of reserved pages to store updates to be performed on the ROM block, wherein the set of reserved pages are one-time programmable (OTP) pages; and a controller, and wherein operating the programmable memory device comprises: executing, by the controller, a set characteristic command to access the set of reserved pages; writing, by the controller, a set of sub-feature parameters to a designated feature address of the set of reserved pages, wherein the set of sub-feature parameters will trigger operation in a ROM emulation memory REM profile mode, the designated feature address being different from an address used for execution in an OTP operating mode, and wherein the REM profile mode is an extension of operation of the OTP operating mode; and A REM profile page in the set of reserved pages is programmed by the controller with one of REM data or REM code received from a host system.

16. The method of claim 15, wherein programming the REM profile page further comprises programming each of a plurality of REM profile pages in the set of reserved pages corresponding to a respective one of a different set of REM data or REM codes.

17. The method of claim 15, wherein the executing and the writing are performed in response to receiving user input from the host system, and wherein the REM profile mode is a user-selectable REM profile mode.

18. The method of claim 15, wherein operating the programmable memory device further comprises setting a flag associated with the REM data or REM code to indicate whether the REM data or REM code is stored in the REM profile page.

19. The method according to claim 18, in, When the programmable memory device is powered on, operating the programmable memory device further comprises: detecting that the flag has been set; and The REM data or REM code is loaded from the REM profile page into a latch buffer to be executed as a modification to the operation of the instruction stored in the ROM.

20. The method according to claim 18, in, When the programmable memory device is powered on, operating the programmable memory device further comprises: detecting that the flag is not set; and Production REM data is loaded from the set of reserved pages into a latch buffer to be executed as a modification to the operation of the instructions stored in the ROM.

21. The method of claim 15, wherein operating the programmable memory device further comprises executing the REM code to: performing diagnostic tests on the programmable memory device; and Status data is output to one of a page buffer or a status register of the programmable memory device.