Memory controller, memory system and operating method thereof

By introducing the collaborative work of the memory control sequence generator and the core processor into the memory controller, the problem of insufficient compatibility of different memory devices in low-power environments is solved, data input/output performance and compatibility are improved, and data transmission is ensured reliability.

CN118733494APending Publication Date: 2024-10-01SK HYNIX INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311394785.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2023-10-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing memory systems are difficult to be compatible with different types of memory devices in low-power environments, resulting in reduced data input/output performance and insufficient compatibility.

Method used

Design a memory controller that includes a memory control sequence generator and a core processor that optimizes data input/output operations by generating corresponding command sequences, can adapt to unexpected memory device conditions, and interfaces with the core processor through the core The servers work together to ensure the success of data transmission.

Benefits of technology

The data input/output performance and compatibility of the memory system in a low-power environment are improved, ensuring the reliability of data and the service life of the memory device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733494A_ABST
    Figure CN118733494A_ABST
Patent Text Reader

Abstract

The invention relates to a memory controller, a memory system and an operating method thereof. The memory system includes: at least one memory chip including first information about internal configuration and operating characteristics; and a memory controller configured to perform a data input / output operation on the at least one memory chip. The memory controller includes: a core processor, engaged with firmware, configured to generate at least one first command for controlling an operation associated with first information; a memory control sequence generator configured to generate at least one second command for controlling an operation performed on a memory chip including second information; and a kernel interface configured to, when the first information is not included in the second information, hand over a process for generating some of the at least one command associated with a portion of the first information from the memory control sequence generator to the kernel processor, the portion of the first information not included in the second information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority to Korean Patent Application No. 10-2023-0041045, filed on March 29, 2023, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] One or more embodiments of the present disclosure described herein relate to a memory system, and more particularly, to a memory controller compatible with various memory devices in a low-power environment, a memory system including the memory controller, and an operating method of the memory system. Background Art

[0004] Memory devices or memory systems are generally used as internal circuits, semiconductor circuits, integrated circuits and / or mobile devices in computing systems or electronic devices. There are various types of memory, including volatile memory and non-volatile memory. Volatile memory may require power to retain data. Volatile memory may include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM) and synchronous dynamic random access memory (SDRAM), etc. Non-volatile memory can retain data stored in non-volatile memory when power is not supplied. Non-volatile memory may include NAND flash memory, NOR flash memory, phase change random access memory (PCRAM), resistive random access memory (RRAM), magnetic random access memory (MRAM), etc. Improving memory devices or memory systems may include integrated control of different types of memory, reducing power consumption, improving the reliability of data retention, preventing data value modification that may be caused by energy supply interruption and / or reducing manufacturing costs. Summary of the invention

[0005] Embodiments of the present invention may provide a memory system that may control data input / output operations of different memory devices by using a dedicated controller to improve not only compatibility through a low-power core processor coupled with a dedicated controller but also data input / output performance.

[0006] According to an embodiment of the present invention, a memory control sequence generator included in a memory controller may include a process of handing over the generation of instructions corresponding to an internal configuration or operating characteristics of a memory device connected to the memory controller, so that data input / output operations with the memory device can be optimized by a low-power core processor even if the memory controller is connected to an unexpected memory device.

[0007] According to an embodiment of the present invention, a memory control sequence generator can be combined with a low-power core processor and firmware that improves compatibility within a memory controller connected to multiple memory devices having different internal configurations and operating characteristics to provide an apparatus and method for performing high-speed hardware-based data input / output operations in a low-power environment.

[0008] In an embodiment of the present invention, a memory system may include: at least one memory chip including first information about internal configuration and operation characteristics; and a memory controller configured to perform data input / output operations on the at least one memory chip. The memory controller may include: a core processor, coupled with firmware, configured to generate at least one first command for controlling operations associated with the first information; a memory control sequence generator, configured to generate at least one second command for controlling operations performed on the memory chip including second information; and a core interface, configured to, when the first information is included in the second information, hand over a process for generating some commands associated with a portion of the first information in at least one command from the memory control sequence generator to the core processor, the portion of the first information not included in the second information.

[0009] The at least one first command may include a command to check an operation state of the at least one memory chip.

[0010] After the memory control sequence generator transmits a program command for a program operation performed on at least one memory chip, the core interface may request the core processor to generate some of the at least one first command.

[0011] The memory controller may transmit some of the at least one first command generated by the core processor to the at least one memory chip through the memory control sequence generator.

[0012] After the memory control sequence generator receives responses regarding some of the at least one first command from the at least one memory chip, the core interface may transmit the responses to the core processor, and the core processor may analyze the responses to check whether the programming operation is successfully completed.

[0013] The memory control sequencer may sequentially transmit a read command for a read operation performed on the at least one memory chip and some of the at least one first command to the at least one memory chip.

[0014] Before the memory control sequence generator transmits the read command to the at least one memory chip, the core interface may request the core processor to generate some commands of the at least one first command.

[0015] The memory control sequencer may be configured to transmit a command for outputting read data subjected to a read operation to at least one memory chip and receive the read data from the at least one memory chip based on responses to some of the at least one first command.

[0016] The memory controller may further include a plurality of queues configured to be accessed by the core processor and the core interface.

[0017] The core processor may include a clock gating circuit configured to activate or deactivate a clock signal based on a request input from the core interface.

[0018] In another embodiment, a method of operating a memory system may include: receiving first information about internal configuration or operating characteristics from at least one memory chip; comparing the first information with second information about the memory chip associated with a command generated by a memory control sequence generator; generating a second command by the memory control sequence generator to control operations associated with items of the first information included in the second information; generating a first command by a core processor engaged with firmware to control operations associated with other items of the first information not included in the second information, the core processor working in conjunction with the memory control sequence generator; and transmitting the first command and the second command to at least one memory chip in a preset order.

[0019] The first command may include a command for checking an operation state of at least one memory chip.

[0020] For a program operation performed on at least one memory chip, the first command may be generated after a program command included in the second command is transmitted to the at least one memory chip.

[0021] The method may further include receiving a response to the first command from at least one memory chip; transmitting the response to the core processor; and analyzing the response by the core processor to determine whether the programming operation was successfully completed.

[0022] The method may further include sequentially transmitting a read command for a read operation performed on the at least one memory chip and the first command to the at least one memory chip to perform the read operation performed on the at least one memory chip.

[0023] The method may further include requesting generation of the first command before transmitting the read command to the at least one memory chip.

[0024] The method may further include: receiving a response regarding the first command from at least one memory chip; transmitting a command for outputting read data subjected to a read operation to the at least one memory chip based on the response; and receiving the read data from the at least one memory chip.

[0025] The method may further include activating a clock signal input to a core processor interfaced with the memory control sequence controller prior to generating the first command.

[0026] In another embodiment, a memory controller may include: a core processor, coupled with firmware, configured to generate at least one first command for controlling operations associated with first information about an internal configuration and operating characteristics of at least one memory chip; a memory control sequence generator, configured to generate at least one second command for controlling operations performed on a memory chip including second information; and a core interface, configured to, when the first information is included in the second information, transfer a process for generating some of the at least one command associated with a portion of the first information from the memory control sequence generator to the core processor, the portion of the first information not being included in the second information.

[0027] The first command may include a command for checking an operation state of at least one memory chip, and the second command may include a program command, a read command, and / or an erase command. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The description herein refers to the accompanying drawings, wherein like reference numerals refer to like parts throughout.

[0029] Figure 1 A memory controller according to an embodiment of the present disclosure is shown.

[0030] Figure 2 A flash memory interface layer according to an embodiment of the present disclosure is shown.

[0031] Figure 3 A memory system according to an embodiment of the present disclosure is shown.

[0032] Figure 4 A memory control sequence generator according to an embodiment of the present disclosure is shown.

[0033] Figure 5 A finite state machine included in a memory control sequence generator according to an embodiment of the present disclosure is shown.

[0034] Figure 6 A data processing system according to an embodiment of the present disclosure is shown.

[0035] Figure 7 A memory system according to an embodiment of the present disclosure is shown.

[0036] Figure 8 A programming operation according to an embodiment of the present disclosure is shown.

[0037] Fig. 9 A read operation according to an embodiment of the present disclosure is shown.

[0038] Fig.10 An operating method of a memory system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0039] Various embodiments of the present disclosure are described below with reference to the accompanying drawings. However, the elements and features of the present disclosure may be configured or arranged differently to form other embodiments, which may be variations of any of the disclosed embodiments.

[0040] In the present disclosure, references to various features (e.g., elements, structures, modules, components, steps, operations, characteristics, etc.) included in “one embodiment,” “example embodiment,” “embodiment,” “another embodiment,” “some embodiments,” “multiple embodiments,” “other embodiments,” and “alternative embodiments” are intended to indicate that any such features are included in one or more embodiments of the present disclosure, but may or may not be combined in the same embodiment.

[0041] In this disclosure, the terms "comprises," "comprising," "includes," and "including" are open ended. As used in the appended claims, these terms specify the presence of stated elements and do not preclude the presence or addition of one or more other elements. The terms in the claims do not preclude the device from including additional components, such as interface units, circuits, etc.

[0042] In the present disclosure, various units, circuits, or other components may be described or claimed to be "configured to" perform one or more tasks. In this case, "configured to" is used to represent a structure by indicating that the block / unit / circuit / component includes a structure (e.g., a circuit) that performs one or more tasks during operation. Therefore, even when the block / unit, circuit / component is not currently operating, for example, when it is not turned on or activated, it can be said that the specified block / unit / circuit / component is configured to perform a task. Examples of blocks / units / circuit / components used with the "configured to" statement include hardware, circuits, memories storing executable program instructions to implement operations, etc. In addition, "configured to" may include general structures (e.g., general circuits) manipulated by software and / or firmware (e.g., FPGAs), or general processors that run software to operate in a manner capable of performing related tasks. "Configured to" may also include adjusting a manufacturing process, such as semiconductor manufacturing equipment, to manufacture a device suitable for implementing or performing one or more tasks, such as an integrated circuit.

