Nonvolatile memory and electronic device

By calculating and storing the CRC code for each chip in the non-volatile memory, and verifying it through external devices, the problem of incorrect information transmission on multiple chip IO ports is solved, and the accuracy and reliability of information transmission are achieved.

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

Patent Information

Application Number
CN202310244271.0
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 information transmitted on the non-volatile memory IO ports of multiple chips, resulting in incorrect information transmission.

Method used

When each chip transmits information on the IO port of the non-volatile memory, it calculates and stores the CRC code, and returns its stored CRC code through the CRC code read instruction sent by the external device, so that the external device can read the CRC code transmitted on the IO port. The information is verified, and if the verification fails, the information is retransmitted.

Benefits of technology

The accuracy and reliability of information transmission on the non-volatile memory IO port are improved to ensure the accuracy of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675599A
    Figure CN118675599A
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; when information is transmitted on an IO port of the nonvolatile memory, each wafer obtains the information transmitted on the IO port, and calculates and stores a first CRC code according to the information transmitted on the IO port so as to verify the information transmitted on the IO port.
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, the information transmitted on the IO port of the non-volatile memory of a single chip can be verified by the CRC algorithm. However, since the CRC algorithm is performed sequentially, it is impossible to verify the information transmitted on the IO port of the 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 information transmitted on an IO port of a non-volatile memory including multiple chips, thereby improving the correctness of the information transmitted on the IO port of 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] An embodiment of the present disclosure provides a non-volatile memory, comprising: n chips, where n is an integer greater than 1; when information is transmitted on an IO port of the non-volatile memory, each chip obtains the information transmitted on the IO port, and calculates and stores a first CRC code based on the information transmitted on the IO port, so as to verify the information transmitted on the IO port.

[0008] In some exemplary embodiments of the present disclosure, the information includes instructions and addresses; when the information transmitted on the IO port involves first data stored inside a first chip among the n chips, the first chip obtains the first data according to the address, outputs the first data through the IO port, and calculates and stores a second CRC code based on the first data and the first CRC code for verifying the information transmitted on the IO port.

[0009] In some exemplary embodiments of the present disclosure, the non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; the chip to be operated obtains the CRC code reading instruction and returns the CRC code stored in the chip to be operated to the external device, so that the external device verifies the information transmitted on the IO port according to the CRC code stored in the chip to be operated.

[0010] In some exemplary embodiments of the present disclosure, the non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; the chip to be operated obtains the CRC code reading instruction, and returns the CRC code stored in the chip to be operated to the external device; at least one other chip among the n chips except the chip to be operated obtains the CRC code reading instruction, and returns the CRC code stored in the at least one other chip to the external device, so that the external device verifies the information transmitted on the IO port.

[0011] In some exemplary embodiments of the present disclosure, other chips among the n chips except the first chip obtain the first data output on the IO port, and calculate and store the second CRC code based on the first data and the first CRC code for verifying the information transmitted on the IO port.

[0012] In some exemplary embodiments of the present disclosure, any one of the n chips obtains a CRC code reading instruction sent by an external device, and returns the second CRC code to the external device, so that the external device verifies the information transmitted on the IO port according to the second CRC code.

[0013] In some exemplary embodiments of the present disclosure, when the information transmitted on the IO port also involves second data stored inside a second chip among the n chips, the second chip obtains the second data according to the address, outputs the second data through the IO port, and calculates and stores a third CRC code based on the second data and the second CRC code for verifying the information transmitted on the IO port.

[0014] In some exemplary embodiments of the present disclosure, other chips among the n chips except the second chip obtain the second data output on the IO port, and calculate and store the third CRC code based on the second data and the second CRC code for verifying the information transmitted on the IO port.

[0015] In some exemplary embodiments of the present disclosure, any one of the n chips obtains a CRC code reading instruction sent by an external device, and returns the third CRC code to the external device, so that the external device verifies the information transmitted on the IO port according to the third CRC code.

[0016] In some exemplary embodiments of the present disclosure, when the first chip outputs the first data through the IO port, the other chips among the n chips except the first chip are in an idle state; when the second chip outputs the second data through the IO port, the other chips among the n chips except the second chip are in an idle state.

