Nonvolatile memory and electronic device

By designing a multi-chip CRC check mechanism in the non-volatile memory system, the problem that existing technology cannot verify data stored in multiple chips is solved, and efficient verification and correctness guarantee of non-volatile memory data are achieved. .

CN118675601APending Publication Date: 2024-09-20GIGADEVICE SEMICON (BEIJING) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310266385.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing technology cannot effectively verify the data stored in the non-volatile memories of multiple chips, making it difficult to ensure data accuracy.

Method used

Design a non-volatile memory system in which multiple chips can receive CRC operation execution instructions, calculate and store CRC codes to verify the stored data, and transmit CRC codes and status signals through IO ports to ensure the correctness of the data.

Benefits of technology

Effective verification of data stored in multiple chip non-volatile memories is achieved, improving the accuracy and reliability of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675601A
    Figure CN118675601A
Patent Text Reader

Abstract

The invention provides a nonvolatile memory and an electronic device. The nonvolatile memory comprises n wafers, wherein n is an integer greater than 1; at least one wafer in the n wafers respectively receives a CRC operation execution instruction, and determines to-be-verified data of the at least one wafer according to the CRC operation execution instruction; and for any wafer in the n wafers, the wafer calculates a CRC code according to the to-be-verified data of the at least one wafer so as to verify the to-be-verified data of the nonvolatile memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of memory technology, and in particular to a non-volatile memory and an electronic device. Background Art

[0002] With the rapid development of storage technology, the reliability requirements for non-volatile memories are becoming increasingly higher.

[0003] In the related art, data stored in a non-volatile memory of a single chip can be verified by a CRC algorithm. However, since the CRC algorithm is performed sequentially, it is impossible to verify data stored in a non-volatile memory including multiple chips.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a non-volatile memory and an electronic device, which can verify data stored in a non-volatile memory including multiple chips, thereby improving the correctness of the data stored in the non-volatile memory.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] The embodiment of the present disclosure provides a non-volatile memory, comprising: n chips, where n is an integer greater than 1; at least one chip among the n chips receives a CRC operation execution instruction respectively, and determines the data to be verified of the at least one chip according to the CRC operation execution instruction; for any one of the n chips, the chip calculates a CRC code according to the data to be verified of the at least one chip, so as to verify the data to be verified of the non-volatile memory.

[0008] In some exemplary embodiments of the present disclosure, for any one of the n wafers, the wafer calculates and stores a CRC code of the wafer according to the data to be verified of the wafer, so as to be used for verifying the data to be verified of the wafer.

[0009] In some exemplary embodiments of the present disclosure, for any one of the n chips, the chip receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device, so that the external device verifies the data to be verified of the chip.

[0010] In some exemplary embodiments of the present disclosure, the n chips include a target chip and multiple other chips except the target chip; the target chip receives the data to be verified sent by at least one other chip; the target chip calculates and stores a CRC code based on the data to be verified of the at least one other chip, so as to be used for verifying the data to be verified of the non-volatile memory.

[0011] In some exemplary embodiments of the present disclosure, the target chip sequentially receives the data to be verified sent by the at least one other chip, and sequentially calculates and stores CRC codes according to the data to be verified each time received, so as to verify the data to be verified of the non-volatile memory.

[0012] In some exemplary embodiments of the present disclosure, the target chip receives a CRC code reading instruction sent by an external device, and returns the CRC code stored by the target chip last time to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

[0013] In some exemplary embodiments of the present disclosure, several wafers among the n wafers calculate and store CRC codes in turn according to their respective data to be checked, so as to be used for checking the data to be checked of each wafer.

[0014] In some exemplary embodiments of the present disclosure, for any one of the several chips, the chip receives the CRC code stored in the previous chip, and calculates and stores the CRC code of the chip based on the data to be checked of the chip and the CRC code stored in the previous chip, so as to be used for checking the data to be checked of the chip.

[0015] In some exemplary embodiments of the present disclosure, any one of the several chips receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