[0043] As used in this disclosure, the terms "machine", "circuit" or "logic" refer to all of the following: (a) hardware circuit implementations only, such as implementations in analog and / or digital circuits only, and (b) combinations of circuits with software and / or firmware, such as (where applicable): (i) a combination of processors, or (ii) portions of processors / software, including digital signal processors, software, and memory, which work together to enable a device such as a mobile phone or server to perform various functions, and (c) circuits, such as a microprocessor or a portion of a microprocessor, that require software or firmware to operate even if the software or firmware is not physically present. The definitions of "machine", "circuit" or "logic" apply to all uses of the terms in this application, including in any claims. As another example, as used in this application, the terms "machine", "circuit" or "logic" also cover implementations of only one processor or multiple processors or portions of a processor and a processor (or multiple processors) with accompanying software and / or firmware. The terms "machine", "circuit" or "logic" also cover, for example, integrated circuits of storage devices, where applicable to a particular claim element.

[0044] As used herein, the terms "first", "second", "third", etc. are used as markers for the nouns preceding them and do not imply any type of ordering, such as spatial, temporal, logical, etc. The terms "first" and "second" do not necessarily mean that the first value must be written before the second value. Further, although these terms can be used here to identify various components, these components are not limited by these terms. These terms are used to distinguish one component from another component with the same or similar name. For example, a first circuit can be distinguished from a second circuit.

[0045] In addition, the term "based on" is used to describe one or more factors that affect the determination. The term does not exclude other factors that may affect the determination. That is, the determination may be based only on these factors, or at least in part on these factors. For example, the phrase "determine A based on B." In this case, B is a factor that affects the determination of A, but this phrase does not exclude that the determination of A is also based on C. In other cases, A may be determined based only on B.

[0046] Embodiments will now be described with reference to the drawings, wherein like reference numerals refer to like elements throughout.

[0047] Figure 1 A memory controller 330 according to an embodiment of the present disclosure is shown.

[0048] Reference Figure 1 , the memory controller 330 is connected to the first memory device 150A and the second memory device 150B to perform data communication (NAND CMD, Data Out) with the first memory device 150A and the second memory device 150B. The memory controller 330 can receive commands (CMD), addresses (Addr), data (Data), etc. from an external device, and send responses (Res), status information (Stat), data (Data), etc. to the external device. In an embodiment, the external device may include a computing device for storing data in the first memory device 150A and the second memory device 150B or reading data stored in the first memory device 150A and the second memory device 150B. For example, the external device may include Figure 6 or Figure 7 Host 102 described in .

[0049] The first memory device 150A and the second memory device 150B coupled to the memory controller 330 may include a memory chip including a plurality of volatile memory cells or a plurality of non-volatile memory cells. The first memory device 150A and the second memory device 150B coupled to the memory controller 330 may have different internal configurations and operating characteristics. Compared with the first memory device 150A, the second memory device 150B may include additional components that are not included in the first memory device 150A but are used to improve data input / output operations. For example, the first memory device 150A may store 3-bit data in one memory cell, while the second memory device 150B may store 4-bit data in one memory cell. In another example, the first memory device 150A has an internal structure capable of supporting die interleaving, while the second memory device 150B has an internal cache, a status register, etc. for supporting plane interleaving. The foregoing examples are only used to describe the differences in the internal configurations or operating characteristics of the first memory device 150A and the second memory device 150B. According to embodiments, the first memory device 150A and the second memory device 150B may have various differences in internal configuration / structure or operating characteristics.

[0050] In an embodiment, the second memory device 150B may be more complex, more diverse, or may process a larger amount of data faster than the first memory device 150A. The second memory device 150B may be developed, designed, or manufactured slightly later than the first memory device 150A. The second memory device 150B may include an internal configuration or operating characteristics not included in the first memory device 150A. Based on the first information about the internal configuration and operating characteristics of the first memory device 150A and the second information about the internal configuration and operating characteristics of the second memory device 150B, the memory controller 330 may identify the internal configuration and operating characteristics of the first memory device 150A and the second memory device 150B connected to the memory controller 330.

[0051] According to an embodiment, a plurality of first memory devices may be coupled to a memory controller 330. The memory controller 330 may include a hardware component optimized to control data input / output operations performed on the plurality of first memory devices. An example of such a hardware component is a memory control sequence generator (MCSG) 332 included in the memory controller 330. The memory control sequence generator 332 may include a device that generates a control signal or command for accessing the first memory device 150A or manipulating data obtained from or stored in the first memory device 150A. For example, the memory control sequence generator 332 may include a finite state machine or circuit module configured to generate a control signal or command sequence based on a set of input signals and a set of preset rules or algorithms. The hardware-based memory control sequence generator 332 may generate a control signal or command for controlling access to the first memory device 150A so as to achieve fast and reliable operations for data processing, data manipulation, and data storage.

[0052] The memory control sequence generator 332 may be implemented to ensure that data is correctly read from or written to the first memory device 150A. This implementation includes generating signals for activating a specific memory module or a specific memory chip in the first memory device 150A, selecting appropriate address or data lines, and verifying whether synchronization signals are sent to the first memory device 150A at the correct or allowed timing. In addition, the memory control sequence generator 332 may perform memory management tasks such as allocating available memory space for storing new data, releasing allocated memory space that is no longer needed, and checking for errors or defects in the memory space in the first memory device 150A. In order to generate at least one suitable control signal, the memory control sequence generator 332 may be designed taking into account various factors such as, for example, the type of the first memory device 150A, the access pattern of the application or system, the bandwidth requirements of the memory system, and any performance constraints or limitations.

[0053] For example, the memory control sequence generator 332 is designed based on first information about the internal configuration or operating characteristics of the first memory device 150A. However, the memory system may include a second memory device 150B having better data input / output performance than the first memory device 150A to provide better memory system performance. In this case, the memory control sequence generator 332 should identify and consider various factors, such as the type of the second memory device 150B, the access mode of the application or system, the bandwidth requirements of the memory system, and any performance constraints or limitations. Therefore, the memory control sequence generator 332 needs to be redesigned. However, this approach may require the design and production of a memory control sequence generator specifically for each of the various types of memory devices, which is inefficient and delays the development and production of the memory system, and increases the manufacturing cost of the memory system, thereby reducing the marketability of the memory system.

[0054] When the memory control sequence generator 332 designed to generate at least one signal or command based on the first information about the internal configuration or operating characteristics of the first memory device 150A is coupled to the second memory device 150B, the memory controller 330 may not be able to fully utilize the internal configuration or operating characteristics of the second memory device 150B to provide better performance. Therefore, the memory controller 330 may further include a core processor 334 coupled to the memory control sequence generator 332.

[0055] The core processor 334 in the memory controller 330 may include a processing unit that generally performs a specific function associated with access or management of the flash memory system. For example, the memory controller 330 may include multiple core processors. Each of the multiple core processors 334 may be implemented as a dedicated hardware component optimized for a specific task such as data transfer, error correction, or wear leveling. For example, the data transfer core processor may manage data transfer between the host system and the flash memory, and utilize the flash memory chip to handle tasks such as data caching, input / output data buffering, and data flow management. The error correction core processor is a component for detecting and correcting errors in data read from the flash memory, and is referred to as a circuit that uses an error correction code (ECC) or a cyclic redundancy check to ensure data integrity and prevent data loss. In addition, the wear leveling core processor can manage the wear of the first memory device 150 or the second memory device 150B by evenly distributing data writes or programming to the available or usable storage space in the first memory device 150A or the second memory device 150B, so that the service life of the first memory device 150A or the second memory device 150B can become longer. The power management core processor is a component for managing the power consumption of the memory controller 330, the first memory device 150A, or the second memory device 150B, which optimizes power usage and prolongs the service life of the battery. To this end, techniques such as power gating, clock gating, or dynamic voltage scaling can be used. The memory controller 330 can support stable and efficient operations through multiple core processors. As described above, the memory controller 330 can achieve high performance, low power consumption, and high stability by implementing hardware components dedicated to specific tasks performed in the memory system.

[0056] Figure 1The core processor 334 described in the foregoing may be designed to generate a command for utilizing the second information about the internal configuration or operating characteristics of the second memory device 150B, and analyze and process a response corresponding to the generated command. Since the memory control sequence generator 332 is designed based on the first information about the internal configuration or operating characteristics of the first memory device 150A, the memory control sequence generator 332 may be used for the overlapping portion between the second information and the first information. The memory control sequence generator 332 may generate a command and analyze a response associated with some information items of the second information included in the first information. However, since other information items of the second information not included in the first information (e.g., some information in the second information) are not considered during the design or manufacturing process of the memory control sequence generator 332, the core processor 334 and the firmware operating the core processor 334 may be used to generate a command about the other information items of the second information not included in the first information, and analyze or process a response corresponding to the command. When the memory control sequence generator 332 transmits the specific function (or target function address) to the core processor 334, the core processor 334 in conjunction with the firmware may generate a signal or command corresponding to the operation associated with the specific function (or target function address) and transmit the signal or command to the memory control sequence generator 332 (Done). Figures 2 to 5 The detailed configuration and operation of the memory control sequence generator 332 and the core processor 334 in the memory controller 330 are described. Figure 6 and Figure 7 , a data processing system 100 and a memory system 110 to which a memory controller 330 including a memory control sequence generator 332 and a core processor 334 is applied will be described. Figure 8 and Fig. 9 The read operation and the write operation in the memory system 110 to which the memory controller 330 including the memory control sequence generator 332 and the core processor 334 is applied are described. Fig.10 , an operating method of the memory system 110 will be described.

[0057] Figure 2 FIG. 2 shows a flash memory interface layer according to an embodiment of the present disclosure. According to an embodiment, Figure 2 The flash interface layer (FIL) shown in FIG. Figure 6 Memory interface (I / F) 142 or Figure 7 The flash interface layer (ie, FIL) 260 in FIG.

[0058] The Flash Interface Layer (FIL) can be designed to perform Figure 1The memory controller 330 communicates data with the first memory device 150A or the second memory device 150B. Figure 2 The flash interface layer (FIL) is shown divided into multiple layers (or sub-layers).