[0017] In some exemplary embodiments of the present disclosure, if the information transmitted on the IO port fails to pass the check, the information is retransmitted.

[0018] In some exemplary embodiments of the present disclosure, the 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 performs CRC calculation, and when the status signal is at a second level, it indicates that the n chips stop CRC calculation.

[0019] In some exemplary embodiments of the present disclosure, the 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 controls at least one chip to perform CRC calculation, and when the control signal is at a second level, it controls the n chips to stop CRC calculation.

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

[0021] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. When information is transmitted on the IO port of the non-volatile memory, each chip obtains the information transmitted on the IO port, and calculates and stores a first CRC code based on the information transmitted on the IO port. The first CRC code can verify the information transmitted on the IO port of the non-volatile memory including multiple chips, thereby improving the correctness of the information transmitted on the IO port of the non-volatile memory.

[0022] 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

[0023] 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.

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

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

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

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

[0028] Figure 5 A timing diagram of control signals corresponding to the non-volatile memory provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

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

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

[0035] 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.

[0036] 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.

[0037] 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.

[0038] When information is transmitted on the IO port of the non-volatile memory, each chip obtains the information transmitted on the IO port, and calculates and stores a first CRC (Cyclic Redundancy Check) code according to the information transmitted on the IO port, so as to verify the information transmitted on the IO port.

[0039] In the embodiments of the present disclosure, the information transmitted on the IO port may include instructions, addresses and / or data; for example, when a write operation is performed on the non-volatile memory, the write instruction, write address and data to be written are transmitted on the IO port; for another example, when a read operation is performed on the non-volatile memory, the read instruction and read address are transmitted on the IO port.

[0040] refer to Figure 1 When information is transmitted on the IO port of the non-volatile memory, chips 1 to chip n can all obtain the information transmitted on the IO port, and chips 1 to chip n respectively calculate the first CRC code according to the information transmitted on the IO port, and store it in their respective registers; when any chip among the n chips receives a CRC code reading instruction sent by an external device, the calculated CRC code is returned to the external device, and the external device verifies the information transmitted on the IO port according to the CRC code.

[0041] Specifically, the external device can calculate the target CRC code based on the information transmitted on the IO port, and determine whether the target CRC code is consistent with the CRC code returned by the chip in the non-volatile memory; if the target CRC code is consistent with the CRC code returned by the chip in the non-volatile memory, the verification passes; if the target CRC code is inconsistent with the CRC code returned by the chip in the non-volatile memory, the verification fails.

[0042] In an exemplary embodiment, if the information transmitted on the IO port fails to pass the verification, the information is retransmitted; that is, the external device can retransmit the information to the non-volatile memory through the IO port, thereby ensuring the accuracy of the transmitted information and improving the reliability of the non-volatile memory.

[0043] The non-volatile memory provided by the embodiment of the present disclosure includes n chips. When information is transmitted on the IO port of the non-volatile memory, each chip obtains the information transmitted on the IO port, and calculates and stores a first CRC code based on the information transmitted on the IO port. The first CRC code can verify the information transmitted on the IO port of the non-volatile memory including multiple chips, thereby improving the correctness of the information transmitted on the IO port of the non-volatile memory.

[0044] In an exemplary embodiment, the information transmitted on the IO port includes instructions and addresses; when the information transmitted on the IO port involves first data stored inside a first chip among n chips, the first chip obtains the first data according to the address, outputs the first data through the IO port, and calculates and stores a second CRC code based on the first data and the first CRC code for verifying the information transmitted on the IO port.

[0045] In the embodiment of the present disclosure, the information transmitted on the IO port may involve data stored in one or more chips. The chip to which the information involves data is called a first chip, and the data involved in the information in each first chip is called first data. It can be understood that there can be one or more first chips, and the first data corresponding to each first chip can be the same or different.

[0046] refer to Figure 2 , the instruction included in the information transmitted on the IO port is a read instruction, and the address included in the information transmitted on the IO port corresponds to the address of the data stored in the chip 2, that is, the first chip is chip 2. Chip 2 can obtain the first data stored in chip 2 according to the address, output the first data through the IO port, calculate the second CRC code according to the first data and the first CRC code obtained by the above calculation, and store the second CRC code in the register of chip 2 (covering the first CRC code obtained by the last calculation).