[0016] In some exemplary embodiments of the present disclosure, at least one non-IO port of the non-volatile memory is used to transmit a status signal, and when the status signal is at a first level, it indicates that at least one chip is performing CRC calculation.

[0017] In some exemplary embodiments of the present disclosure, at least one non-IO port of the non-volatile memory is used to transmit a control signal, and when the control signal is at a first level, it indicates that at least one chip is performing CRC calculation.

[0018] In some exemplary embodiments of the present disclosure, at least one chip among the n chips receives address information of the data to be verified of the non-volatile memory, and determines the data to be verified of each of the at least one chip according to the address information.

[0019] In some exemplary embodiments of the present disclosure, the at least one chip determines whether the start address and the end address in the address information are both located in the same chip; if the start address and the end address are not both located in the same chip, a flag signal is generated to indicate that the address information crosses chips.

[0020] In some exemplary embodiments of the present disclosure, the at least one chip reports the flag signal to an external device to prompt the external device that the address information crosses chips.

[0021] The embodiment of the present disclosure provides a non-volatile memory, comprising: n chips, where n is an integer greater than 1; at least one chip among the n chips receives a CRC operation execution instruction and address information of data to be verified of the non-volatile memory, and determines whether a start address and an end address in the address information are both located in the same chip; if the start address and the end address are not both located in the same chip, a flag signal is generated to prompt that the address information crosses chips.

[0022] In some exemplary embodiments of the present disclosure, the at least one chip reports the flag signal to an external device to prompt the external device that the address information crosses chips.

[0023] An embodiment of the present disclosure provides an electronic device, comprising any of the non-volatile memories described above.

[0024] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. When at least one chip among the n chips receives a CRC operation execution instruction, the data to be verified stored in each chip can be determined according to the CRC operation execution instruction; for any one chip among the n chips, the chip can calculate a CRC code according to the determined data to be verified stored in each chip, and the CRC code can verify the data stored in the non-volatile memory including multiple chips, thereby improving the correctness of the data stored in the non-volatile memory.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0027] Figure 1 is a schematic diagram of a nonvolatile memory in an exemplary embodiment of the present disclosure.

[0028] Figure 2 is a schematic diagram of a nonvolatile memory in another exemplary embodiment of the present disclosure.

[0029] Figure 3 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0030] Figure 4 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0031] Figure 5 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0032] Figure 6 A timing diagram of state signals and control signals corresponding to the non-volatile memory provided by an embodiment of the present disclosure is shown.

[0033] Figure 7 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0035] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0036] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in at least one hardware module or integrated circuit, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0037] In addition, in the description of the present disclosure, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of at least one element or component; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements or components may exist in addition to the listed elements or components; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0038] The nonvolatile memory provided by the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings.

[0039] Figure 1 is a schematic diagram of a nonvolatile memory in an exemplary embodiment of the present disclosure.

[0040] like Figure 1 As shown, the nonvolatile memory 100 provided by the embodiment of the present disclosure may include n chips (eg, chip 1, chip 2, ... chip n), where n is an integer greater than 1.

[0041] In the embodiment of the present disclosure, the non-volatile memory 100 is described as Flash (flash memory) as an example, but the embodiment of the present disclosure is not limited to Flash as a non-volatile memory, and any other non-volatile memory is feasible.

[0042] In the embodiment of the present disclosure, the wafer may be an unpackaged die (bare die) or chip, and the non-volatile memory 100 may include n wafers, and the n wafers may be packaged together using a stacked package packaging method.

[0043] At least one chip among the n chips receives a CRC (Cyclic Redundancy Check) operation execution instruction respectively, and determines the to-be-checked data of the at least one chip according to the CRC operation execution instruction.

[0044] In the disclosed embodiment, the CRC operation execution instruction refers to an instruction sent by an external device or a main control chip to enable at least one chip in a non-volatile memory to perform a CRC calculation; the data to be checked of the chip may be part of the data or all of the data stored in the chip.