[0059] Each layer (or each sub-layer) may include a processor or logic that analyzes (or resolves) commands received from an upper layer and constructs (or establishes) commands applicable to a lower layer. The command (FIL CMD) constructed in the flash interface layer (FIL) may be transmitted to the flash interface command layer (FIL CMD layer) as the lower layer of the flash interface layer (FIL). The flash interface command layer (FILCMD layer) may analyze the command (FIL CMD) constructed in the flash interface layer (FIL) (upper layer CMD parsing) and generate one or more flash control transfer commands (FCT IP CMD), which are a lower layer command (lower layer CMD construction). When multiple flash control transfer commands (first FCT IP CMD, second FCT IP CMD) generated in the flash interface command layer (FIL CMD layer) are transmitted to the IP command layer (IP CMD layer), the IP command layer (IP CMD layer) may analyze multiple flash control transfer commands (first IP CMD parsing, second IP CMD parsing) to generate at least one micro command (i.e., Micro CMD gen). The micro command layer (Micro CMD layer) may transmit at least one micro command (Micro CMD) from the IP command layer (IP CMD layer) to the first memory device 150A or the second memory device 150B. As commands are transmitted from a higher layer to a lower layer, the number of sub-commands or signals may increase, and the complexity of the sub-commands may decrease.

[0060] According to an embodiment, a flash control transfer command (FCT IP CMD) is a command for controlling an operation performed by an IP core included in a flash interface layer (FIL) in a memory system. Here, the flash control transfer FCT may include data transfer between another layer and the IP core in the memory system. The flash control transfer command (FCT IP CMD) is used to control the operation of the IP core, such as reading or writing data, erasing data blocks, and performing other functions related to manipulating data stored in the memory system. The flash control transfer command (FCT IP CMD) is transmitted to the IP core by the IP command layer (IP CMD layer). The flash control transfer command (FCT IP CMD) can be understood as an upper layer command rather than a micro command, which can be converted into a specific command and signal used by the IP core. Using the flash control transfer command (FCT IP CMD) can achieve efficient and reliable communication between different components in a memory system including at least one memory chip, a controller, a bus, and an IP core. The protocol of the flash control transfer command (FCT IP CMD) can use a set of standardized commands or signals to ensure interoperability and compatibility between different components and systems, thereby making it easier to integrate the memory system into various devices, applications, and apparatuses.

[0061] Here, IP core refers to a pre-designed and pre-verified intellectual property unit or block that can be authorized and integrated into a larger system on chip (SoC) design. The IP core can be implemented as a reusable hardware component used in the design of a complex digital system, such as a microprocessor, a digital signal processor, or another integrated circuit. The IP core can be designed to perform specific functions, such as a memory controller, a graphics processor, a digital signal processing (DSP) functional circuit, or a communication interface. Examples of IP cores may include an ARM core used in a mobile device, an Ethernet interface used in a networking device, and a USB interface used in a consumer electronic device. When an IP core is embedded in a memory controller 330 to control the data input / output operation of the first memory device 150A or the second memory device 150B, the time and cost for developing the memory controller 330 can be reduced, and the reliability and quality of the product can be improved.

[0062] According to an embodiment, a micro command is a low level command for controlling data communication between a memory controller 330 and a first memory device 150A or a second memory device 150B during operation in a memory system. In some embodiments, a low level may have hardware, mechanical and physical meanings, while a high level may have software and logical meanings. A micro command may include a binary code transmitted between a memory controller 330 and a first memory device 150A or a second memory device 150B through a dedicated interface such as a channel, a data line, etc. One or more micro commands are used in a flash memory system to perform various functions, including reading and writing data, erasing data blocks, and performing other tasks related to manipulating data stored in a first memory device 150A or a second memory device 150B. A micro command may be executed in a preset manner by a memory controller 330, a first memory device 150A, or a second memory device 150B. A micro command protocol uses a set of standardized commands or signals to ensure interoperability and compatibility between different components and systems, enabling memory systems to be more easily integrated into various devices, applications, and devices.

[0063] Reference Figure 2 The flash interface layer (FIL), the flash interface command layer (FIL CMD layer), the IP command layer (IP CMD layer), and the micro command layer (Micro CMD layer) configured in the memory controller 330 may be components that participate in managing or controlling operations on the first memory device 150A or the second memory device 150B. These layers may be designed to operate in coordination to efficiently and reliably store / read data in / from the first memory device 150A or the second memory device 150B.