[0047] In an exemplary embodiment, a non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; the chip to be operated obtains the CRC code reading instruction and returns the CRC code stored in the chip to be operated to the external device, so that the external device verifies the information transmitted on the IO port according to the CRC code stored in the chip to be operated.

[0048] Specifically, the chip to be operated in the embodiment of the present disclosure can be the first chip mentioned above, or it can be any chip other than the first chip; that is, each chip can receive a CRC code reading instruction sent by an external device, and return the last stored CRC code of each chip to the external device.

[0049] refer to Figure 2 For example, the external device sends a CRC code read instruction and the chip address of chip 2 to the non-volatile memory, and chip 2 returns a second CRC code to the external device; the external device sends a CRC code read instruction and the chip address of chip 1 (or other chips except chip 2) to the non-volatile memory, and chip 1 returns a first CRC code to the external device.

[0050] In an exemplary embodiment, a non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; the chip to be operated obtains the CRC code reading instruction and returns the CRC code stored in the chip to be operated to the external device; at least one other chip among the n chips except the chip to be operated obtains the CRC code reading instruction and returns the CRC code stored in at least one other chip to the external device, so that the external device verifies the information transmitted on the IO port.

[0051] Among them, the chip to be operated can be any one or more chips among the n chips, and the other chips among the n chips except the chip to be operated can also be one or more; the following takes the example that the chip to be operated is chip 2 and the other chips are all chips except chip 2 as an example for explanation.

[0052] For example, the external device sends a CRC code read instruction and the chip address of chip 2 to the non-volatile memory, and chip 2 returns the CRC code stored in chip 2 to the external device; chip 1, chip 3...chip n also return the CRC codes stored in chip 1, chip 3...chip n to the external device.

[0053] In the disclosed embodiment, multiple chips other than the chip to be operated among the n chips return the CRC code stored in each other chip to the external device, and the process can be performed in the order starting from the chip to be operated; for example, after chip 2 returns the CRC code stored in chip 2 to the external device, chip 3 returns the CRC code stored in chip 3 to the external device, ..., chip n returns the CRC code stored in chip n to the external device, and chip 1 returns the CRC code stored in chip 1 to the external device.

[0054] With the non-volatile memory provided by the embodiment of the present disclosure, an external device only needs to send a CRC code reading instruction once to obtain the CRC codes of all chips, thereby improving the CRC code reading efficiency.

[0055] In an exemplary embodiment, the other chips except the first chip among the n chips obtain the first data outputted from the IO port, and calculate and store the second CRC code according to the first data and the first CRC code for verifying the information transmitted on the IO port.

[0056] Specifically, when the information transmitted on the IO port involves the first data stored inside the first chip, the first chip obtains the first data according to the address, outputs the first data through the IO port, and calculates and stores the second CRC code based on the first data and the first CRC code; when the first chip outputs the first data through the IO port, the other chips except the first chip among the n chips can obtain the first data output on the IO port, calculate the second CRC code based on the first data and the first CRC code, and store it in each of the other chips except the first chip (covering the first CRC code obtained by the last calculation) for verifying the information transmitted on the IO port.

[0057] In an exemplary embodiment, any one of the n chips obtains a CRC code reading instruction sent by an external device, and returns a second CRC code to the external device, so that the external device verifies information transmitted on the IO port according to the second CRC code.

[0058] In the embodiment of the present disclosure, after the other chips among the n chips except the first chip calculate and store the second CRC code based on the first data and the first CRC code, the n chips all store the second CRC code, that is, the CRC code stored in each chip is consistent. At this time, the external device can read the CRC code stored in any chip for verification.

[0059] refer to Figure 3 , still taking chip 2 as the first chip as an example, after chip 2 calculates and stores the second CRC code according to the first data and the first CRC code, chip 1, chip 3...chip n obtain the first data, calculate and store the second CRC code according to the first data and the first CRC code; after any chip obtains the CRC code reading instruction sent by the external device, it returns the second CRC code to the external device; the external device verifies the information transmitted on the IO port according to the second CRC code.