[0045] In the embodiment of the present disclosure, one of the n chips (for example, chip 2) may receive the CRC operation execution instruction, and determine the data to be verified of one of the chips (for example, chip 2) according to the CRC operation execution instruction; some of the n chips may receive the CRC operation execution instruction respectively, and determine the data to be verified of each chip in the some of the chips according to the CRC operation execution instruction; some of the n chips may receive the CRC operation execution instruction respectively, and determine the data to be verified of each chip in the n chips according to the CRC operation execution instruction (for example, chip 1 determines the data to be verified of chip 1, chip 2 determines the data to be verified of chip 2...chip n determines the data to be verified of chip n).

[0046] It is understandable that the embodiments of the present disclosure do not limit the number of chips that receive CRC operation execution instructions, nor do they limit the number of chips that need to determine the data to be verified. Those skilled in the art can set the chips that receive CRC operation execution instructions according to actual conditions.

[0047] In an exemplary embodiment, at least one of the n chips may receive address information of the data to be verified of the nonvolatile memory, and determine the data to be verified of the at least one chip according to the address information.

[0048] Specifically, at least one chip among the n chips can simultaneously receive the CRC operation execution instruction and the address information of the data to be verified in the non-volatile memory, and the address information can be an address range, including the initial address and the end address of the data to be verified in the non-volatile memory; at least one chip among the n chips can determine the data to be verified stored at the corresponding address in each chip according to the address information of the data to be verified.

[0049] For any one of the n wafers, the wafer calculates a CRC code according to the data to be verified of at least one wafer, so as to verify the data to be verified of the non-volatile memory.

[0050] In the embodiment of the present disclosure, the data to be verified of the non-volatile memory may include the data to be verified of the at least one chip mentioned above.

[0051] In the embodiment of the present disclosure, the chip for determining the data to be verified and the chip for calculating the CRC code can be the same chip or different chips; for example, after chip 2 determines the data to be verified of chip 2 according to the CRC operation execution instruction, chip 2 can calculate the CRC code according to the data to be verified of chip 2, or the data to be verified of chip 2 can be sent to other chips, and the other chips calculate the CRC code according to the data to be verified of chip 2.

[0052] In the embodiment of the present disclosure, any one of the n chips can calculate a CRC code based on the data to be verified of at least one chip. When a CRC code reading instruction sent by an external device is received, the calculated CRC code is returned to the external device, and the external device verifies the data to be verified based on the CRC code.

[0053] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. When at least one chip among the n chips receives a CRC operation execution instruction, the data to be verified stored in each chip can be determined according to the CRC operation execution instruction; for any one chip among the n chips, the chip can calculate a CRC code according to the determined data to be verified stored in each chip, and the CRC code can verify the data stored in the non-volatile memory including multiple chips, thereby improving the correctness of the data stored in the non-volatile memory.

[0054] Figure 2 is a schematic diagram of a nonvolatile memory in another exemplary embodiment of the present disclosure.

[0055] like Figure 2 As shown, the non-volatile memory 200 provided in the embodiment of the present disclosure may include n stacked packaged chips (e.g., chip 1, chip 2, ... chip n), where n is an integer greater than 1; these n chips can interact with other chips or external devices through the same group of ports; each chip can calculate a CRC code based on its own data to be checked.

[0056] At least one of the n chips can respectively receive a CRC operation execution instruction, and determine the data to be verified of at least one chip according to the CRC operation execution instruction; at least one of the n chips can also respectively receive address information of the data to be verified of the non-volatile memory, and determine the data to be verified of at least one chip according to the CRC operation execution instruction and the address information.

[0057] exist Figure 2 In the embodiment, n chips all receive CRC operation execution instructions as an example for description, but the present disclosure is not limited thereto.

[0058] For example, the address information of the to-be-verified data of the non-volatile memory includes a start address and an end address, wherein the start address includes the start address of chip 1, and the end address includes the end address of chip n.