[0064] The Flash Interface Layer (FIL) can be used to perform and control data communications with physical hardware included in the memory system, which includes flash memory chips and related hardware components such as controllers or buses. The Flash Interface Layer (FIL) can transfer data from higher-level software components (e.g., Figure 7 The flash translation layer (FTL) 240 in the memory converts the request transmitted by the flash translation layer 240 into a specific command or signal for the first memory device 150A or the second memory device 150B to read or write data.

[0065] The flash interface command layer (FIL CMD layer) may convert low-level commands and requests input from the micro-command layer or the IP command layer into specific commands or signals that may be used by the flash interface layer (FIL) to interact with another physical hardware. In addition, the flash interface command layer may convert at least one high-level command into at least one low-level command optimized for the physical characteristics of the first memory device 150A or the second memory device 150B and the associated hardware to minimize data errors of the first memory device 150 or the second memory device 150B and reduce losses, so as to improve the overall performance of the memory system. According to an embodiment, the flash interface command layer (FIL CMD layer) may be further configured to perform additional functions (e.g., error detection and correction, data encryption or compression, memory management or optimization).

[0066] The IP command layer (IP CMD layer) is a component related to an intellectual property (IP) core processor that performs specific functions used in a memory system. The IP command layer can convert requests transmitted from the flash interface command layer (FIL CMD layer) into specific commands or signals required by the IP core processor, so that the IP core processor performs operations according to the specific commands or signals. The IP command layer can interact with the flash interface command layer (FIL CMD layer) and the micro command layer (Micro CMD layer) to enable the IP core processor to access and manipulate data stored in the first memory device 150A or the second memory device 150B as needed.

[0067] The micro command layer (Micro CMD layer) is included in the memory controller 330 connected to the first memory device 150A or the second memory device 150B. The micro command layer (Micro CMD layer) may be the lowest layer of the memory controller 330, which may control or manage the overall operation performed on the first memory device 150A or the second memory device 150B. The micro command layer may interact with the IP command layer to transmit a command or signal transmitted from the IP core processor to the first memory device 150A or the second memory device 150B, and pass data, responses, etc. received from the first memory device 150A or the second memory device 150B to the IP command layer (IP CMD layer).

[0068] The flash interface layer (FIL), the flash interface command layer (FIL CMD layer), the IP command layer (IP CMD layer) and the micro command layer (Micro CMD layer) can cooperate with each other to control or manage the operations performed in the first memory device 150A or the second memory device 150A. For example, the micro command layer (Micro CMD layer) can provide low-level communication with the physical hardware of the memory system, and the flash interface layer (FIL) can control the operations performed in the first memory device 150A or the second memory device 150B. According to an embodiment, the complex or complicated operations performed by the memory controller 330 are divided into multiple stages or parts. In another embodiment, the complex or complicated operations can be divided into multiple unit operations with reduced complexity, and the multiple unit operations can be assigned to each of the multiple sub-layers. Therefore, the memory controller 330 can improve the overall performance. In addition, the above-mentioned multi-layer configuration can ensure that the memory controller 330 efficiently and stably handles multiple data input / output operations performed simultaneously or in parallel in multiple memory chips included in the first memory device 150A or the second memory device 150B.

[0069] Figure 3 A memory system according to an embodiment of the present disclosure is shown.

[0070] Reference Figure 3 , a memory system may include a memory device (eg, a flash memory controller) and a memory controller (eg, a flash memory).

[0071] According to an embodiment, the memory device may include a second memory device 150B as a flash memory, and the memory controller may include a flash memory controller. The flash memory controller may be implemented as a system on chip (SoC). SoC is an integrated circuit that integrates all components of a computer or other electronic system into a single chip. The memory system may provide an integrated storage solution by a memory controller implemented as a system on chip (SoC). SoC may include several main components, including a processor, a memory, an input / output interface, and a controller. In addition, the system on chip (SoC) may include a dedicated hardware accelerator configured or designed to perform specific tasks such as encryption, compression, and deduplication. SoC may integrate multiple components into a single chip to provide higher performance and efficiency while reducing the complexity and cost of the memory system, improving integration, and operating in a low-power environment.

[0072] According to an embodiment, according to a design method, a memory system may be divided into two types: a hardware fixed domain (HW FixedDomain) and a firmware modifiable domain (FW Modifiable Domain). The hardware fixed domain may refer to a design method in which the functions and operations of the memory system are set, scheduled, controlled or executed by at least one hardware component. With this design method, the hardware components are almost immutable, and therefore cannot be modified or updated after the memory system including the hardware components is manufactured. Examples belonging to the hardware fixed domain may include the second memory device 150B and the memory device 150B included in the memory device 150B. Figure 1 and Figure 3 Memory control sequence generator 332 in memory controller 330 of the memory system shown. The firmware modifiable domain may refer to a design approach in which the functions and operations of a memory system are defined or scheduled by software (e.g., firmware) that can be updated or modified after the memory system is manufactured. In this design approach, hardware components can be designed to be flexible and adaptable to changes in software. For example, a core processor 334 (or microprocessor) may be driven or operated by software rather than by a specially designed hardware component. The core processor 334 (or microprocessor) may be driven by firmware 336. Firmware 336 is stored in non-volatile memory and may be updated by a user or the memory system itself.

[0073] Reference Figures 1 to 3 , the memory control sequence generator 332 may belong to the hardware fixed domain. The memory control sequence generator 332 is designed to correspond to the first memory device 150A and is included in the memory controller 330. In addition to the first memory device 150A, the second memory device 150B may also be connected to the memory controller 330. Since the memory controller 330 may be designed to control and manage the overall operation of the first memory device 150A and the second memory device 150B, the memory controller 330 may include a core processor 334 and firmware 336 belonging to the firmware modifiable domain. In addition, the memory controller 330 may include a core interface configured to enable the memory control sequence generator 332, the core processor 334, and the firmware 336 to cooperate with each other.

[0074] The kernel interface may be used to facilitate communication and coordination between the memory control sequence generator 332 and the kernel processor 334. The kernel interface may be designed so that the memory control sequence generator 332 can send commands or signals to the kernel processor 334 or firmware 336. The kernel processor 334 or firmware 336 may perform appropriate tasks or respond to the commands or signals by sending data. The kernel interface may take various forms based on the configuration or components of the memory system. According to an embodiment, a message passing system or at least one queue 338 (such as Figure 8 and Fig. 9 shown).

[0075] According to an embodiment, the kernel interface may be configured to provide an abstraction level that allows the kernel processor 334 or the firmware 336 to access hardware components without having to process low-level details of the memory control sequence generator 332. For example, when the memory control sequence generator 332 may transfer authority to the kernel processor 334, the kernel interface may provide a specific function number (target function number) in response to an operation state in which the authority is transferred to the kernel processor 334 or the firmware 336. The kernel processor 334 or the firmware 336 may generate a specific command or a specific address (completion / return address) or output the specific command or the specific address to the memory control sequence generator 332 after performing an operation or logic calculation associated with the specific command or the specific function number (target function number). The memory control sequence generator 332 may terminate the handover after receiving the specific command or the specific address (completion / return address) to perform an operation corresponding to the specific command or the specific address input from the kernel processor 334.

[0076] If the memory control sequence generator 332 is designed to control and manage the operation of the first memory device 150A, since the memory control sequence generator 332 is a hardware component that cannot be modified or changed after manufacturing, the memory control sequence generator 332 may have difficulty in having scalability or compatibility with the second memory device 150B developed after the first memory device 150A. Therefore, when the memory controller 330 including the memory control sequence generator 332 is connected to the second memory device 150B, unlike the first memory device 150A, improved performance of the second memory device 150B may not be achieved. For example, efficient control and management based on the characteristics or internal configuration of the second memory device 150B may be difficult. Referring to Figure 3 , the memory control sequence generator 332 can be designed to transfer the authority of the part that cannot be resolved by itself to the core processor 334. In this regard, reference will be made to Figure 4 and Figure 5 The configuration of the memory control sequencer 332 is described in detail.

[0077] Figure 4 A memory control sequence generator 332 is shown according to an embodiment of the present disclosure.

[0078] Reference Figure 4, the memory control sequence generator 332 may include a command (CMD) sequencer 410 and a plurality of status registers 420. The plurality of status registers 420 may include a command (CMD) status register 422, a data status register 424, an address (ADDR) status register 426, a transfer status register 428, etc. The command sequencer 410 may include a finite state machine (FSM) 412 and at least one task queue 414.

[0079] The plurality of status registers 420 may store commands, data or information sent from the command sequencer 410, which are to be sent to the first memory device 150A or the second memory device 150B through the at least one task queue 414. Optionally, the plurality of status registers 420 may record the status based on the response or data received from the first memory device 150A or the second memory device 150B. For example, detailed tasks such as read operations, write operations and erase operations as data input / output operations performed on the first memory device 150A or the second memory device 150B may be sequentially executed. The detailed tasks may be determined and executed based on the internal configuration or operating characteristics of the first memory device 150A or the second memory device 150B. The progress of the detailed tasks may be determined according to whether a command is passed, whether an address is passed, or whether data is sent or received. The plurality of status registers 420 may store the status sent and received between the memory controller 330 and the first memory device 150A or the second memory device 150B, such as commands, addresses, data, status information and responses. Based on the information stored in the plurality of status registers 420 , the command sequencer 410 may continue or check a preset command sequence or control state transition in the finite state machine 412 .

[0080] The command sequencer 410 may include a finite state machine (FSM) 412 related to controlling detailed tasks such as data input / output operations (e.g., read operations, write operations, and erase operations). The command sequencer 410 may sequentially generate commands based on the finite state machine 412. The generated commands may be stored in a task queue 414. The values ​​of the plurality of status registers 420 may be updated based on information sent and received between the task queue 414 and the first memory device 150A or the second memory device 150B. When at least one value of the plurality of status registers 420 is updated, the command sequencer 410 may switch to or move to the next step in response to the finite state machine 412. This will be referred to below. Figure 5 Finite state machine 412 is described.

[0081] Figure 5 A finite state machine 412 included in the memory control sequence generator 332 is shown according to an embodiment of the present disclosure.

[0082] Reference Figure 5 , the finite state machine 412 may include a sequence tracking state 460, an idle state 462, a command state 464, an address state 466, a data state 468, and a handover state 470. When a request is detected in the idle state 462, the command sequencer 410 may identify the type of operation to be performed and load the values ​​associated with the operation stored in the plurality of state registers 420. The values ​​stored in the plurality of state registers 420 may be used as a factor in determining the current step of the sequence of operations run by the command sequencer 410. The command sequencer 410 may make a transition from the idle state 462 to the sequence tracking state 460. In the sequence tracking state 460, the command sequencer 410 may determine the next state according to the current step of the sequence of operations. In the sequence tracking state 460, the command sequencer 410 may sequentially generate at least one command or signal according to the command sequence. The current state may be converted to another state for performing an operation or task related to a command, address, data, etc. based on at least one command or signal.

[0083] For example, in the command state 464, a command or signal may be transmitted to the first memory device 150A or the second memory device 150B. When the command state 464 ends or is completed, the command sequencer 410 may transition to the sequence tracking state 460. Information about the command value may be present in the command state register 422. In the address state 466, an address may be transmitted to the first memory device 150A or the second memory device 150B. When the address transmission ends or is completed, the command sequencer 410 may transition to the sequence tracking state 460. In the data state 468, data may be transmitted from the memory controller 330 to the first memory device 150A or the second memory device 150B. When the data transmission ends or is completed, the command sequencer 410 may transition to the sequence tracking state 460. When data is received from the first memory device 150A or the second memory device 150B, the command sequencer 410 may transition to the data state 468. After the command sequencer 410 transmits a command, an address, or data to the first memory device 150A or the second memory device 150B through state transition, the command sequencer 410 may release or delete corresponding information. When a command sequence in a specific unit is transmitted to the command sequencer 410, the command sequencer 410 may release or delete information about the specific unit after an operation corresponding to the specific unit in the sequence tracking state 460 is completed.

[0084] According to an embodiment, the command sequencer 410 may send a command or signal to the first memory device 150A or the second memory device 150B, or may receive data or information from the first memory device 150 or the second memory device 150B. Accordingly, the state transition may be repeatedly performed. Such state transition may be backed up or maintained for a preset time period or a preset level.

[0085] According to an embodiment, the command sequencer 410 may transition the state to the handover state 470 for a specific command in the operation sequence. The handover state 470 may be determined according to the type of memory device connected to the memory controller 330 including the memory control sequence generator 332 and communicating with the memory controller 330. For example, although the memory control sequence generator 332 is designed to generate a command sequence related to a data input / output operation performed on the first memory device 150A, since the memory control sequence generator 332 is not designed to generate a command sequence for at least some components or operating characteristics, the memory control sequence generator 332 may not be able to fully support the operation performed on the second memory device 150B. Therefore, when the memory control sequence generator 332 recognizes that the second memory device 150B is connected to the memory controller 330, the command sequencer 410 may transition to the handover state 470 to generate commands or signals associated with some components or operating characteristics of the second memory device 150B. When the command sequencer 410 enters the handover state 470, it may be possible to Figure 3 The core interface in transmits the target function number from the core processor 334 or the firmware 336. Upon receiving a command, address or code corresponding to a specific target function number from the core processor 334 or the firmware 336, the command sequencer 410 may return to the sequence tracking state 460 to execute the corresponding command, address or code.

[0086] Figure 6 A data processing system 100 according to an embodiment of the present disclosure is shown.

[0087] Reference Figure 6 , the data processing system 100 may include a host 102 coupled or connected to a memory system (eg, memory system 110). For example, the host 102 and the memory system 110 may be coupled to each other via a data bus, a host cable, etc. to perform data communication.

[0088] The memory system 110 may include a memory device 150 and a controller 130. The memory device 150 and the controller 130 in the memory system 110 may be considered as physically separate components or elements from each other. The memory device 150 and the controller 130 may be connected via at least one data path. For example, the data path may include a channel and / or a way.

[0089] According to an embodiment, the memory device 150 and the controller 130 may be components or elements divided by function. Further, according to an embodiment, the memory device 150 and the controller 130 may be implemented using a single chip or multiple chips.

[0090] The controller 130 may perform a data input / output operation (such as a read operation, a program operation, an erase operation, etc.) in response to a request or a command input from an external device such as the host 102. For example, when the controller 130 performs a read operation in response to a read request input from an external device, data stored in a plurality of nonvolatile memory cells included in the memory device 150 is transferred to the controller 130. Further, the controller 130 may independently perform an operation regardless of a request or a command input from the host 102. With respect to an operation state of the memory device 150, the controller 130 may perform operations such as garbage collection (GC), wear leveling (WL), bad block management (BBM) for checking whether a storage block is a bad block, and processing the bad block.

[0091] The memory device 150 may include a plurality of memory blocks 152, 154, 156. The memory blocks 152, 154, 156 may be understood as a group of non-volatile memory cells whose data is removed together through a single erase operation. Although not shown, the memory blocks 152, 154, 156 may include pages, which are a group of non-volatile memory cells that store data together during a single programming operation or output data together during a single read operation. For example, one memory block 152, 154, 156 may include a plurality of pages. The memory device 150 may include a voltage supply circuit 170 capable of supplying at least one voltage to the memory blocks 152, 154, 156. The voltage supply circuit 170 may supply a read voltage Vrd, a program voltage Vprog, a pass voltage Vpass, or an erase voltage Vers to the non-volatile memory cells included in the memory blocks 152, 154, 156.

[0092] The host 102 that interacts with the memory system 110 or the data processing system 100 including the memory system 110 and the host 102 is a mobile electronic device (e.g., a vehicle), a portable electronic device (e.g., a mobile phone, an MP3 player, a laptop computer, etc.), and a non-portable electronic device (e.g., a desktop computer, a game console, a television, a projector, etc.). The host 102 may provide interaction between the host 102 and a user who uses the data processing system 100 or the memory system 110 through at least one operating system (OS). The host 102 transmits a plurality of commands corresponding to the user's request to the memory system 110, and the memory system 110 performs data input / output operations corresponding to the plurality of commands (e.g., operations corresponding to the user's request).