[0060] In the disclosed embodiment, the existing PAD of the non-volatile memory can be reused to perform data exchange between the above-mentioned chips; specifically, a stacked package packaging method is used, and the IO PADs are connected together. During the data reading process, when the first chip outputs the first data through the IO port, other chips can input the first data transmitted by the IO port into the chip, so that the other chips calculate the second CRC code based on the first data and the first CRC code. When the data reading is completed, correct and consistent CRC codes are stored in all stacked chips, which is convenient for external devices to read and verify.

[0061] In an exemplary embodiment, when the information transmitted on the IO port also involves second data stored inside a second chip among the n chips, the second chip obtains the second data according to the address, outputs the second data through the IO port, and calculates and stores a third CRC code based on the second data and the second CRC code for verifying the information transmitted on the IO port.

[0062] In an exemplary embodiment, the other chips except the second chip among the n chips obtain the second data outputted from the IO port, and calculate and store a third CRC code according to the second data and the second CRC code for verifying the information transmitted on the IO port.

[0063] In an embodiment of the present disclosure, when information transmitted on an IO port involves data stored in multiple chips, the multiple chips may include a first chip and a second chip (taking data stored in two chips as an example, but the present disclosure is not limited to this), the data involved in the information in the first chip is referred to as first data, and the data involved in the information in the second chip is referred to as second data.

[0064] The following description is made by taking the example that the first wafer is wafer 2 and the second wafer is wafer k, where k is an integer greater than 1 and less than n.

[0065] refer to Figure 3 When the information transmitted on the IO port involves the first data stored in chip 2 and the second data stored in chip k, chip 2 can output the first data through the IO port, and calculate and store the second CRC code based on the first data and the first CRC code; other chips except chip 2 (chip 1, chip 3...chip n) obtain the first data, calculate and store the second CRC code based on the first data and the first CRC code.

[0066] Then, refer to Figure 4 , chip k obtains the second data according to the address, outputs the second data through the IO port, and calculates and stores a third CRC code according to the second data and the second CRC code (covering the second CRC code stored last time); other chips except chip k (chip 1, ..., chip k-1, chip k+1, ..., chip n) obtain the second data, calculate and store a third CRC code according to the second data and the second CRC code (covering the second CRC code stored last time).

[0067] In an exemplary embodiment, any one of the n chips obtains a CRC code reading instruction sent by an external device, and returns a third CRC code to the external device, so that the external device verifies information transmitted on the IO port according to the third CRC code.

[0068] In the embodiment of the present disclosure, after the other chips among the n chips except the second chip calculate and store the third CRC code based on the second data and the second CRC code, the n chips all store the third CRC code, that is, the CRC code stored in each chip is consistent. At this time, the external device can read the CRC code stored in any chip for verification.

[0069] refer to Figure 4 After any chip obtains the CRC code reading instruction sent by the external device, it returns the third CRC code to the external device; the external device verifies the information transmitted on the IO port according to the third CRC code.

[0070] Similarly, when the information transmitted on the IO port also involves the third data stored inside the third chip among the n chips, the above steps of calculating the CRC code are repeated until the CRC calculation is stopped when the control signal is at the second level, or until all the chips involved in the information transmitted on the IO port are executed.

[0071] In an exemplary embodiment, when the first chip outputs the first data through the IO port, the other chips among the n chips except the first chip are in an idle state; when the second chip outputs the second data through the IO port, the other chips among the n chips except the second chip are in an idle state.

[0072] Specifically, when any chip obtains or sends data through a port, other chips are in an idle state.

[0073] 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.

[0074] In an exemplary embodiment, a non-IO port of the nonvolatile memory is used to transmit a status signal. When the status signal is at a first level, it indicates that at least one chip performs CRC calculation. When the status signal is at a second level, it indicates that n chips stop CRC calculation.

[0075] In an exemplary embodiment, a non-IO port of a nonvolatile memory is used to transmit a control signal. When the control signal is at a first level, at least one chip is controlled to perform CRC calculation. When the control signal is at a second level, n chips are controlled to stop CRC calculation.

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

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

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

[0079] like Figure 5 As shown, CLK represents the clock signal, IO represents the input and output signal, the control signal can be a CEB (chipenable) signal or an ICRC_EN signal, Cmd represents the instruction transmitted on the IO port, add represents addition, and Data1~Data5 represent the data transmitted on the IO port; when the CEB signal is at a low level or the ICRC_EN signal is at a high level, it indicates that the chip is performing interface CRC calculation, and when the CEB signal is at a high level or the ICRC_EN signal is at a low level, it indicates that the chip stops interface CRC calculation.