[0059] In an exemplary embodiment, for any one of the n wafers, the wafer calculates and stores a CRC code of the wafer according to the data to be verified of the wafer, so as to be used for verifying the data to be verified of the wafer.

[0060] For example, each chip may include a CRC calculation unit; the CRC calculation unit 1 of chip 1 determines the data to be verified of chip 1 according to the CRC operation execution instruction and the address range, and calculates the CRC code of chip 1 (for example, represented by a first CRC code) according to the data to be verified of chip 1, and stores it in the register of the CRC calculation unit 1 of chip 1; the first CRC code can be used to verify the correctness of the data to be verified of chip 1; the CRC calculation unit 2 of chip 2 determines the data to be verified of chip 2 according to the CRC operation execution instruction and the address range, and calculates the CRC code of chip 2 (for example, represented by a second CRC code) according to the data to be verified of chip 2, and stores it in the register of the CRC calculation unit 2 of chip 2; the second CRC code can be used to verify the correctness of the data to be verified of chip 2; ...; the CRC calculation unit n of chip n determines the data to be verified of chip n according to the CRC operation execution instruction and the address range, and calculates the CRC code of chip n (for example, represented by an nth CRC code) according to the data to be verified of chip n, and stores it in the register of the CRC calculation unit n of chip n; the nth CRC code can be used to verify the correctness of the data to be verified of chip n.

[0061] In an exemplary embodiment, for any one of the n wafers, the wafer receives a CRC code reading instruction sent by an external device, and returns the CRC code of the wafer to the external device, so that the external device verifies the data to be verified of the wafer.

[0062] In the embodiment of the present disclosure, when an external device (or a main control chip) needs to read any one or more groups of CRC codes from chip 1 to chip n, a CRC code reading instruction can be sent to some or all of the chips from chip 1 to chip n. The chip that receives the instruction returns the CRC code of the chip to the external device, and the external device verifies the chip's data to be verified based on the CRC code returned by the chip.

[0063] For example, the external device sends a CRC code reading instruction to chip i (i is an integer greater than or equal to 1 and less than or equal to n); after receiving the CRC code reading instruction, chip i returns the i-th CRC code to the external device; the external device determines whether the data stored in chip i is correct or not based on the i-th CRC code.

[0064] Specifically, the external device can calculate the target i-th CRC code based on the data stored in chip i, and compare the target i-th CRC code with the i-th CRC code returned by chip i. If the target i-th CRC code and the i-th CRC code returned by chip i are consistent, the data stored in chip i is correct.

[0065] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. For any one of the n chips, the chip calculates and stores the CRC code of the chip based on the data to be verified of the chip. When the chip receives a CRC code reading instruction sent by an external device, the chip returns the CRC code of the chip to the external device. The CRC code of the chip can enable the external device to verify the data to be verified of the chip, thereby determining the correctness of the data stored in each chip in the non-volatile memory.

[0066] Figure 3 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure, Figure 4 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0067] The non-volatile memory provided by the embodiment of the present disclosure may include n stacked packaged chips (e.g., chip 1, chip 2, ... chip n); one of the n chips may be used as a target chip, and chips other than the target chip may be used as other chips, and there may be one or more other chips.

[0068] like Figure 3 The non-volatile memory 300 shown in FIG. 1 takes chip n as the target chip; Figure 4 The non-volatile memory 400 shown uses chip 1 as the target chip; however, the present disclosure is not limited thereto, and those skilled in the art may determine any one of the n chips as the target chip according to actual conditions.

[0069] After at least one chip among the n chips determines the data to be verified of at least one chip according to the CRC operation execution instruction; at least one other chip among the n chips except the target chip can send its own data to be verified to the target chip, and the target chip receives the data to be verified of each other chip sent by at least one other chip, and calculates a CRC code based on the data to be verified of each other chip and the data to be verified of the target chip, and stores it in the target chip, and the CRC code is used to verify the above data to be verified.

