NAND Flash Memory
The NAND flash memory system addresses the challenge of observing signals from a NAND controller by using internal control circuits to capture and select signals, enhancing failure identification and waveform quality without external terminals.
Patent Information
- Application Number
- JP2022193807
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-02
- Publication Date
- 2024-11-07
- Estimated Expiration
- 2042-12-02
AI Technical Summary
Existing technologies face challenges in observing signals sent from a NAND controller to a NAND flash memory, leading to difficulties in identifying signal transmission states and failure locations due to increased board area and waveform quality deterioration, as well as the inability to directly observe signals without external connection terminals.
A NAND flash memory system that includes an internal control circuit, storage circuits, and a control circuit to capture and select signals from the NAND controller, allowing for observation of signals within the memory without external terminals, and enabling failure identification.
Enables effective observation of signals from the NAND controller to the NAND flash memory, facilitating failure identification and improving waveform quality by reducing the need for external connection terminals and minimizing board area.
Smart Images

Figure 0007578887000001 
Figure 0007578887000002 
Figure 0007578887000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a NAND flash memory. [Background technology]
[0002] Multi Chip Package (MCP) products provide external terminals only for signals used outside the MCP, so the MCP cannot observe the signals between the controller and the NAND Flash memory.
[0003] Patent Document 1 discloses the use of external connection terminals for internal signal observation on the package substrate. The technology described in Patent Document 1 has problems such as an increase in substrate area due to the external connection terminals and deterioration of waveform quality due to wiring capacitance. In addition, if there is a fault in the path between the controller and the NAND signal, the signal cannot be directly observed, making it difficult to identify the fault location.
[0004] Patent Document 2 discloses a system for observing a signal waveform using an oscilloscope.
[0005] Patent Document 3 discloses that a signal output to a Ready / Busy terminal of a NAND flash memory is observed until the NAND flash memory outputs a Ready signal. This invention provides a semiconductor memory device and a system capable of dealing with column defects occurring in a non-volatile semiconductor device. For example, the controller has a defective address register that stores a column address where a write error has occurred. If an ECC error is detected during writing or reading, the controller stores the column address where the error has occurred in the defective address register. If the column addresses stored in the defective address register match, the controller determines that the write or read error is due to a column defect.
[0006] Patent Document 4 discloses a semiconductor package, a semiconductor device, and an observation signal generating method that can observe a signal at an appropriate position without placing a monitor point on a mounting board for observing an arbitrary signal on the mounting board. The semiconductor package according to the present invention is a semiconductor package that is mounted on a semiconductor device and executes processing according to an input signal input via a transmission path from another semiconductor package mounted on the semiconductor device. The semiconductor package includes a processing circuit that executes processing according to the input signal, and a transfer circuit that acquires the input signal from a stage preceding the processing circuit and outputs the acquired input signal to the outside of the semiconductor device as a test signal for observing the input signal.
[0007] The invention of Patent Document 5 provides a semiconductor device with a structure capable of accurately measuring signal waveforms regardless of the structure of the semiconductor chip. This semiconductor device has a wiring board and a semiconductor chip mounted on one surface of the wiring board and having a first electrode pad. An evaluation board is provided above the semiconductor chip, and the evaluation board is provided with evaluation pads that are electrically connected to the first electrode pads and can be connected to a device that inspects input / output signal waveforms of the semiconductor chip. A sealing body on the wiring board is formed so as to cover the evaluation pads, the semiconductor chip, and the evaluation board. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] Japanese Patent Application Publication No. 56-164593 [Patent Document 2] JP 2014-238670 A [Patent Document 3] JP 2006-48777 A [Patent Document 4] JP 2011-149798 A [Patent Document 5] JP 2016-57116 A Summary of the Invention [Problem to be solved by the invention]
[0009] As mentioned above, various techniques have been devised for observing signals from memory and semiconductors, but it is not yet possible to observe the state in which signals sent from an external NAND controller to a NAND flash memory are being transmitted.
[0010] The present invention has been made in consideration of the above-mentioned circumstances, and an object of the present invention is to provide a NAND flash memory that can appropriately observe signals sent from a NAND controller to the NAND flash memory. [Means for solving the problem]
[0011] A NAND flash memory according to an embodiment of the present invention includes a NAND memory cell and an internal control circuit, and is configured to access the NAND memory cell by sending a signal from a NAND controller to the internal control circuit. The NAND flash memory further includes an information holding unit for setting signal capture period start information indicating the start of a signal capture period sent from the NAND controller and capture selection target signal information indicating a target signal to be captured and selected during the signal capture period, a memory circuit for storing a signal arriving from the NAND controller during the signal capture period, a path for causing the signal stored in the memory circuit to be captured by the NAND controller via the internal control circuit, and a control circuit for detecting the start of the signal capture period based on the signal capture period start information set in the information holding unit, capturing a signal from the NAND controller and storing it in the memory circuit, extracting a capture selection target signal from the signal stored in the memory circuit in accordance with the capture selection target signal information held in the information holding unit, and providing this signal to the NAND controller via the path.
[0012] In a NAND flash memory according to an embodiment of the present invention, when the control circuit receives an instruction from the NAND controller to enter a waveform observation mode, the control circuit detects the start of a signal capture period based on signal capture period start information set in the information holding unit, captures a signal from the NAND controller, stores it in the memory circuit, extracts a signal to be selected for capture from the signal stored in the memory circuit in accordance with the capture selection signal information held in the information holding unit, and provides this signal to the NAND controller via the path.
[0013] In a NAND flash memory according to an embodiment of the present invention, the information holding unit is characterized by comprising a condition setting register in which signal capture period start information indicating the start of a signal capture period is set, and capture selection target signal information indicating a target signal to be captured and selected during the signal capture period is set.
[0014] In a NAND flash memory according to an embodiment of the present invention, the storage circuit is composed of a latch circuit that temporarily stores a signal coming from the NAND controller, and a signal register that holds the signal to be selected for capture, and the control circuit controls the storage of all signals coming from the NAND controller in the latch circuit during the signal capture period, and the control circuit selects a signal that matches the information on the signal to be selected for capture from the signals stored in the latch circuit, and transfers the signal to the signal register for retention.
[0015] In a NAND flash memory according to an embodiment of the present invention, the memory circuit is composed of a latch circuit that temporarily stores a signal coming from the NAND controller, and a signal register that holds the signal to be selected for capture, the latch circuit has a function of the control circuit that stores all signals coming from the NAND controller in the latch circuit during the signal capture period, and the latch circuit has a function of the control circuit that selects a signal that matches the information of the signal to be selected for capture from the signals stored in the latch circuit, and transfers the signal to the signal register for retention.
[0016] In the NAND flash memory according to the embodiment of the present invention, the condition setting register accepts settings when a pattern of H levels and L levels of some predetermined signals from the NAND controller becomes a predetermined pattern.
[0017] A NAND flash memory according to an embodiment of the present invention includes a comparison circuit which compares the signal temporarily stored in the latch circuit with the information set in the condition setting register, and the control circuit detects the start of a signal capture period based on signal capture period start information set in the condition setting register, controls the signal capture and temporary storage in the latch circuit, and controls the extraction of capture selection target signal information from the latch circuit based on a comparison result by the comparison circuit and the storage in the signal register.
[0018] In the NAND flash memory according to the embodiment of the present invention, the signal register is capable of holding a signal of a predetermined capacity.
[0019] A NAND flash memory according to an embodiment of the present invention is characterized in that it comprises a waveform observation possible notification circuit which, when a predetermined amount of signal is held in the signal register, causes the signal held in the signal register to be input to the NAND controller via the internal control circuit via the path.
[0020] The NAND flash memory according to the embodiment of the present invention is characterized in that the clock frequency at which the latch circuit captures a signal can be set. [Brief description of the drawings]
[0021] [Figure 1] FIG. 1 shows the configuration of a typical MCP using a NAND flash memory. [Diagram 2] 1 is a configuration diagram of a NAND flash memory according to an embodiment of the present invention. [Diagram 3]4 is a flowchart showing the operation of the NAND flash memory according to the embodiment of the present invention. [Figure 4] 4 is a timing chart showing the operation of the NAND flash memory according to the embodiment of the present invention. [Diagram 5] 4 is a timing chart showing the operation of the NAND flash memory according to the embodiment of the present invention. [Figure 6] 11 is a diagram showing an example of data of acquisition selection target signal information used in a waveform observation mode of the NAND flash memory according to the embodiment of the present invention. [Figure 7] FIG. 4 is a diagram showing an example of clock frequency selection data used in a waveform observation mode of the NAND flash memory according to the embodiment of the present invention. [Figure 8] 4 is a diagram showing an example of a signal that can be observed in a waveform observation mode of the NAND flash memory according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] Hereinafter, a NAND flash memory according to an embodiment of the present invention will be described with reference to the accompanying drawings. In each drawing, the same components are assigned the same reference numerals and duplicated explanations will be omitted. FIG. 1 shows a block diagram of an example of an MCP. The MCP includes a NAND flash memory 200 and a NAND controller 1, and is configured to send a signal from a host device to the NAND controller 1 to control the NAND flash memory 200. In the MCP of FIG. 1, the NAND controller 1 controls two channels, each channel includes a bank A and a bank B, and each bank includes four blocks of the NAND flash memory 200.
[0023] In this embodiment, as shown in FIG. 2, a configuration will be described in which one internal control circuit 10 controls one block of memory cells 20 in a NAND flash memory 200, which is a configuration for one bank. In this embodiment, the NAND flash memory 200 is controlled by a NAND controller 1 on the host device side. In normal operation, under the control of a host device (not shown), the NAND controller 1 can send a control signal to the NAND flash memory 200 to access the memory cells 20 and write or read data. At this time, in the NAND flash memory 200, the internal control circuit 10 receives an instruction from the NAND controller 1 and reads data from or writes data to the memory cells 20. At this time, a data register 21 is used as a temporary storage location for the read data.
[0024] In this embodiment, a data observation control unit 300 is added to the above configuration. The data observation control unit 300 includes an information holding unit 310, a memory circuit 320, a path 330, and a control circuit 340. The information holding unit 310 is for setting signal acquisition period start information indicating the start of a signal acquisition period sent from the NAND controller 1, and acquisition selection target signal information indicating a target signal to be acquired and selected during the signal acquisition period. The information holding unit 310 can be configured by a condition setting register 311 in which signal acquisition period start information indicating the start of a signal acquisition period is set, and in which acquisition selection target signal information indicating a target signal to be acquired and selected during the signal acquisition period is set.
[0025] The memory circuit 320 stores the signal that arrives during the signal acquisition period from the NAND controller 1. The memory circuit 320 includes a latch circuit 321 that temporarily stores the signal that arrives from the NAND controller 1, and a signal register 322 that holds the acquisition selection target signal.
[0026] The path 330 is a signal path for fetching the signal stored in the memory circuit 320 into the NAND controller 1 via the internal control circuit 10. The control circuit 340 detects the start of the signal fetch period based on the signal fetch period start information set in the information holding unit 310, fetches the signal from the NAND controller 1, and stores it in the memory circuit 320, and fetches the fetch selection target signal from the signal stored in the memory circuit 320 according to the fetch selection target signal information held in the information holding unit 310, and controls to give this signal to the NAND controller 1 via the path 330. The control by the control circuit 340 is performed when an instruction for the waveform observation mode is received from the NAND controller 1. In this embodiment, the instruction for the waveform observation mode is output when the chip enable signal ( / CE) output from the NAND controller 1 is 0, the command latch enable signal (CLE) is 1, and the address latch enable signal (ALE) is 1. As a result, the condition setting register 311 receives an instruction for the waveform observation mode, assuming that the H level and L level patterns of some predetermined signals from the NAND controller 1 have become a predetermined pattern, and accepts the setting.
[0027] In this embodiment, the latch circuit 321 has the function of the control circuit 340 which controls the storage of all signals arriving from the NAND controller 1 in the latch circuit 321 during the signal acquisition period, and further, the latch circuit 321 has the function of the control circuit 340 which selects a signal stored in the latch circuit 321 when the signal matches the acquisition selection target signal information, and transfers the signal to the signal register 322 and stores it therein.
[0028] In this embodiment, there is provided a comparison circuit 312 which compares the signal temporarily stored in the latch circuit 321 with the import selection target information set in the condition setting register 311. With this configuration, the control circuit 340 detects the start of a signal import period based on the signal import period start information set in the condition setting register 311, controls the signal import and temporary storage in the latch circuit 321, and performs control to extract import selection target data from the latch circuit 321 based on the comparison result by the comparison circuit 312 and hold it in the signal register 322.
[0029] The signal register 322 can hold a signal of a predetermined capacity. In this embodiment, a waveform observation possible notification circuit 331 is provided which, when a predetermined amount of signal is held in the signal register 322, causes the signal held in the signal register 322 to be taken into the NAND controller 1 via the internal control circuit 10 via the path 330.
[0030] Furthermore, in this embodiment, it is possible to set a clock frequency when the latch circuit 321 captures a signal. In this case, the clock is output from the sampling clock circuit 323 to the latch circuit 321. When the capture selection target data corresponding to the capture selection target signal information is latched, a notification is sent from the sampling clock circuit 323 to the register address decoder 324, the address of the data storage destination of the signal register 322 is incremented, and the capture selection target data is output to the signal register 322 and stored.
[0031] The operation of the NAND flash memory according to the present embodiment configured as above will be described with reference to the flow chart of FIG. 3 and the timing charts of FIG. 4 and FIG. 5. Although FIG. 4 and FIG. 5 are a series of continuous timing charts, they are divided into two with some overlapping due to the relationship of the illustration. In this embodiment, the operation of the control circuit 340 is not included since each circuit actually executes the function of the control circuit 340. First, the mode is shifted to the waveform observation mode, and necessary condition information is set in the condition setting register 311 (S11). Specifically, in order to issue an instruction for the waveform observation mode, the NAND controller 1 outputs a signal with the chip enable signal ( / CE) set to 0, the command latch enable signal (CLE) set to 1, and the address latch enable signal (ALE) set to 1 (the first part of the timing chart of FIG. 4). In addition, the signal acquisition period start information indicating the start of the signal acquisition period sent from the NAND controller 1 and the acquisition selection target signal information indicating the target signal to be acquired and selected during the signal acquisition period are set ("Setting 101" in FIG. 4).
[0032] To perform "setting 101", the data for setting an instruction to start oscillation of SPL_CLK in FIG. 4 when the write enable signal ( / WE) is toggled seven times is shown by the arrow in FIG. 6(c), and the trigger register data (Trigger Reg.) is shown in FIG. 6(a), the trigger mask register data (Trigger Mask Reg.) is shown in FIG. 6(b), and the clock frequency selection data is shown by bits 0 to 2 of address 0 in FIG. 6(c). The trigger register data (Trigger Reg.), trigger mask register data (Trigger Mask Reg.), and clock frequency selection data use three addresses for one clock's worth of data, as shown in FIG. 6(a), FIG. 6(b), and FIG. 6(c). Also, the clock frequency selection data is set only to address 0 as shown in FIG. 6(c), and five frequencies, A to E, can be selected by combining 0 and 1 in CLK2, CLK1, and CLK0 as shown in FIG. 7.
[0033] 4 set in the condition setting register 311, the trigger register data (Trigger Reg.) is 05h at address 0, 00h at address 1, and 02h at address 2. The contents of 05h at address 0 are WP=0, RE=0, / RE=0, / CE=0, / WE=1, ALE=0, CLE=1. The contents of 00h at address 1 are R / B=0, / DQS=0, DQS=0. The contents of 02h at address 2 are DQ7 to DQ0=02h.
[0034] In addition, the trigger mask register data (Trigger Mask Reg.) is F0h at address 0, FFh at address 1, and 00h at address 2. The content of F0h at address 0 means that WP, RE, and / RE are masked. Therefore, the targets for waveform acquisition are the four pins in the trigger register data (Trigger Reg.) with / CE=0, / WE=1, ALE=0, and CLE=1. The content of FFh at address 1 means that R / B, / DQS, and DQS are masked. Therefore, there are no targets for waveform acquisition. The content of 00h at address 2 means that there is no mask. Therefore, the data of DQ7 to DQ0 is acquired.
[0035] The clock frequency selection data is 80h. Therefore, frequency A is selected as the clock frequency.
[0036] When the above data is set in the condition setting register 311, the condition setting register 311 instructs the sampling clock circuit 323 to set it so that a clock is output at the clock frequency A, and detects whether the oscillation start condition of the sampling clock has arrived (S12). That is, it detects whether the write enable signal ( / WE) has toggled seven times.
[0037] If the result of step S12 is YES, the sampling clock circuit 323 starts oscillating due to the output of the condition setting register 311 ("oscillation start 102" in FIG. 4), the register address decoder 324 is initialized, and the signal arriving from the NAND controller 1 is temporarily stored in the latch circuit 321 (S13). Next, the comparison circuit 312 compares the signal temporarily stored in the latch circuit 321 with the capture selection target information set in the condition setting register 311 (S14). If the comparison circuit 312 detects a match, it sets the capture selection target signal in the signal register 322 while incrementing the address of the signal register 322 (S15, S16). In FIG. 4, it is displayed as "target signal hold 103".
[0038] Following steps S15 and S16, it is detected whether the address value of the register address decoder 324 exceeds the upper limit (S17). That is, since the signal register 322 can hold a predetermined amount of signal (data) (there is a capacity limit), this step S17 is executed. If the decision is made to branch to YES in step S17, a notification of completion of accumulation is output from the signal register 322 to the waveform observation possible notification circuit 331. In response to this, the waveform observation possible notification circuit 331 outputs a waveform observation possible notification signal to the internal control circuit 10. Upon receiving the waveform observation possible notification signal, the internal control circuit 10 uses a ready / busy signal R / B or the like to output to the NAND controller 1 a notification that waveform observation is possible, such as that a signal to be observed has been stored in the data register 21, and prompts the fetching of a signal from the data register 21. As a result, the host device can observe the signal to be captured and selected that has been latched in the latch circuit 321 and stored in the signal register 322.
[0039] If the flow branches to YES in step S17, the sampling clock circuit 323 stops (S18). In Figures 4 and 5, "Clock stop 104" is displayed. At this time, the oscillation of PL_CLK in Figures 4 and 5 stops, and CLK_Stop=1.
[0040] Following step S18, the data in the signal register 322 is transferred to the data register 21 via path 330, and is given to the NAND controller 1 via the internal control circuit 10 (S19). When transferring to the data register 21, a read clock RE_CLK is output from the waveform observation possible notification circuit 331 to the signal register 322, and the signal is read. After the data transfer is completed, the read clock RE_CLK goes to L level. In addition, data is transferred from the data register 21 to the internal control circuit to the NAND controller 1. In FIG. 5, this is indicated as "observation signal transfer 105."
[0041] In this embodiment, the signals to be captured and selected (trigger register data (Trigger Reg.)) are "WP, RE, / RE, / CE, / WE, ALE, CLE, R / B, / DQS, DQS, DQ7, DQ6, DQ5, DQ4, DQ3, DQ2, DQ1, DQ0". By selecting these signals at a desired clock frequency and capturing and observing them, it becomes easy to identify timing or commands that are not operating as expected.
[0042] For example, when the reference signals DQS, / DQS can be observed as shown in Figure 8, it is possible to observe whether the data bus signal DQ has the correct timing. That is, in NAND flash memory, DQ is set up and processing is performed at the edge of DQS, and since the timing margin is the time obtained by subtracting the system time constraints (setup time, hold time) and the internal operation delay of the IC, this is useful when satisfying the need to suppress the variation in the wiring delay of the data bus below this timing margin.
[0043] Furthermore, the signal observation of this embodiment may lead to the prediction or identification of the cause of a failure in some cases, and the effect of this embodiment is extremely large.
[0044] 4 and 5 show that the first waveform observation mode processes are performed as described above: "Setting 101", "Start oscillation 102", "Target signal retention 103", "Clock stop 104", and "Transfer signal for observation 105". In addition, the second waveform observation mode processes are performed from "Target signal retention 103 part 2", which shows the scene where the signal corresponding to the capture selection target information "05h" is selected and retained. In the NAND flash memory of this embodiment, the waveform observation mode processes proceed in this manner as necessary. [Explanation of symbols]
[0045] 10 Internal control circuit 20 Memory cell 21 Data register 200 NAND flash memory 300 Data observation control unit 310 Information storage unit 311 Condition setting register 312 Comparison circuit 320 Memory circuit 321 Latch circuit 322 Signal Register 323 Sampling Clock Circuit 324 Register Address Decoder 330 Route 331 Waveform observation possible notification circuit 340 Control circuit
Claims
1. A NAND flash memory comprising a NAND memory cell and an internal control circuit, the NAND memory cell being accessed by sending a signal from a NAND controller to the internal control circuit, an information storage unit for setting signal capture period start information indicating the start of a signal capture period sent from the NAND controller and capture selection target signal information indicating a target signal to be captured and selected during the signal capture period; a storage circuit that stores a signal received from the NAND controller during the signal acquisition period; a path for inputting the signal stored in the memory circuit to the NAND controller via the internal control circuit; a control circuit which detects a start of a signal capture period based on signal capture period start information set in the information holding unit, captures a signal from the NAND controller, stores it in the memory circuit, extracts a capture selection target signal from the signal stored in the memory circuit in accordance with capture selection target signal information held in the information holding unit, and provides this signal to the NAND controller via the path; A NAND flash memory comprising:
2. 2. The NAND flash memory according to claim 1, wherein, when the control circuit receives an instruction for a waveform observation mode from the NAND controller, it detects the start of a signal capture period based on signal capture period start information set in the information holding unit, captures a signal from the NAND controller and stores it in the memory circuit, extracts a signal to be selected for capture from the signals stored in the memory circuit in accordance with the capture selection signal information held in the information holding unit, and provides this signal to the NAND controller via the path.
3. The information storage unit includes: a condition setting register in which signal capture period start information indicating the start of a signal capture period is set and capture selection target signal information indicating a target signal to be captured and selected during the signal capture period is set; 3. The NAND flash memory according to claim 2, wherein the NAND flash memory is configured by:
4. The memory circuit includes: a latch circuit for temporarily storing a signal coming from the NAND controller; a signal register for holding the capture selection target signal; It is composed of the control circuit performs control to store all signals arriving from the NAND controller in the latch circuit during the signal acquisition period; 4. The NAND flash memory according to claim 3, wherein the control circuit selects a signal that matches the capture selection target signal information from the signals stored in the latch circuit, and transfers it to the signal register for storage.
5. The memory circuit includes: a latch circuit for temporarily storing a signal coming from the NAND controller; a signal register for holding the capture selection target signal; It is composed of the latch circuit has a function of the control circuit for storing all signals arriving from the NAND controller in the latch circuit during the signal acquisition period; 5. The NAND flash memory according to claim 4, wherein the latch circuit has a function of the control circuit which, when a signal stored in the latch circuit matches the capture selection target signal information, selects the signal, transfers the signal to the signal register, and holds it therein.
6. 4. The NAND flash memory according to claim 3, wherein the condition setting register receives an instruction for a waveform observation mode and accepts settings when a pattern of H levels and L levels of several predetermined signals from the NAND controller becomes a predetermined pattern.
7. a comparison circuit for comparing the signal temporarily stored in the latch circuit with information set in the condition setting register; The control circuit includes:
5. The NAND flash memory according to claim 4, further comprising: a control circuit for detecting a start of a signal acquisition period based on signal acquisition period start information set in the condition setting register, controlling signal acquisition and temporary storage in the latch circuit, and extracting acquisition selection target signal information from the latch circuit based on a comparison result by the comparison circuit and storing it in the signal register.
8. 5. The NAND flash memory according to claim 4, wherein the signal register is capable of holding a signal of a predetermined capacity.
9. 9. The NAND flash memory according to claim 8, further comprising a waveform observation possible notification circuit which, when a predetermined amount of signal is held in the signal register, causes the signal held in the signal register to be input to the NAND controller via the internal control circuit via the path.
10. 5. The NAND flash memory according to claim 4, wherein a clock frequency at which the latch circuit captures a signal can be set.
Citation Information
Patent Citations
Package substrate
JP1981164593A
Test interface circuit and semiconductor integrated circuit using the same
JP2001184899A
NAND flash memory and data writing method
JP2006048777A
Semiconductor device
JP2011048880A
Semiconductor package, semiconductor device, and observed signal generation method
JP2011149798A