[0093] The memory system 110 may be implemented with any of various types of storage devices. Non-limiting examples of storage devices include solid state drives (SSDs), multimedia cards (MMCs), embedded MMCs (eMMCs), reduced-size MMCs (RS-MMCs), micro MMCs, secure digital (SD) cards, mini SDs, micro SDs, universal serial bus (USB) storage devices, universal flash storage (UFS) devices, compact flash (CF) cards, smart media (SM) cards, memory sticks, and the like. According to an embodiment, the controller 130 may include a host interface (I / F) 132, a processor 134, a power management unit (PMU) 140, a memory interface (I / F) 142, and a memory 144. Depending on the structure, function, operating performance, and the like of the memory system 110, components may be added to or omitted from the controller 130.

[0094] The host 102 and the memory system 110 may each include a controller or interface for sending and receiving signals, data, etc. according to one or more predetermined protocols. For example, the host interface 132 in the memory system 110 may include a device or circuit capable of sending or receiving signals, data, etc. to or from the host 102. According to an embodiment, the host interface 132 is a layer for exchanging data with the host 102 and is implemented or driven by firmware called a host interface layer (HIL). According to an embodiment, the host interface 132 may include a command queue.

[0095] The host 102 and the memory system 110 may use a set of predetermined rules or procedures for data communication or a preset interface to send and receive data between the host 102 and the memory system 110. Examples of a set of rules or procedures for data communication standards or interfaces for sending and receiving data supported by the host 102 and the memory system 110 include Universal Serial Bus (USB), Multimedia Card (MMC), Parallel Advanced Technology Attachment (PATA), Small Computer System Interface (SCSI), Enhanced Small Disk Interface (ESDI), Integrated Drive Electronics (IDE), Peripheral Component Interconnect Express (PCIe or PCI-e), Serial Attached SCSI (SAS), Serial Advanced Technology Attachment (SATA), Mobile Industry Processor Interface (MIPI), etc. According to an embodiment, the host 102 and the memory system 110 may be connected to each other via a Universal Serial Bus (USB). Universal Serial Bus (USB) is a highly scalable, hot-swappable, plug-and-play serial interface that ensures cost-effective standard connections with peripheral devices such as keyboards, mice, joysticks, printers, scanners, storage devices, modems, video conferencing cameras, etc.

[0096] The memory system 110 may support high-speed non-volatile memory (NVMe). NVMe is an interface based at least on the high-speed peripheral component interconnect (PCIe), which is designed to enhance the performance and design flexibility of the host 102, server, computing device, etc. equipped with the memory system 110. PCIe can use a slot or a specific cable to connect a computing device (e.g., host 102) and a peripheral device (e.g., memory system 110). For example, PCIe can use multiple pins (e.g., 18 pins, 32 pins, 49 pins, or 82 pins) and at least one wiring (e.g., x1, x4, x8, or x16) to achieve high-speed data communication of hundreds of MB per second (e.g., 250 MB / s, 500 MB / s, 984.6250 MB / s, or 1969 MB / s). According to an embodiment, the PCIe scheme can achieve a bandwidth of tens to hundreds of gigabits per second.

[0097] A power management unit (PMU) 140 may control power supplied to the controller 130. The PMU 140 may monitor power supplied to the memory system 110, for example, a voltage supplied to the controller 130, and supply power to components included in the controller 130. The PMU 140 may not only detect power on or off, but may also generate a trigger signal when power supplied to the memory system 110 is unstable, so that the memory system 110 can urgently back up the current state. According to an embodiment, the PMU 140 may include a device or component (for example, an auxiliary power supply) capable of accumulating power that can be used in an emergency.

[0098] The memory interface 142 may be used as an interface for handling commands and data transmitted between the controller 130 and the memory device 150, so as to allow the controller 130 to control the memory device 150 in response to a command or request input from the host 102. In the case where the memory device 150 includes a NAND flash memory, the memory interface 142 includes a NAND flash controller (NFC). According to an embodiment, the memory interface 142 may be implemented or driven by firmware for exchanging data with the memory device 150 and referred to as a flash interface layer (FIL). Further, according to an embodiment, the memory interface 142 may support an open NAND flash interface (ONFi), a switching mode, etc., for data input / output with the memory device 150. For example, ONFi may use a data path (e.g., a channel, a pass, etc.) including at least one signal line capable of supporting bidirectional transmission and reception in units of 8-bit or 16-bit data. Data communication between the controller 130 and the memory device 150 may be achieved through at least one interface regarding an asynchronous single data rate (SDR), a synchronous double data rate (DDR), a switching double data rate (DDR), etc.

[0099] The memory 144 may be used as a working memory of the memory system 110 or the controller 130, while temporarily storing transactional data for operations performed in the memory system 110 and the controller 130. According to an embodiment, the memory 144 may be implemented using a volatile memory. For example, the memory 144 may be implemented using a static random access memory (SRAM), a dynamic random access memory (DRAM), or both. The memory 144 may be provided within the controller 130, but the embodiment is not limited thereto. The memory 144 may be located inside or outside the controller 130. For example, the memory 144 may be implemented by an external volatile memory having a memory interface for transmitting data and / or signals between the memory 144 and the controller 130.

[0100] The processor 134 may control the overall operation of the memory system 110. For example, the processor 134 may control a program operation or a read operation of the memory device 150 in response to a write request or a read request input from the host 102. According to an embodiment, the processor 134 may execute firmware to control the program operation or the read operation in the memory system 110. Here, the firmware may refer to a flash translation layer (FTL). Figure 3 and Figure 4 An example of FTL is described in detail. According to an embodiment, the processor 134 may be implemented using a microprocessor, a central processing unit (CPU), etc. According to an embodiment, the memory system 110 may be implemented using at least one multi-core processor, a co-processor, etc.

[0101] The plurality of memory blocks 152, 154, 156 included in the memory device 150 may be classified according to the number of bits that can be stored in each memory cell or that can be represented by each memory cell. The memory blocks included in the memory device 150 may include a single-level cell (SLC) memory block, a double-level cell (DLC) memory block, a triple-level cell (TLC) memory block, and a quad-level cell (QLC) memory block, or a multi-level cell (MLC) memory block including a plurality of pages implemented by memory cells, wherein each memory cell is capable of storing 5 or more bits of data in one memory cell.

[0102] According to an embodiment, the controller 130 may use the MLC memory block included in the memory device 150 as an SLC memory block that stores one bit of data in each memory cell. The data input / output speed of the multi-layer cell (MLC) memory block may be slower than that of the SLC memory block. That is, when the MLC memory block is used as the SLC memory block, the margin for a read operation or a programming operation may be reduced. For example, when the MLC memory block is used as the SLC memory block, the controller 130 may perform data input / output operations at a higher speed. Since the SLC buffer or write enhancement buffer for writing data can provide a higher data input / output speed to improve the performance of the memory system 110, the controller 130 may use the MLC memory block as an SLC buffer to temporarily store data.

[0103] According to an embodiment, the controller 130 may program data into the MLC multiple times without performing an erase operation on a specific MLC storage block included in the memory device 150. In general, non-volatile memory cells do not support data rewriting. However, the controller 130 may program 1-bit data into the MLC multiple times using the feature that the MLC can store multi-bit data. For the MLC rewrite operation, when programming 1-bit data in the MLC, the controller 130 may store the number of programming times as separate operation information. According to an embodiment, before programming other 1-bit data into the same MLC each having stored 1-bit data, an operation for uniformly equalizing the threshold voltage of the MLC may be performed.

[0104] According to an embodiment, the memory device 150 is implemented as a non-volatile memory such as a flash memory, for example, a read-only memory (ROM), a mask ROM (MROM), a programmable ROM (PROM), an erasable ROM (EPROM), an electrically erasable ROM (EEPROM), a magnetic random access memory (MRAM), a NAND flash memory, a NOR flash memory, etc. In another embodiment, the memory device 150 may be implemented by at least one of the following: a phase change random access memory (PCRAM), a resistive random access memory (ReRAM), a ferroelectric random access memory (FRAM), a spin transfer torque magnetic random access memory (STT-MRAM), etc.

[0105] Figure 7 A memory system 110 is shown according to an embodiment of the present disclosure.

[0106] Reference Figure 7 , the controller 130 in the memory system 110 operates with the host 102 and the memory device 150. As shown, the controller 130 may have a hierarchical structure including a host interface layer (HIL) 220, a flash translation layer (FTL) 240, and a flash interface layer (FIL) 260.

[0107] The memory device 150 may include a plurality of memory chips 252 connected to the controller 130 through a plurality of channels CH0, CH1, ..., CHn and paths W0, ..., W_k. The memory chip 252 may include a plurality of memory planes or a plurality of memory dies. According to an embodiment, each memory plane may be considered as a logical partition or a physical partition including at least one storage block, a driving circuit capable of controlling an array including a plurality of non-volatile memory cells, and a buffer capable of temporarily storing data input to or output from the non-volatile memory cells. Each memory plane or each memory die may support an interleaved mode for performing multiple data input / output operations in parallel or simultaneously. According to an embodiment, the storage blocks in each memory plane or each memory die included in the memory device 150 may be grouped into super storage blocks to input / output multiple data entries. The memory system 110 may be changed based on the operating performance of the memory system 110. Figure 7 The internal configuration of the memory device 150 is shown in FIG. The embodiments of the present disclosure may not be limited to Figure 7 The internal configuration is shown in FIG.

[0108] In an embodiment, host interface layer 220, flash translation layer 240, and flash interface layer 260 are arranged in Figure 7The host interface layer 220, the flash translation layer 240, and the flash interface layer 260 may be implemented in various forms according to the operating performance of the memory system 110. According to an embodiment, the host interface layer 220 may include Figure 6 The host interface 132 in the embodiment of the present invention, and the flash memory interface layer 260 may include Figure 6 In the memory interface 142.