[0070] For example, Figure 3 As shown, after chip 1 determines the data 1 to be verified of chip 1, it sends the data 1 to be verified to chip n; after chip 2 determines the data 2 to be verified of chip 2, it sends the data 2 to be verified to chip n; ...; chip n receives the data to be verified sent by the above chips, calculates the CRC code according to the received data to be verified and the data to be verified of chip n, and stores it in chip n.

[0071] Similarly, if Figure 4As shown, after chip 2 determines the data 2 to be verified of chip 2, it sends the data 2 to be verified to chip 1; ...; after chip n determines the data n to be verified of chip n, it sends the data n to be verified to chip 1; chip 1 receives the data to be verified sent by the above chips, calculates the CRC code according to the received data to be verified and the data 1 to be verified of chip 1, and stores it in chip 1.

[0072] In an exemplary embodiment, the target chip sequentially receives the data to be verified sent by at least one other chip, and sequentially calculates and stores a CRC code according to the data to be verified received each time, so as to verify the data to be verified of the non-volatile memory.

[0073] In the disclosed embodiment, at least one other chip may send its own data to be verified to the target chip in sequence, and the target chip may receive the data to be verified from each other chip in sequence, calculate the CRC code in sequence according to the data to be verified received each time, and use the CRC code obtained from each calculation to overwrite the CRC code obtained from the previous calculation.

[0074] The target chip sequentially receives the data to be verified of each other chip, which may be received in the order of address information corresponding to the data to be verified of each other chip.

[0075] Specifically, the target chip can calculate a first CRC code based on the data to be verified of the first storage chip; calculate an i-th CRC code based on the (i-1)-th CRC code and the data to be verified of the i-th storage chip, where i is an integer greater than 1 and less than n; calculate and store an n-th CRC code based on the (n-1)-th CRC code and the data to be verified of the n-th storage chip, so as to verify the data to be verified of the non-volatile memory.

[0076] For example, Figure 3 As shown, chip 1 sends the data 1 to be verified to chip n, and chip n calculates the first CRC code based on the data 1 to be verified, and stores it in chip n; then chip 2 sends the data 2 to be verified to chip n, and chip n calculates the second CRC code based on the data 2 to be verified and the first CRC code obtained by the last calculation, and stores it in chip n (for example, the second CRC code can be used to cover the first CRC code); ...; chip n calculates the nth CRC code based on the data n to be verified of chip n and the (n-1)th CRC code obtained by the last calculation, and stores it in chip n.

[0077] Similarly, if Figure 4As shown, chip 1 calculates a first CRC code based on the data 1 to be verified of chip 1, and stores it in chip 1; then chip 2 sends the data 2 to be verified to chip 1, and chip 1 calculates a second CRC code based on the data 2 to be verified and the first CRC code obtained by the last calculation, and stores it in chip 1 (for example, the second CRC code can be used to cover the first CRC code); ...; then chip n sends the data n to be verified to chip 1, and chip 1 calculates the nth CRC code based on the data n to be verified and the (n-1)th CRC code obtained by the last calculation, and stores it in chip 1.

[0078] In the disclosed embodiment, the existing PAD of the non-volatile memory may be reused to perform data interaction between the above chips.

[0079] In an exemplary embodiment, the target chip receives a CRC code reading instruction sent by an external device, and returns the CRC code stored by the target chip last time to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

[0080] In the disclosed embodiment, when an external device (or a main control chip) needs to read the CRC code of a non-volatile memory, a CRC code reading instruction can be sent to a target chip, and the target chip returns the CRC code stored by the target chip for the last time (e.g., the nth CRC code) to the external device, and the external device verifies the data to be verified in the non-volatile memory according to the CRC code returned by the target chip.

[0081] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. The target chip receives the data to be verified sent by at least one other chip in turn, and calculates and stores the CRC code in turn according to the data to be verified received each time. When the target chip receives the CRC code reading instruction sent by an external device, the CRC code stored for the last time is returned to the external device. The CRC code can verify the data stored in the non-volatile memory including multiple chips, thereby improving the correctness of the data stored in the non-volatile memory.

