Semiconductor memory device capable of re-reading the setting information after power-on operation and operation method thereof
11705213 · 2023-07-18
Assignee
Inventors
Cpc classification
G11C5/148
PHYSICS
G11C16/102
PHYSICS
G11C16/3495
PHYSICS
G11C16/3459
PHYSICS
G11C16/14
PHYSICS
International classification
G11C16/34
PHYSICS
G11C16/14
PHYSICS
Abstract
A semiconductor memory device includes a memory cell array, a memory apparatus and a power-on operation apparatus, and is capable of knowing whether a reading of the setting information which is set during the power-on operation had been completed correctly or not. The flash memory reads the fuse memory when it is detected that the power supply has reached the power-on detection level, and determines whether the reading of the fuse memory had been completed correctly. When not completed correctly, the fuse memory is read again within the maximum read count, and the setting information (which was read from the fuse memory) is written into the CF register. The identification information (that identifies whether the reading of the fuse memory has been completed correctly or not) is stored in the register.
Claims
1. A semiconductor memory device, comprising: a memory cell array; a memory apparatus, storing setting information related to operation settings in a non-volatile memory area; a first apparatus; and a power-on operation apparatus configured to: read the setting information from the memory apparatus, write the setting information read from the memory apparatus into a data-holding unit when detecting a power supply voltage has reached a power-on detection level, and store identification information identifying whether the setting information has been read correctly or not into a register in response to an external command, and determine whether the reading of the setting information has been completed correctly or not, and re-reading the setting information when determining that the reading of the setting information had not been completed correctly, wherein the identification information is determined based on whether a read count of the setting information has reached a maximum number, and wherein the first apparatus re-reads the setting information from the memory apparatus and writes the setting information into the data-holding unit, when the identification information indicates that the read count of the setting information has reached the maximum number.
2. The semiconductor memory device as claimed in claim 1, wherein the semiconductor memory device further comprises an output apparatus, which reads the identification information from a register and outputs the identification information to outside.
3. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is a reset apparatus, which performs a reset in response to an external reset command.
4. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is a reset apparatus, which performs a reset in response to an internal reset command after the power-on operation apparatus is activated.
5. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is a reading apparatus, which re-reads the setting information from the memory apparatus and writes the setting information into the data-holding unit when an external command is input when the identification information indicates that the setting information has reached the maximum number.
6. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is a reading apparatus, which reads data from a selected memory cell in the memory cell array in response to an external read command; the reading apparatus re-reads the setting information from the memory apparatus and writes the setting information into the data-holding unit when the identification information indicates that the setting information has reached the maximum number before performing the read operation.
7. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is a programming apparatus, which performs data programming on a selected memory cell in the memory cell array in response to an external program command; the programming apparatus re-reads the setting information from the memory apparatus and writes the setting information into the data-holding unit when the identification information indicates that the setting information has reached the maximum number before performing the program operation.
8. The semiconductor memory device as claimed in claim 1, wherein the first apparatus is an erasing apparatus, which erases data from a selected memory cell in the memory cell array in response to an external erase command; the erasing apparatus re-reads the setting information from the memory apparatus and writes the setting information into the data-holding unit when the identification information indicates that the setting information has reached the maximum number before performing the erase operation.
9. The semiconductor memory device as claimed in claim 1, wherein the power-on detection level is lower than the operation voltage when a command is performed.
10. An operation method of a semiconductor memory device, comprising: previously storing setting information related to an operation setting in a memory area of a non-volatile memory; reading the setting information from the memory area and determining whether the reading of the setting information had been completed correctly or not when it is detected that a power supply voltage has reached a power-on detection level, and re-reading the setting information when it is determined that reading the setting information had not been performed correctly; writing the setting information read from the memory area into a data-holding unit; storing identification information into a register which is readable, wherein the identification information identifies whether the setting information has reached a maximum number; and re-reading the setting information from the memory area and writing the setting information into the data-holding unit, when the identification information indicates that a read count of the setting information has reached the maximum number in response to a reset command.
11. The operation method of a semiconductor memory device as claimed in claim 10, further comprising: reading the identification information from the register in response to an external command, and outputting the identification information to outside.
12. An operation method of a semiconductor memory device, comprising: previously storing setting information related to an operation setting in a memory area of a non-volatile memory; reading the setting information from the memory area and determining whether the reading of the setting information had been completed correctly or not when it is detected that a power supply voltage has reached a power-on detection level, and re-reading the setting information when it is determined that reading the setting information had not been performed correctly; writing the setting information read from the memory area into a data-holding unit; reading identification information from a register which is readable in response to the external command, wherein the identification information identifies whether a read count of the setting information has reached a maximum number; and re-reading the setting information from the memory device and writing the setting information into the data-holding unit when the identification information indicates that the read count of the setting information has reached the maximum number in response to a particular external command.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE INVENTION
(10) Next, a semiconductor memory device according to the present invention will be described. A NAND flash memory is exemplified as an embodiment of the semiconductor memory device, but the present invention is not limited to this. The semiconductor memory device may be a memory device having a scheme for reading out setting information from a non-volatile memory in a power-on operation.
(11)
(12) The memory array 110 comprises m blocks BLK (0), BLK (1), . . . , BLK (m−1). A plurality of NAND strings are formed in one block, and a plurality of memory cells are connected in series to form one NAND string. Furthermore, the memory cell array 110 includes a fuse memory for storing setting information for setting parameters such as the operation voltage or the timing of the flash memory, in an area that is not used (or that is inaccessible) by the user. In addition to this setting information, the fuse memory also stores feature data in a specific address. The feature data is the data used for verifying whether the fuse memory had been read correctly during the power-on operation, and is a data pattern such as “AAh” or “55h,” in one exemplary embodiment.
(13) In addition to receiving command data from the input/output buffer 120, the controller 140 also receives the setting information described above, which is used for setting parameters such as the operation voltage or the timing of the flash memory from the fuse memory. The controller 140 writes the setting information into the CF register (not shown in
(14) The register 180 stores data indicating various states of the flash memory 100. In this embodiment, identification data POFAIL (used for identifying whether the fuse memory had been read correctly or not during the power-on operation) is stored in a part of the register 180. In an embodiment, the controller 140 receives an external command to read the register 180, and so it reads and outputs the identification data stored in the register 180.
(15) The voltage detection unit 190 detects whether the power supply voltage VCC has reached the power-on detection level. For example, the power supply voltage VCC is 3.0 V, and when the power supply voltage VCC reaches the power-on detection level (for example, 2.2 V) after the power has been turned on, the voltage detection unit 190 outputs the detection signal DET to the controller 140. The power-on detection level is lower than the operation guarantee voltage (for example, 2.7 V to 3.3 V) during the normal operation of the flash memory.
(16) For example, the configuration of the controller 140 includes a microcontroller such as a CPU, a ROM or RAM, or a state machine. For example, a ROM stores programs for performing the power-on operation, the read operation, the program operation, the erase operation, and other operations, and the controller 140 controls each operation by executing these programs.
(17) The controller 140 includes a power-on operation apparatus 141 and a first apparatus 142. When the controller 140 receives the detection signal DET from the voltage detection unit 190, it performs the power-on operation by the power-on operation apparatus 141. Furthermore, when the controller 140 receives a read command, a program command, or an erase command from outside, it performs these operations by the first apparatus 142. In the read operation, a positive voltage is applied to a bit line, 0 V, for example, may be applied to the selected word line, a pass voltage is applied to the unselected word line, the bit line side selected transistor and the source line side selected transistor is turned on, and 0V is applied to the common source line. In the program operation, a high voltage program voltage Vpgm is applied to the selected word line, an intermediate voltage is applied to the non-selected word line, the bit line side selected transistor is turned on, the source line side selected transistor is turned off, and a voltage corresponding to the data of “0” or “1” is supplied to the bit line. In the erase operation, 0V is applied to the selected word line in the block, a high voltage is applied to the P well, and data is erased in block units.
(18)
(19) The controller 140 compares whether the feature data that has been read out is the same as the expected value: this will determine whether the feature data is correct or not (S220). If the read feature data is the same as the expected value, then the identification data POFAIL=0 is written into the register 180. After writing the setting data (that has been read from the fuse memory) into the CF register (S230), the reading of the fuse memory is finished (S240).
(20) On the other hand, when the feature data does not match the expected value in step S220, this means that errors have occurred during the reading of the fuse memory. The controller 140 checks whether the fuse memory has been read the maximum number of times (S250). If not, the controller 140 returns to steps S210˜S220, and redoes the reading of the fuse memory, as well as performing another determination on the feature data. If the read count for the fuse memory reaches the maximum, the identification data POFAIL=1 is written into the register 180. After the setting data (which was read from the fuse memory) is written into the CF register (S260), the reading of the fuse memory (S270) is finished.
(21) It should be noted that in the present embodiment, identification data POFAIL is used to represent whether the setting information had been read correctly before the read count reaches the maximum number. Specifically, identification data POFAIL=0 represents that the fuse memory had been read correctly before the maximum number of retries has been reached, which means that the setting information written into the CF register is reliable. In contrast, identification data POFAIL=1 represents that the fuse memory had not been read correctly before the maximum number of retries (in other words, the feature data is different from the expected value), and therefore the setting information written into the CF register may contains errors.
(22) After the power-on operation, when the power supply VCC reaches the operation guarantee voltage, the flash memory 100 is in a ready state in which the operation can be performed in response to an external command. If the user inputs a command to read the register 180 at an arbitrary time, the controller 140 reads the data in the register 180 in response to the read command and outputs the data that was read by the external terminal. By checking the identification data POFAIL in the register 180, the user can know whether the fuse memory had been read correctly during the power-on operation. If identification data POFAIL=1, the setting information written into the register may contains errors, since the fuse memory had not been read correctly during the power-on operation. The user can redo the power-on operation, and so on.
(23) According to the present embodiment, whether the fuse memory had been read correctly can be determined by the identification data POFAIL stored in the register. When the setting information in the CF register is wrong and leads to an incorrect operation in the flash memory, the user can easily know the cause of the incorrect operation.
(24)
(25) It should be noted that when executing a reset command, the reading of the fuse memory is more stable than it is during the power-on operation, and it is possible to perform a highly reliable reading, since the power supply voltage VCC of the flash memory has reached the operation guarantee voltage. Therefore, when it is detected that the identification data POFAIL=1 in the reset operation (i.e. the fuse memory had not been correctly read in the power-on operation), re-reading the fuse memory during a reset operation allows the setting information to be rewritten as setting information read during the reset operation, which can reduce the instances of incorrect operation of the flash memory.
(26)
(27) According to the present embodiment, by automatically performing an internal reset operation after the power-on operation (i.e. the power supply VCC reaches the operation guarantee voltage), the fuse memory can be re-read whenever it is discovered that the fuse memory was not read correctly during the power-on operation, and highly reliable setting information can be written into the CF register, thereby preventing incorrect operation of the flash memory.
(28)
(29) In the present embodiment, because the flash memory is also operating with the operation guarantee voltage in the power-on retry command, the reading of the fuse memory is more reliable than it is during the power-on operation, and the correct setting information can be written into the CF register.
(30)
(31) According to the present embodiment, according to the identification data POFAIL, whether or not the setting information in the CF register includes an error can be checked before reading, programming or erasing. When detecting that the identification data POFAIL=1, the fuse memory can be re-read in order to rewrite the setting information in the CF register. Afterwards, the operation voltage, timing, etc. of the read, program, or erase operation can be set according to more reliable setting information, thereby preventing incorrect operation of the flash memory.
(32) Although NAND-type flash memory has been illustrated in the above embodiment, the present invention can also be applied to a semiconductor memory device that performs a power-on operation. Furthermore, in the above embodiment, the fuse memory is provided in the memory cell array, but the fuse memory may be provided in a different area of the non-volatile memory.
(33) While the invention has been described by way of example and in terms of the preferred embodiments, the invention is not limited to specific embodiments. The scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
SYMBOL DESCRIPTION
(34) 100: flash memory 110: memory cell array 120: input/output buffer 130: address register 140: controller 150: word line selection circuit 160: page buffer/sensor circuit 170: column selection circuit 180: register 190: voltage detection unit 200: internal voltage generation circuit S100˜S150: steps in the flow chart S200˜S270: steps in the flow chart S300˜S330: steps in the flow chart S400˜S460: steps in the flow chart S500˜S530: steps in the flow chart S600˜S620: steps in the flow chart S700˜S730: steps in the flow chart