[0109] The buffer manager 280 in the controller 130 can control the input / output of data or operation information in conjunction with the host interface layer 220, the flash translation layer 240, and the flash interface layer 260. To this end, the buffer manager 280 can be configured to: Figure 6 The controller 130 may set or establish various buffers, caches, or queues in the memory 144 in the memory system 110, and control data input / output of the buffers, caches, or queues, or control data transmission between the buffers, caches, or queues in response to requests or commands generated by the host interface layer 220, the flash translation layer 240, and the flash interface layer 260. For example, the controller 130 may temporarily store read data provided from the memory device 150 in response to a request from the host 102 before providing the read data to the host 102. In addition, the controller 130 may temporarily store write data provided from the host 102 in the memory 144 before storing the write data in the memory device 150. When controlling operations such as a read operation, a program operation, and an erase operation performed in the memory device 150, the read data or write data transmitted or generated between the controller 130 and the memory device 150 in the memory system 110 can be stored in the buffers, queues, etc. established in the memory 144 by the buffer manager 280 and managed in the buffers, queues, etc. In addition to reading data or writing data, the buffer manager 280 may also store signals or information (e.g., mapping data, read commands, program commands, etc. for performing operations such as programming and reading data between the host 102 and the memory device 150) in a buffer, cache, queue, etc. established in the memory 144. The buffer manager 280 may set up or manage a command queue, a program memory, a data memory, a write buffer / cache, a read buffer / cache, a data buffer / cache, a mapping buffer / cache, etc.

[0110] The host interface layer 220 may process commands, data, etc. received from the host 102. By way of example and not limitation, the host interface layer 220 may include a command queue manager 222 and an event queue manager 224. The command queue manager 222 may sequentially store commands, data, etc. received from the host 102 in a command queue, and output the commands, data, etc. to the event queue manager 224, for example, in the order in which the commands, data, etc. are stored in the command queue manager 222. The event queue manager 224 may sequentially transmit events for processing commands, data, etc. received from the command queue. According to an embodiment, the event queue manager 224 may classify, manage, or adjust commands, data, etc. received from the command queue. Further, according to an embodiment, the host interface layer 220 may include an encryption manager 226, which is configured to encrypt a response or output data to be sent to the host 102 or to decrypt an encrypted portion of a command or data received from the host 102.

[0111] A plurality of commands or data having the same characteristics may be received from the host 102. Alternatively, a plurality of commands and data having different characteristics may be transmitted to the memory system 110 after being mixed or jumbled by the host 102. For example, a plurality of commands for reading data (i.e., read commands) may be delivered to the memory system 110, or commands for reading data (i.e., read commands) and commands for programming / writing data (i.e., write commands) may be alternately transmitted to the memory system 110. The command queue manager 222 of the host interface layer 220 may sequentially store the commands, data, etc. received from the host 102 in the command queue. Thereafter, the host interface layer 220 may estimate or predict what type of internal operation the controller 130 will perform based on the characteristics of the commands, data, etc. received from the host 102. The host interface layer 220 may determine the processing order and priority based on the characteristics of the commands, data, etc. According to the characteristics of the command, data, etc. received from the host 102, the event queue manager 224 in the host interface layer 220 is configured to receive an event from the buffer manager 280, which should be processed or handled internally in the memory system 110 or the controller 130 according to the command, data, etc. input from the host 102. Then, the event queue manager 224 can transmit the event including the command, data, etc. to the flash translation layer (FTL) 240.

[0112] According to an embodiment, the flash translation layer (FTL) 240 may include a host request manager (HRM) 242, a mapping manager (MM) 244, a state manager 246, and a block manager (BM / BBM) 248. According to an embodiment, the flash translation layer (FTL) 240 may implement a multi-threading scheme to perform data input / output (I / O) operations. The FTL of the multi-threading scheme may be implemented by using a multi-core processor of a multi-thread included in the controller 130. For example, the host request manager (HRM) 242 may manage events transmitted from an event queue. The mapping manager (MM) 244 may process or control mapping data. The state manager 246 may perform operations such as garbage collection (GC) or wear leveling (WL) after checking the operating state of the memory device 150. The block manager 248 may run commands or instructions on blocks in the memory device 150.

[0113] The host request manager (HRM) 242 may use the mapping manager (MM) 244 and the block manager 248 to handle or process requests according to the read and program commands and events passed from the host interface layer 220. The host request manager (HRM) 242 may send a query request to the mapping manager (MM) 244 to determine the physical address corresponding to the logical address input along with the event. The host request manager (HRM) 242 may send a read request with the physical address to the flash interface layer 260 to process the read request, that is, to handle the event. In an embodiment, the host request manager (HRM) 242 may send a program request (or a write request) to the block manager 248 to program data to a specific blank page in the memory device 150 where no data is stored, and then a mapping update request corresponding to the program request may be transmitted to the mapping manager (MM) 244 to update the items related to the program data in the mapping information between the logical address and the physical address.

[0114] The block manager 248 may convert the program requests passed from the host request manager (HRM) 242, the mapping manager (MM) 244, and / or the state manager 246 into flash program requests for the memory device 150 in order to manage the flash blocks in the memory device 150. In order to maximize or enhance the programming or writing performance of the memory system 110, the block manager 248 may collect the program requests and send the flash program requests for multi-plane and one-shot programming operations to the flash interface layer 260. In an embodiment, the block manager 248 sends several flash program requests to the flash interface layer 260 to enhance or maximize the parallel processing of the multi-channel and multi-directional flash controller.

[0115] In an embodiment, the block manager 248 may manage the blocks in the memory device 150 according to the number of valid pages, select and erase blocks without valid pages when a free block is needed, and select blocks including the minimum number of valid pages when it is determined that garbage collection is to be performed. The state manager 246 may perform garbage collection to move valid data stored in the selected blocks to the free blocks and erase the data stored in the selected blocks so that the memory device 150 may have sufficient free blocks (i.e., free blocks without data).

[0116] When the block manager 248 provides information about the block to be erased to the state manager 246, the state manager 244 can check all flash memory pages of the block to be erased to determine whether each page of the block is valid. For example, to determine the validity of each page, the state manager 246 can identify the logical address recorded in the out-of-band (OOB) area of ​​each page. To determine whether each page is valid, the state manager 246 can compare the physical address of the page with the physical address mapped to the logical address obtained from the query request. The state manager 246 sends a programming request to the block manager 248 for each valid page. When the programming operation is completed, the mapping manager 244 can update the mapping table.

[0117] The mapping manager 244 may manage mapping data, such as a logical-physical mapping table. The mapping manager 244 may process various requests generated by the host request manager (HRM) 242 or the state manager 246, such as a query request, an update request, etc. The mapping manager 244 may store the entire mapping table in the memory device 150 (e.g., a flash / non-volatile memory) and cache mapping entries according to the storage capacity of the memory 144. When a mapping cache miss occurs when processing a query or update request, the mapping manager 244 may send a read request to the flash interface layer 260 to load the relevant mapping table stored in the memory device 150. When the number of dirty cache blocks in the mapping manager 244 exceeds a certain threshold, a program request may be sent to the block manager 246 to obtain a clean cache block and the dirty mapping table may be stored in the memory device 150.

[0118] When performing garbage collection, the state manager 246 copies the valid page to the free block, and the host request manager (HRM) 242 can program the latest version of the data for the same logical address of the page and issue an update request at the same time. When the state manager 246 requests a mapping update in a state where the copy of the valid page is not completed normally, the mapping manager 244 may not perform a mapping table update. This is because when the state manager 246 requests a mapping update, the mapping request is issued with the old physical information, and the valid page copy is completed later. When or only when the latest mapping table still points to the old physical address, the mapping manager 244 can perform a mapping update operation to ensure accuracy.

[0119] The flash interface layer 260 may exchange data, commands, status information, etc. with the plurality of memory chips 252 in the memory device 150 through a data communication method. According to an embodiment, the flash interface layer 260 may include a state check scheduler (SM / SC) 262 and a data path manager or controller (DPC) 264. The state check scheduler 262 may check and determine the operation state of the plurality of memory chips 252 connected to the controller 130, the operation state of the plurality of channels CH0, CH1, ..., CHn and the plurality of paths W0, ..., W_k, etc. The sending and receiving of data or commands may be scheduled in response to the operation state of the plurality of memory chips 252 and the plurality of channels CH0, CH1, ..., CHn. The data path manager 264 may control the sending and receiving of data, commands, etc. through the plurality of channels CH0, CH1, ..., CHn and the paths W0, ..., W_k based on the information transmitted from the state check scheduler 262. According to an embodiment, the data path manager 264 may include a plurality of transceivers, each transceiver corresponding to each of the plurality of channels CH0, CH1, ..., CHn. According to an embodiment, the status check schedule manager 262 and the data path manager 264 included in the flash memory interface layer 260 may be implemented as the memory control sequence generator 332, or be coupled with the memory control sequence generator 332.

[0120] According to an embodiment, the flash interface layer 260 may further include an ECC (Error Correction Code) circuit 266 configured to perform error checking and correction on data transmitted between the controller 130 and the memory device 150. The ECC circuit 266 may be implemented as a separate module, circuit, or firmware in the controller 130, but may also be implemented in each memory chip 252 included in the memory device 150 according to an embodiment. The ECC circuit 266 may include a program, circuit, module, system, or device for detecting and correcting error bits of data processed by the memory device 150.

[0121] In order to find and correct any errors in the data transmitted from the memory device 150, the ECC circuit 266 may include an error correction code (ECC) encoder and an ECC decoder. The ECC encoder may perform error correction encoding on the data to be programmed in the memory device 150 to generate encoded data with parity bits added, and store the encoded data in the memory device 150. When the controller 130 reads the data stored in the memory device 150, the ECC decoder may detect and correct the error bits contained in the data read from the memory device 150. For example, after performing error correction decoding on the data read from the memory device 150, the ECC circuit 266 may determine whether the error correction decoding is successful, and output an instruction signal based on the result of the error correction decoding, such as a correction success signal or a correction failure signal. The ECC circuit 266 may use the parity bits generated during the ECC encoding process for the data stored in the memory device 150 to correct the error bits of the read data entry. When the number of error bits is greater than or equal to the number of correctable error bits, the ECC circuit 266 may not correct the error bits, but may output a correction failure signal indicating that the correction of the error bits failed.