[0082] Figure 5 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0083] like Figure 5 As shown, the non-volatile memory 500 provided in the embodiment of the present disclosure may include n stacked packaged chips (e.g., chip 1, chip 2, ... chip n), where n is an integer greater than 1; these n chips may interact with other chips or external devices through the same set of ports.

[0084] At least one of the n chips can receive a CRC operation execution instruction respectively, and determine the data to be verified of at least one chip according to the CRC operation execution instruction; several of the n chips calculate and store CRC codes in turn according to their respective data to be verified, so as to verify the data to be verified of each chip.

[0085] In an exemplary embodiment, for any one of the plurality of wafers, the wafer receives the CRC code stored by the previous wafer, and calculates and stores the CRC code of the wafer based on the data to be verified of the wafer and the CRC code stored by the previous wafer, so as to verify the data to be verified of the wafer.

[0086] It can be understood that the several chips among the above-mentioned n chips refer to some chips or all chips among the n chips. The following is an example of calculating the CRC code of all chips among the n chips in turn according to their respective data to be checked, but the present disclosure is not limited to this.

[0087] Specifically, the first chip calculates and stores a first CRC code according to the data to be verified of the first chip, and sends the first CRC code to the second chip; the i-th chip receives the (i-1)th CRC code, calculates and stores the i-th CRC code according to the (i-1)th CRC code and the data to be verified of the i-th chip, and sends the i-th CRC code to the (i+1)th chip, where i is an integer greater than 1 and less than N; the n-th chip receives the (n-1)th CRC code, calculates and stores the n-th CRC code according to the (n-1)th CRC code and the data to be verified of the (n-1)th chip, so as to be used for verifying the data to be verified of each chip.

[0088] For example, Figure 5 As shown, chip 1 calculates a first CRC code according to data 1 to be verified of chip 1, stores the first CRC code in chip 1, and sends the first CRC code to chip 2; chip 2 calculates a second CRC code according to the first CRC code and data 2 to be verified of chip 2, stores the second CRC code in chip 2, and sends the second CRC code to chip 3; ...; chip n calculates the nth CRC code according to the (n-1)th CRC code and data n to be verified of chip n, and stores it in chip n.

[0089] In an exemplary embodiment, any one of the plurality of chips receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

[0090] Specifically, the nth chip receives a CRC code reading instruction sent by an external device, and returns an nth CRC code to the external device, so that the external device verifies the data to be verified in the non-volatile memory according to the nth CRC code; if the external device verifies the data to be verified in the non-volatile memory according to the nth CRC code and passes it, it means that the data stored in the non-volatile memory is correct; if the external device fails to verify the data to be verified in the non-volatile memory according to the nth CRC code, it means that the data stored in the non-volatile memory is incorrect.

[0091] In the case that the data stored in the non-volatile memory is incorrect, the external device can send a CRC code reading instruction to the first chip, and the first chip receives the CRC code reading instruction sent by the external device, and returns a first CRC code to the external device, so that the external device verifies the data to be verified of the first chip according to the first CRC code; if the external device fails to verify the data to be verified of the first chip according to the first CRC code, it means that the data stored in the first chip is incorrect; if the external device verifies the data to be verified of the first chip according to the first CRC code, it means that the data stored in the first chip is correct, and the external device continues to send a CRC code reading instruction to the second chip to verify the data to be verified of the second chip according to the second CRC code returned by the second chip, and so on, until the chip with the problem is determined.

[0092] The non-volatile memory provided by the embodiment of the present disclosure includes n chips, and several chips among the n chips calculate and store CRC codes in turn according to their respective data to be checked; for any chip among the several chips, the chip receives the CRC code stored in the previous chip, and calculates and stores the CRC code of the chip according to the data to be checked of the chip and the CRC code stored in the previous chip; any chip among the several chips receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device; wherein the CRC code corresponding to the nth chip can realize the verification of the data stored in the non-volatile memory as a whole, and the CRC codes corresponding to other chips can further realize the verification of the data stored in each chip.