[0080] Those skilled in the art may also set a status signal according to actual conditions to indicate whether the chip is performing CRC calculation.

[0081] 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.

[0082] 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.

[0083] 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.

[0084] 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.

[0085] 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, It is characterized in that include: n wafers, where n is an integer greater than 1; When information is transmitted on the IO port of the non-volatile memory, each chip obtains the information transmitted on the IO port, and calculates and stores a first CRC code according to the information transmitted on the IO port, so as to verify the information transmitted on the IO port.

2. The nonvolatile memory according to claim 1, It is characterized in that The information includes instructions and addresses; When the information transmitted on the IO port involves first data stored inside a first chip among the n chips, the first chip obtains the first data according to the address, outputs the first data through the IO port, and calculates and stores a second CRC code based on the first data and the first CRC code for verifying the information transmitted on the IO port.

3. The nonvolatile memory according to claim 2, It is characterized in that The non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; The chip to be operated obtains the CRC code reading instruction and returns the CRC code stored in the chip to be operated to the external device, so that the external device verifies the information transmitted on the IO port according to the CRC code stored in the chip to be operated.

4. The nonvolatile memory according to claim 1 or 2, It is characterized in that The non-volatile memory receives a CRC code reading instruction and a chip address of a chip to be operated sent by an external device; The chip to be operated obtains the CRC code reading instruction, and returns the CRC code stored in the chip to be operated to the external device; at least one other chip among the n chips except the chip to be operated obtains the CRC code reading instruction, and returns the CRC code stored in the at least one other chip to the external device, so that the external device verifies the information transmitted on the IO port.

5. The nonvolatile memory according to claim 2, It is characterized in that The other chips among the n chips except the first chip obtain the first data output on the IO port, and calculate and store the second CRC code according to the first data and the first CRC code for verifying the information transmitted on the IO port.

6. The nonvolatile memory according to claim 5, It is characterized in that Any chip among the n chips obtains a CRC code reading instruction sent by an external device, and returns the second CRC code to the external device, so that the external device verifies the information transmitted on the IO port according to the second CRC code.

7. The nonvolatile memory according to claim 5, It is characterized in that When the information transmitted on the IO port also involves second data stored inside a second chip among the n chips, the second chip obtains the second data according to the address, outputs the second data through the IO port, and calculates and stores a third CRC code based on the second data and the second CRC code for verifying the information transmitted on the IO port.

8. The nonvolatile memory according to claim 7, It is characterized in that The other chips among the n chips except the second chip obtain the second data output on the IO port, and calculate and store the third CRC code according to the second data and the second CRC code for verifying the information transmitted on the IO port.

9. The nonvolatile memory according to claim 8, It is characterized in that Any chip among the n chips obtains a CRC code reading instruction sent by an external device, and returns the third CRC code to the external device, so that the external device verifies the information transmitted on the IO port according to the third CRC code.

10. The nonvolatile memory according to claim 7, It is characterized in that When the first chip outputs the first data through the IO port, the other chips among the n chips except the first chip are in an idle state; When the second chip outputs the second data through the IO port, the other chips among the n chips except the second chip are in an idle state.

11. The non-volatile memory according to any one of claims 1 to 10, It is characterized in that If the information transmitted on the IO port fails to pass the verification, the information is retransmitted.

12. The non-volatile memory according to any one of claims 1 to 10, It is characterized in that The non-IO port of the non-volatile memory is used to transmit a status signal. When the status signal is at a first level, it indicates that at least one chip performs CRC calculation. When the status signal is at a second level, it indicates that the n chips stop CRC calculation.

13. The non-volatile memory according to any one of claims 1 to 10, It is characterized in that The non-IO port of the non-volatile memory is used to transmit a control signal. When the control signal is at a first level, at least one chip is controlled to perform CRC calculation. When the control signal is at a second level, the n chips are controlled to stop CRC calculation.

14. An electronic device, It is characterized in that Comprising a non-volatile memory as claimed in any one of claims 1 to 13.