[0122] According to an embodiment, Figure 7 The ECC circuit 266 or Figure 6 The error correction circuit 138 may perform error correction operations based on coded modulation such as low-density parity check (LDPC) codes, Bose-Chaudhuri-Hocquenghem (BCH) codes, turbo codes, Reed-Solomon (RS) codes, convolutional codes, recursive systematic codes (RSC), trellis coded modulation (TCM), block coded modulation (BCM), etc. The ECC circuit 266 or error correction circuit 138 may include all circuits, modules, systems and / or devices that perform error correction operations based on at least one of the above codes.

[0123] According to an embodiment, each manager included in the host interface layer 220, the flash translation layer (FTL) 240, and the flash interface layer 260 may be implemented using a general-purpose processor, an accelerator, a dedicated processor, a co-processor, a multi-core processor, etc. According to an embodiment, the manager may be implemented using firmware that works with the processor.

[0124] Figure 8 1 shows a programming operation according to an embodiment of the present disclosure. In an embodiment, the programming operation may include programming the memory from the second memory device 150B. Figure 6 and Figure 7 According to an embodiment, the programming operation may include performing a programming operation such as by Figure 6 and Figure 7 The internal operations (or background operations) of garbage collection, wear leveling, and read recycling performed by the controller 130 in the program or move data. Figure 8 In the present invention, with respect to the programming operation, the operation or process after the request for programming data in the second memory device 150B is transferred to the memory control sequence generator (MCSG) 332 through the operation or process performed by the host interface layer (HIL) 220 or the flash translation layer (FTL) 240 will be described. In addition, the memory control sequence generator 332 is designed to perform the same as with respect to Figure 1 The controller 130 may further recognize, based on the first information, that the first memory device 150A does not have an internal component (e.g., a verification mechanism, a status register, etc.) that can be used to check status information about the performed operation. However, the controller 130 may recognize, based on the second information, that the second memory device 150B has the internal component (e.g., a verification mechanism, status information about the performed operation).

[0125] Reference Figure 8 , in response to a request to program data in the second memory device 150B, the memory control sequence generator 332 may transmit a program command (PGM CMD) to the second memory device (e.g., NAND) 150B. After transmitting the program command (PGM CMD) to the second memory device 150B, the memory control sequence generator 332 may transmit write data to the second memory device 150B (Data In). Then, the memory control sequence generator 332 may check whether the program command has been successfully transmitted to the second memory device 150B (Confirm CMD). In response to the program command PGM CMD, the second memory device 150B may program the data transmitted from the memory control sequence generator 332. In the above-mentioned first process ①, there may be no difference between the first memory device 150A and the second memory device 150B. However, after performing a programming operation in response to the program command PGM CMD in the first memory device 150A and the second memory device 150B, a difference may occur between the first memory device 150A and the second memory device 150B in the process of checking the execution result.

[0126] Since the second memory device 150B includes components (e.g., verification mechanisms, status registers, etc.) that can provide status information about operations performed in the second memory device 150B, the controller 130 can generate commands corresponding to these components. However, the memory control sequence generator 332 belonging to the hardware fixed domain (HW Fixed Domain) cannot generate commands for the corresponding components. Therefore, the memory control sequence generator 332 can transfer the authority for generating commands to the core processor 334. When the memory control sequence generator 332 enters the handover state 470, the core interface can transmit a request for generating a command for reading status information (status read new CMD generation request, Read New CMD GenRequest) to the core processor 334. For example, the request transmitted to the core processor 334 through the core interface can have a length of 32 bits, including a specific function number and an indicator for checking the validity of the request.

[0127] In response to the request input through the core interface, the core processor 334 may generate a command and transmit the command to the memory control sequence generator 332. The memory control sequence generator 332 may transmit the command to the second memory device 150B. For example, the response of the core processor 334 may have a length of 32 bits, including a command and an indicator indicating that the response to the request (status Read New CMD Gen Request) has ended or completed.

[0128] Reference Figure 8 , at least one queue 338 in the kernel interface may store one or more requests input through the kernel interface or responses of the kernel processor 334. The stored requests or responses may be sequentially transmitted to the memory control sequence generator 332 or the kernel processor 334. The memory control sequence generator 332 or the kernel processor 334 may sequentially receive and process the requests or responses stored in the at least one queue 338.

[0129] In an embodiment, the core processor 334 can operate in a low power environment and can be kept in an inactive state by clock gating before a request is transmitted through the core interface. Clock gating is a technique for reducing power consumption by selectively disabling a clock signal input to a specific circuit block in a digital circuit including a processor, which does not need to work within a specific time. Clock gating in a processor can be used to turn off the clock signal applied to a certain part of the processor when the part does not need to work. For clock gating of the core processor 334, when all or part of the core processor 334 is not in use, the clock signal can be selectively disabled. When the clock signal is in an inactive state, the operation of the core processor 334 can be stopped, thereby reducing power consumption. The clock gating circuit included in the core processor 334 can be implemented using logic gates such as AND, OR and NOT gates.

[0130] After the command sequencer 410 in the memory control sequence generator 332 enters the handover state 470 from the sequence tracking state 460 , the above-mentioned second process ② is executed and completed until the command sequencer 410 switches to the sequence tracking state 460 again.

[0131] The memory control sequence generator 332 may transmit the command generated by the core processor 334 to the second memory device 150B (Status Read CMD). The second memory device 150B may output status information indicating whether the programming operation is successfully completed in response to the command to the memory control sequence generator 332. The third process ③ may be expected by the second memory device 150B. However, the memory control sequence generator 332 designed to correspond to the first memory device 150A may perform the third process ③ together with the core processor 334.

[0132] Afterwards, since the memory control sequence generator 332 does not have a logic or circuit for checking the response (Status Read Result PGM Done) transmitted from the second memory device 150B, the response can be transmitted to the core processor 334. The core processor 334 in conjunction with the firmware can parse the corresponding response to determine whether the programming operation is successfully completed. Similar to the second process ②, the fourth process ④ can be executed after the command sequencer 410 in the memory control sequence generator 332 enters the handover state 470 from the sequence tracking state 460 until the command sequencer 410 switches to the sequence tracking state 460 again.

[0133] Through the above process, the memory controller 330 including the memory control sequence generator 332 and the core processor 334 can check whether the program operation corresponding to the program request in the second memory device 150B has been successfully completed. The memory controller 330 can effectively determine whether to perform a verification operation corresponding to the program operation or when to perform the verification operation.

[0134] Fig. 9 1 shows a read operation according to an embodiment of the present disclosure. In an embodiment, the read operation may include responding to Figure 6 and Figure 7 The read operation may include an operation for reading data stored in the second memory device 150B in order to execute the read command transmitted by the host 102 in the second memory device 150B. Figure 6 and Figure 7 Internal operations (or background operations) such as garbage collection, wear leveling, and read recycling performed by the controller 130 in the . Fig. 9 2 shows operations or processes after a request for programming data in the second memory device 150B is delivered to the memory control sequence generator 332 through operations or processes related to a read operation performed by the host interface layer (HIL) 220 or the flash translation layer (FTL) 240. In addition, the memory control sequence generator 332 is designed to perform operations related to Figure 1 The controller 130 may further recognize, based on the first information, that the first memory device 150A does not have an internal component (e.g., a verification mechanism, a status register, etc.) that can be used to check status information about the performed operation. However, the controller 130 may recognize, based on the second information, that the second memory device 150B has an internal component (e.g., a verification mechanism, status information about the performed operation).

[0135] Reference Fig. 9, a read request (Read CMD) for reading data stored in the second memory device 150B may be transmitted to the memory control sequence generator (MCSG) 332. Before transmitting the read request (Read CMD) to the second memory device 150B, the memory control sequence generator 332 may enter the handover state 470 so that the core processor 334 generates a command for checking the operation status in the second memory device 150B. When the memory control sequence generator 332 enters the handover state 470, the core interface may transmit a request (Status ReadNew CMD Generation Request) for generating a command for obtaining status information to the core processor 334. For example, the request transmitted to the core processor 334 through the core interface may have a length of 32 bits, including a specific function number and an indicator capable of checking the validity of the request.

[0136] and Figure 8 The programming commands described in the Fig. 9 The read operation corresponding to the read command described in has a longer operation margin. Therefore, in the case of a programming operation, even if a request for generating a command for obtaining the status information of the second memory device 150B is transmitted to the core processor 334 after the programming command is transmitted to the second memory device 150B, the core processor 334 may have enough time to generate the command. However, since Fig. 9 The read operation performed in the memory control sequence generator 332 is different from the program operation, so the memory control sequence generator 332 may transmit a request for generating a command for obtaining the status information of the second memory device 150B to the core processor 334 before transmitting the read request (ReadCMD) to the second memory device 150B. Fig. 9 As shown, the data communication method between the memory control sequence generator 332 and the core processor 334 through the core interface can be performed through the queue 338. After the command sequencer 410 in the memory control sequence generator 332 enters the handover state 470 from the sequence tracking state 460, the above-mentioned first process ① can be performed until the command sequencer 410 switches from the handover state 470 to the sequence tracking state 460.

[0137] The memory control sequence generator 332 may transmit a read request (Read CMD) to the second memory device 150B. In the second process ②, there may be no difference between the first memory device 150A and the second memory device 150B.

[0138] Afterwards, the memory control sequence generator 332 may transmit the command generated by the core processor 334 to the second memory device 150B (Status Read CMD). The second memory device 150B may output to the memory control sequence generator 332 status information indicating whether the read operation has been successfully completed in response to the read request. Since the memory control sequence generator 332 does not have logic or circuitry for checking or identifying the response (Status Read Result Read Done) transmitted from the second memory device 150B, the response may be transmitted to the core processor 334. The core processor 334 may parse the response to determine whether the read operation is successfully completed. The third process ③ may be expected by the second memory device 150B. However, the memory control sequence generator 332 designed for the first memory device 150A should be coupled with the core processor 334 to check the status information of the second memory device 150B. Similar to the second process ②, the third process ③ may be executed after the command sequencer 410 in the memory control sequence generator 332 enters the handover state 470 from the sequence tracking state 460 until the command sequencer 410 transitions from the handover state 470 to the sequence tracking state 470 .