[0093] In the disclosed embodiment, the IO port of the non-volatile memory can exchange instructions / codes / data, etc., and the non-IO port can be used to control or reflect the working status of the chip.

[0094] In an exemplary embodiment, at least one non-IO port of the non-volatile memory is used to transmit a status signal, and when the status signal is at a first level, it indicates that at least one chip is performing CRC calculation.

[0095] In an exemplary embodiment, at least one non-IO port of the non-volatile memory is used to transmit a control signal, and when the control signal is at a first level, it indicates that at least one chip is performing CRC calculation.

[0096] The first level may be a high level or a low level, which is not limited in the present disclosure.

[0097] For example, the first level may be a level opposite to a default state of the non-IO port, or the first level may be a level opposite to a level state of the non-IO port when the IO port is active.

[0098] Figure 6 A timing diagram of state signals and control signals corresponding to the non-volatile memory provided by an embodiment of the present disclosure is shown.

[0099] like Figure 6 As shown, CLK represents a clock signal, IO represents an input and output signal, the control signal may be a CEB (chipenable) enable signal or an ACRC_EN enable signal, and when the CEB enable signal or the ACRC_EN enable signal is at a high level, it indicates that the chip is performing CRC calculation; the status signal may be a BUSY signal, and when the BUSY signal is at a high level, it indicates that the chip is performing CRC calculation.

[0100] In an exemplary embodiment, after at least one chip among n chips receives address information of data to be verified in a non-volatile memory, the at least one chip determines whether the start address and the end address in the address information are both located in the same chip; if the start address and the end address are not both located in the same chip, a flag signal is generated to indicate that the address information crosses chips.

[0101] refer to Figure 1 to Figure 5 For example, after chip 2 receives the address information of the data to be verified in the non-volatile memory, chip 2 determines whether the starting address and the ending address in the address information are both located in chip 2. If chip 2 determines that the starting address and the ending address in the address information are not both located in chip 2, a flag signal indicating cross-die can be generated, wherein the flag signal can be an error signal.

[0102] In an exemplary embodiment, at least one chip reports a flag signal to an external device to prompt the external device that address information crosses the chips.

[0103] Continue to refer Figure 1 to Figure 5 For example, chip 2 reports a flag signal indicating a cross-die to an external device, prompting the external device that the address information of the data to be verified crosses the die.

[0104] Figure 7 is a schematic diagram of a nonvolatile memory in yet another exemplary embodiment of the present disclosure.

[0105] like Figure 7 As shown, the nonvolatile memory 700 provided by the embodiment of the present disclosure may include n chips (eg, chip 1, chip 2, ... chip n), where n is an integer greater than 1.

[0106] At least one chip among the n chips receives the CRC operation execution instruction and the address information of the data to be verified in the non-volatile memory, and determines whether the starting address and the ending address in the address information are both located in the same chip; if the starting address and the ending address are not both located in the same chip, a flag signal is generated to prompt that the address information crosses the chips.

[0107] refer to Figure 7 For example, after chip 2 receives the address information of the data to be verified in the non-volatile memory, chip 2 determines whether the starting address and the ending address in the address information are both located in chip 2. If chip 2 determines that the starting address and the ending address in the address information are not both located in chip 2, a flag signal indicating cross-die can be generated, wherein the flag signal can be an error signal.

[0108] In an exemplary embodiment, at least one chip reports a flag signal to an external device to prompt the external device that address information crosses the chips.

[0109] Continue to refer Figure 7 For example, chip 2 reports a flag signal indicating a cross-die to an external device, prompting the external device that the address information of the data to be verified crosses the die.

[0110] The disclosed embodiment also provides an electronic device, which includes the non-volatile memory as described in any of the above embodiments. The electronic device can be any terminal device and / or server, and the terminal device can be any one or more of a mobile phone, a tablet computer, a desktop computer, a laptop computer, a game console, a television, a vehicle-mounted terminal, a wearable smart device, etc.

[0111] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0112] It should be understood that any number of elements in the drawings of the present disclosure is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.

[0113] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0114] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A non-volatile memory, characterized in that: include: n wafers, where n is an integer greater than 1; At least one chip among the n chips receives the CRC operation execution instruction respectively, and determines the to-be-checked data of the at least one chip according to the CRC operation execution instruction; For any one of the n chips, the chip calculates a CRC code according to the data to be verified of the at least one chip, so as to verify the data to be verified of the non-volatile memory.

2. The nonvolatile memory according to claim 1, wherein: For any one of the n chips, the chip calculates and stores a CRC code of the chip according to the data to be verified of the chip, so as to be used for verifying the data to be verified of the chip.

3. The nonvolatile memory according to claim 2, wherein: For any one of the n chips, the chip receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device, so that the external device verifies the data to be verified of the chip.

4. The nonvolatile memory according to claim 1, wherein: The n wafers include a target wafer and a plurality of other wafers except the target wafer; The target chip receives data to be verified sent by at least one other chip; The target chip calculates and stores a CRC code according to the data to be verified of the at least one other chip, so as to be used for verifying the data to be verified of the non-volatile memory.

5. The non-volatile memory according to claim 4, characterized in that: The target chip sequentially receives the data to be verified sent by the at least one other chip, and sequentially calculates and stores CRC codes according to the data to be verified received each time, so as to be used for verifying the data to be verified in the non-volatile memory.

6. The nonvolatile memory according to claim 5, characterized in that: The target chip receives a CRC code reading instruction sent by an external device, and returns the CRC code stored by the target chip for the last time to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

7. The nonvolatile memory according to claim 1, wherein: Several chips among the n chips calculate and store CRC codes in turn according to their respective data to be checked, so as to be used for checking the data to be checked of each chip.

8. The nonvolatile memory according to claim 7, wherein: For any chip among the several chips, the chip receives the CRC code stored in the previous chip, and calculates and stores the CRC code of the chip according to the data to be checked of the chip and the CRC code stored in the previous chip, so as to verify the data to be checked of the chip.

9. The nonvolatile memory according to claim 7 or 8, characterized in that: Any chip among the plurality of chips receives a CRC code reading instruction sent by an external device, and returns the CRC code of the chip to the external device, so that the external device verifies the data to be verified in the non-volatile memory.

10. The non-volatile memory according to any one of claims 1 to 9, characterized in that: At least one non-IO port of the non-volatile memory is used to transmit a status signal, and when the status signal is at a first level, it indicates that at least one chip is performing CRC calculation.

11. The non-volatile memory according to any one of claims 1 to 9, characterized in that: At least one non-IO port of the non-volatile memory is used to transmit a control signal, and when the control signal is at a first level, it indicates that at least one chip is performing CRC calculation.

12. The nonvolatile memory according to claim 1, wherein: At least one chip among the n chips receives the address information of the data to be verified of the non-volatile memory, and determines the data to be verified of each of the at least one chip according to the address information.

13. The nonvolatile memory according to claim 12, wherein: The at least one chip determines whether the start address and the end address in the address information are both located in the same chip; If the start address and the end address are not located in the same chip, a flag signal is generated to indicate that the address information crosses chips.

14. The nonvolatile memory according to claim 13, wherein: The at least one chip reports the flag signal to an external device to prompt the external device that the address information crosses chips.

15. A non-volatile memory, characterized in that: include: n wafers, where n is an integer greater than 1; At least one chip among the n chips receives the CRC operation execution instruction and the address information of the data to be verified in the non-volatile memory, and determines whether the start address and the end address in the address information are both located in the same chip; If the start address and the end address are not located in the same chip, a flag signal is generated to indicate that the address information crosses chips.

16. The nonvolatile memory according to claim 15, characterized in that: The at least one chip reports the flag signal to an external device to prompt the external device that the address information crosses chips.

17. An electronic device, characterized in that: Comprising a non-volatile memory as claimed in any one of claims 1 to 16.