[0139] The memory controller 330 including the memory control sequence generator 332 and the core processor 334 may determine whether the read operation corresponding to the read request in the second memory device 150B has been successfully completed. Then, the memory control sequence generator 332 may transmit a data output request (Dout CMD) for outputting the read data corresponding to the read operation to the second memory device 150B. The second memory device 150B may output the read data (Data Transfer) to the memory controller 330 in response to the data output request (Dout CMD). In this fourth process ④, there may be no difference between the first memory device 150A and the second memory device 150B. However, the memory control sequence generator 332 may recognize that the read operation in the second memory device 150B has been completed, so that the memory controller 330 can more effectively determine the timing of transmitting the data output request (Dout CMD) to the second memory device 150B.

[0140] exist Figure 8 and Fig. 9, it has been described that the core processor 344 parses the response to the command generated by the core processor 344 for obtaining the status information from the second memory device 150B. According to an embodiment, when the core processor 344 generates a command capable of obtaining the status information of the second memory device 150B and transmits the command to the memory control sequence generator 332, the core processor 344 may also pass information capable of analyzing or parsing the response to the memory control sequence generator 332. In this case, the memory control sequence generator 332 may not have to enter the handover state 470 to analyze or parse the response regarding the status information transmitted from the second memory device 150B. The memory control sequence generator 332 may check the response in the sequence tracking state 460. Then, the memory control sequence generator 332 may determine the operation state by itself and enter the next step of the operation sequence.

[0141] Fig.10 is a flowchart illustrating an operating method of a memory system according to an embodiment of the present disclosure.

[0142] Reference Fig.10 , a method for operating a memory system includes: receiving first information about an internal configuration or operating characteristic from at least one memory chip (operation 502); and comparing the first information with second information about the memory chip for which a memory control sequence generator is designed to generate at least one command (operation 504). The memory system may check information about the internal configuration or operating characteristic of at least one memory chip coupled to a memory controller to determine whether a command is used. Figure 1 , Figure 3 , Figure 8 and Fig. 9 , and determines whether the memory control sequence generator 332 transitions to the handover state 470.

[0143] When it is determined that a data input / output operation for at least one memory chip is performed, the method for operating a memory system may include: generating, by the memory control sequence generator 322, a second command to control operations associated with some information items in the first information included in the second information (operation 506); and generating, by the core processor 334 engaged with the firmware 336, a first command to control operations associated with other information items in the first information that are not included in the second information, wherein the core processor 334 interacts with the memory control sequence generator 322 (operation 508).

[0144] In an embodiment, the method for operating a memory system may include transmitting a first command and a second command to at least one memory chip according to a preset order (operation 510). In an embodiment, the preset order may be determined based on the order of commands related to the data input / output operation performed by the memory control sequence generator 332. Figure 8 and Fig. 9 As described above, the timing of the memory system requesting to generate the first command or the second command can be changed according to the type or operation characteristics of the data input / output operation. The timing of transmitting the first command or the second command to at least one memory chip can also be changed according to the type or operation characteristics of the data input / output operation.

[0145] As described above, in the low-power memory device or the memory system according to the embodiment of the present invention, the degradation of data input / output performance can be reduced.

[0146] In addition, a memory device or a memory system according to an embodiment of the present invention can provide a memory controller and a control device capable of performing hardware-based high-speed data input / output operations on a plurality of memory devices having different internal configurations and operating characteristics.

[0147] The methods, processes and / or operations described herein may be performed by a computer, processor, controller or other signal processing device executed code or instructions. The computer, processor, controller or other signal processing device may be those described herein, or one in addition to the elements described herein. Since this article describes the algorithm forming the basis of the method or operation of a computer, processor, controller or other signal processing device, the code or instructions for implementing the operation of the method embodiment may convert the computer, processor, controller or other signal processing device into a dedicated processor for performing any one of the methods herein.

[0148] In addition, another embodiment may include a computer-readable medium, such as a non-transitory computer-readable medium, for storing the above code or instructions. The computer-readable medium may be a volatile memory or a non-volatile memory or other storage device, which may be removably or fixedly connected to a computer, processor, controller or other signal processing device to be executed for executing the code or instructions for performing the operation of the method embodiment or the apparatus embodiment of the present invention.

[0149] The controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features of the embodiments disclosed herein may be implemented, for example, in non-transitory logic including hardware, software, or both. When implemented at least partially in hardware, the controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features may be, for example, any of a variety of integrated circuits, including but not limited to application specific integrated circuits, field programmable gate arrays, combinations of logic gates, systems on a chip, microprocessors, or other types of processing or control circuits.

[0150] When implemented at least in part in software, controllers, processors, control circuits, devices, modules, units, multiplexers, generators, logic, interfaces, decoders, drivers, generators, and other signal generation and signal processing features may include, for example, a memory or other storage device for storing code or instructions to be executed by, for example, a computer, processor, microprocessor, controller, or other signal processing device. The computer, processor, microprocessor, controller, or other signal processing device may be one of those described herein or in addition to the elements described herein. Since the algorithms that form the basis of the methods or operations of the computer, processor, controller, or other signal processing device are described in detail, the code or instructions for implementing the operations of the method embodiments may convert the computer, processor, controller, or other signal processing device into a dedicated processor for performing the methods described herein.

[0151] Although the present disclosure has been shown and described with respect to specific embodiments, it is apparent to those skilled in the art that, according to the present disclosure, various changes and modifications may be made without departing from the spirit and scope of the present invention as defined in the appended claims. In addition, these embodiments may be combined to form additional embodiments.

Claims

1. A memory system, comprising: at least one memory chip including first information regarding internal configuration and operating characteristics; as well as a memory controller that performs data input / output operations on the at least one memory chip, Wherein, the memory controller comprises: a core processor, engaged with the firmware, and generating at least one first command to control an operation associated with the first information; a memory control sequence generator that generates at least one second command to control an operation performed on a memory chip including second information; and A core interface, when the first information is included in the second information, the core interface transfers the process of generating some of the at least one command associated with a portion of the first information that is not included in the second information from the memory control sequence generator to the core processor.

2. The memory system according to claim 1, wherein: The at least one first command includes a command to check an operation state of the at least one memory chip.

3. The memory system according to claim 2, wherein: After the memory control sequence generator transmits a program command for a program operation performed on the at least one memory chip, the core interface requests the core processor to generate some of the at least one first command.

4. The memory system according to claim 3, wherein: The memory controller transmits some of the at least one first command generated by the core processor to the at least one memory chip through the memory control sequence generator.

5. The memory system according to claim 3, wherein: After the memory control sequence generator receives responses regarding some of the at least one first command from the at least one memory chip, the core interface transmits the responses to the core processor, and the core processor analyzes the responses to check whether the programming operation is successfully completed.

6. The memory system according to claim 2, wherein: The memory control sequencer sequentially transmits a read command for a read operation performed on the at least one memory chip and some of the at least one first command to the at least one memory chip.

7. The memory system according to claim 6, wherein: Before the memory control sequence generator transmits the read command to the at least one memory chip, the core interface requests the core processor to generate some of the at least first commands.

8. The memory system according to claim 7, wherein: The memory control sequencer transmits a command to output read data subjected to the read operation to the at least one memory chip based on responses to some of the at least one first command, and receives the read data from the at least one memory chip.

9. The memory system according to claim 1, wherein: The memory controller further includes a plurality of queues, the plurality of queues being accessed by the core processor and the core interface.

10. The memory system according to claim 1, wherein: The core processor includes a clock gating circuit that activates or deactivates a clock signal based on a request input from the core interface.

11. A method of operating a memory system, comprising: receiving first information about internal structure or operating characteristics from at least one memory chip; comparing the first information with second information about a memory chip associated with a command generated by a memory control sequence generator; generating, by the memory control sequence generator, a second command to control an operation associated with an item of the first information included in the second information; generating, by a core processor in engagement with firmware, a first command to control operations associated with other items of the first information not included in the second information, the core processor working in conjunction with the memory control sequence generator; as well as The first command and the second command are transmitted to the at least one memory chip in a preset order.

12. The method according to claim 11, wherein: The first command includes a command to check an operation state of the at least one memory chip.

13. The method according to claim 12, wherein: For a program operation performed on the at least one memory chip, the first command is generated after a program command included in the second command is transmitted to the at least one memory chip.

14. The method according to claim 13, further comprising: receiving a response to the first command from the at least one memory chip; transmitting the response to the core processor; as well as The response is analyzed by the core processor to determine whether the programming operation completed successfully.

15. The method according to claim 12, further comprising: A read command for a read operation performed on the at least one memory chip and the first command are sequentially transmitted to the at least one memory chip to perform the read operation performed on the at least one memory chip.

16. The method according to claim 15, further comprising: Generating the first command is requested before transmitting the read command to the at least one memory chip.

17. The method according to claim 16, further comprising: receiving a response to the first command from the at least one memory chip; Based on the response, transmitting a command to output the read data subjected to the read operation to the at least one memory chip; as well as The read data is received from the at least one memory chip.

18. The method according to claim 11, further comprising: Prior to generating the first command, a clock signal input to the core processor interfaced with the memory control sequence controller is activated.

19. A memory controller comprising: a core processor that interfaces with the firmware and generates at least one first command to control operations associated with first information regarding internal configuration and operating characteristics of at least one memory chip; a memory control sequence generator that generates at least one second command to control an operation performed on a memory chip including second information; as well as A core interface, when the first information is included in the second information, the core interface transfers the process of generating some of the at least one command associated with a portion of the first information that is not included in the second information from the memory control sequence generator to the core processor.

20. The memory controller according to claim 19, wherein: The first command includes a command to check an operation state of the at least one memory chip, and the second command includes a program command, a read command, and / or an erase command.