Semiconductor memory device and method of erasing data of partial page and overwriting partial page with predetermined data
10658042 ยท 2020-05-19
Assignee
Inventors
Cpc classification
G06F3/08
PHYSICS
G06F2212/7205
PHYSICS
G06F3/0679
PHYSICS
G06F3/0652
PHYSICS
G11C16/0483
PHYSICS
International classification
G11C11/56
PHYSICS
G06F3/08
PHYSICS
Abstract
A semiconductor memory device and method of erasing data are disclosed. In one example, a semiconductor memory device includes a block including a plurality of pages and a controller that controls writing, erasing, and reading of data. Each of the pages includes a plurality of memory cells each being changeable to a number of states. In a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage.
Claims
1. A semiconductor memory device, comprising: a block including a plurality of pages; a controller configured to control writing, erasing, and reading of data, wherein each of the pages includes a plurality of memory cells each being changeable to one of four or eight states, and in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage; and a plurality of word lines and a plurality of bit lines, wherein the memory cells are disposed at respective intersections of the plurality of word lines and the plurality of bit lines, and data of a plurality of pages is stored on each one of the plurality of word lines, wherein the plurality of pages on each one of the word lines include first to third pages, and the controller is configured to overwrite all of the memory cells in the first page or all of the memory cells in the second page with data of 1 as the predetermined data in a case where the first page or the second page as the partial page is erased, and overwrite all of the memory cells in the third page with data of 0 as the predetermined data in a case where the third page as the partial page is erased.
2. The semiconductor memory device according to claim 1, wherein the controller reads out written data in the plurality of pages including the partial page, and generates the predetermined data on the basis of the readout data.
3. A semiconductor memory device comprising: a block including a plurality of pages; a controller configured to control writing, erasing, and reading of data, wherein each of the pages includes a plurality of memory cells each being changeable to one of four or eight states, and in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage; and a plurality of word lines and a plurality of bit lines, wherein the memory cells are disposed at respective intersections of the plurality of word lines and the plurality of bit lines, and data of a plurality of pages is stored on each one of the plurality of word lines, wherein the plurality of pages on each of the word lines include a first page and a second page, and in a case where the first page as the partial page is erased, the controller overwrites all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page.
4. A semiconductor memory device comprising: a block including a plurality of pages; a controller configured to control writing, erasing, and reading of data, wherein each of the pages includes a plurality of memory cells each being changeable to one of four or eight states, and in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage; and a plurality of word lines and a plurality of bit lines, wherein the memory cells are disposed at respective intersections of the plurality of word lines and the plurality of bit lines, and data of a plurality of pages is stored on each one of the plurality of word lines, wherein the plurality of pages include a first page and a second page, and the controller is configured to overwrite all of the memory cells in the second page with data of 1 as the predetermined data in a case where the second page as the partial page is erased before the first page is erased, and overwrite all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page in a case where the first page as the partial page is further erased after the second page is erased.
5. A semiconductor memory device comprising: a block including a plurality of pages; a controller configured to control writing, erasing, and reading of data, wherein each of the pages includes a plurality of memory cells each being changeable to one of four or eight states, and in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage; and a plurality of word lines and a plurality of bit lines, wherein the memory cells are disposed at respective intersections of the plurality of word lines and the plurality of bit lines, and data of a plurality of pages is stored on each one of the plurality of word lines, wherein the plurality of pages include a first page and a second page, and the controller is configured to overwrite all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page in a case where the first page is erased as the partial page, and overwrite all of the memory cells in the second page with data of 0 as the predetermined data in a case where the second page as the partial page is further erased thereafter.
6. The semiconductor memory device according to claim 1, wherein the state of the memory cell is changeable among four states.
7. The semiconductor memory device according to claim 1, wherein the state of the memory cell is changeable among eight states.
8. A method of erasing data in a semiconductor memory device, the semiconductor memory device including a block that includes a plurality of pages, and each of the pages including a plurality of memory cells each being changeable to one of four or eight states, the method comprising: in a case of erasing a partial page of the plurality of pages, overwriting the partial page with predetermined data that causes state change only by one stage, wherein the plurality of pages include first to third pages, and wherein overwriting the partial page comprises overwriting all of the memory cells in the first page or all of the memory cells in the second page with data of a first value as the predetermined data in a case where the first page or the second page as the partial page is erased, and overwriting all of the memory cells in the third page with data of a second value as the predetermined data in a case where the third page as the partial page is erased, wherein the first value is one and the second value is zero.
9. A semiconductor memory device comprising: a block including a plurality of pages; a controller configured to control writing, erasing, and reading of data, wherein each of the pages includes a plurality of memory cells each being changeable to one of four or eight states, and in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage, wherein the plurality of pages include first to third pages, and the controller is configured to overwrite all of the memory cells in the first page or all of the memory cells in the second page with data of a first value as the predetermined data in a case where the first page or the second page as the partial page is erased, and overwrite all of the memory cells in the third page with data of a second value as the predetermined data in a case where the third page as the partial page is erased, and wherein the first value is one and the second value is zero.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
MODES FOR CARRYING OUT THE INVENTION
(14) Some embodiments of the disclosure are described in detail below with reference to drawings. Note that description is given in the following order.
(15) 0. Outline and Issues of Nonvolatile Semiconductor Memory as Comparative Example (
(16) 1. Embodiment of semiconductor memory device
(17) 1.1 Configuration (
(18) 1.2 Operation (
(19) 1.3 Effects
(20) 2. Other embodiments
(21) <0. Outline and Issues of Nonvolatile Semiconductor Memory as Comparative Example>
(22)
(23) As illustrated in
(24) In contrast, PTL 1 (Japanese Unexamined Patent Application Publication No. 2014-96122) proposes two kinds of methods. In one of the methods, writing only one file in one block eliminates saving of data in erasing. The method causes an issue that waste regions are increased within the block in a case where a file having a small data amount is written. The other method is a method in which data is overwritten in a page to be erased to destroy data of the page to be erased. Writing of a nonvolatile semiconductor memory that demands erasing operation makes a transition only in a direction of increasing a cell potential. Therefore, if data is overwritten in the page in which data has been already written, the written data and the overwritten data may both possibly become unreadable.
(25)
(26) PTL 1 proposes, as a data to be overwritten, random data and data having the highest cell potential. In an NAND flash memory, however, a phenomenon called coupling that is influenced by peripheral memory cells occurs. The coupling is a phenomenon in which a cell potential seems to change in reading in a case where a potential difference between a certain memory cell and an adjacent peripheral memory cell is large, as illustrated in
1. Embodiment of Semiconductor Memory Device
(27) [1.1 Configuration]
(28)
(29) The semiconductor memory device 11 according to the present embodiment includes a nonvolatile semiconductor memory 12, a controller 13, and a host I/F (interface) 14.
(30) The nonvolatile semiconductor memory 12 is, for example, an NAND flash memory. The nonvolatile semiconductor memory 12 includes a plurality of blocks 1 each including a plurality of pages 2, substantially similar to the comparative example illustrated in
(31) As illustrated in
(32) For example, the memory cell 23 has a configuration of MLC (multilevel cell) or TLC (triple level cell). In a case of the MLC, data of two bits is storable in one memory cell 23, and data of two pages is stored in one WL 21. In a case of the TLC, data of three bits is storable in one memory cell 23, and data of three pages is stored in one WL 21.
(33) [1.2 Operation]
(34) In a case where the host apparatus 10 writes data in the nonvolatile semiconductor memory 12, write data is transmitted to the controller 13 through the host I/F 14. The controller 13 writes, in the nonvolatile semiconductor memory 12, data that has been scrambled by, for example, output of a linear feedback shift register (LFSR) in order to suppress influence of coupling with the adjacent memory cell 23. The controller 13 determines a position where data is written, and holds information of the write position that is called logical-physical conversion table.
(35) In a case where the host apparatus 10 reads out data from the nonvolatile semiconductor memory 12, a read address is notified to the controller 13 through the host I/F 14. The controller 13 uses the logical-physical conversion table to acquire a position where the data has been written, reads out the data from the nonvolatile semiconductor memory 12, descramble the data, and then transmits the data to the host through the host I/F 14.
(36) In a case where the host apparatus 10 erases data in the nonvolatile semiconductor memory 12, an erasure address is notified to the controller 13 through the host I/F 14. The controller 13 uses the logical-physical conversion table to acquire a position where the data has been written. Note that, if data in the logical-physical conversion table is rewritten, it is normally not possible for the host apparatus 10 to read out data from the nonvolatile semiconductor memory 12. In such a case, however, data may be possibly read out when a measurement instrument is coupled to a terminal of the nonvolatile semiconductor memory 12 because the data remains in the nonvolatile semiconductor memory 12. Therefore, to securely erase data, it is necessary to erase the page 2 in which the data has been written. In a case where the controller 13 confirms that effective data does not remain in other pages 2 in the same block 1, the controller 13 performs erasing processing of the block 1. If effective data remains, the controller 13 overwrites the page 2 in which the data to be erased has been written, with predetermined data described later, and deletes the logical-physical conversion table of the corresponding address.
(37) Specific examples of operation of erasing data in a case where the memory cell 23 is the MLC and in a case where the memory cell 23 is the TLC are described below.
(38) [Example of Erasing Operation in Case of MLC]
(39)
(40) In a case where only data of the partial page 4 is erased in consideration of the relationship between the cell potential and the state as illustrated in
(41)
(42)
(43) In a case where the page A as the partial page 4 is erased after the page B is erased, the data of the page A and the data of the page B are read out, logical products of the respective corresponding bits of the data are calculated to generate the predetermined data, in a manner similar to the above-described example in
(44)
(45) [Example of Erasing Operation in Case of TLC]
(46)
(47) In a case where only the partial page 4 is erased in consideration of the relationship between the cell potential and the state as illustrated in
(48)
(49) As illustrated in
(50) In each of the cases as illustrated in
(51) As described above, a data pattern of the predetermined data is determined on the basis of the state of the current page and the state of the data, and the predetermined data is overwritten on the partial page 4 to be erased. This makes it possible to suppress influence on other pages 2 of the WLs 21 before and behind the WL 21 that includes the partial page 4 to be erased while securely erasing the data at high speed.
(52) [1.3 Effects]
(53) As described above, according to the present embodiment, the predetermined data that causes state change only by one stage is overwritten on the partial page 4 in the case where only the partial page 4 is erased. This makes it possible to securely erase the data of the partial page 4 in the block 1 at high speed. As a result, for example, in a case where it is necessary to securely erase data in a memory card, it becomes possible to erase the data at high speed without influencing data of other WLs 21.
(54) Note that effects described in the present specification are illustrative and non-limiting, and other effects may be achieved.
2. Other Embodiments
(55) The technology of the disclosure is not limited to the description of the embodiments described above, and may be variously modified.
(56) For example, the technology may have any of the following configurations.
(57) (1)
(58) A semiconductor memory device, including:
(59) a block including a plurality of pages; and
(60) a controller that controls writing, erasing, and reading of data, in which
(61) each of the pages includes a plurality of memory cells each being changeable to any of four or more states, and
(62) in a case of erasing only a partial page of the plurality of pages, the controller overwrites the partial page with predetermined data that causes state change only by one stage.
(63) (2)
(64) The semiconductor memory device according to (1), further including a plurality of word lines and a plurality of bit lines, in which
(65) the memory cells are disposed at respective intersections of the plurality of word lines and the plurality of bit lines, and
(66) data of a plurality of pages is stored on each one of the plurality of word lines.
(67) (3)
(68) The semiconductor memory device according to (1) or (2), in which the controller reads out written data in the plurality of pages including the partial page, and generates the predetermined data on the basis of the readout data.
(69) (4)
(70) The semiconductor memory device according to (2), in which
(71) the plurality of pages on each of the word lines include a first page and a second page, and
(72) in a case where the first page as the partial page is erased, the controller overwrites all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page.
(73) (5)
(74) The semiconductor memory device according to (2), in which
(75) the plurality of pages include a first page and a second page,
(76) the controller
(77) overwrites all of the memory cells in the second page with data of 1 as the predetermined data in a case where the second page as the partial page is erased before the first page is erased, and
(78) overwrites all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page in a case where the first page as the partial page is further erased after the second page is erased.
(79) (6)
(80) The semiconductor memory device according to (2), in which
(81) the plurality of pages include a first page and a second page,
(82) the controller
(83) overwrites all of the memory cells in the first page with, as the predetermined data, data of a logical product of the first page and the second page in a case where the first page is erased as the partial page, and
(84) overwrites all of the memory cells in the second page with data of 0 as the predetermined data in a case where the second page as the partial page is further erased thereafter.
(85) (7)
(86) The semiconductor memory device according to any one of (1) to (6), in which the state of the memory cell is changeable among four states.
(87) (8)
(88) The semiconductor memory device according to (2), in which
(89) the plurality of pages on each one of the word lines include first to third pages,
(90) the controller
(91) overwrites all of the memory cells in the first page or all of the memory cells in the second page with data of 1 as the predetermined data in a case where the first page or the second page as the partial page is erased, and
(92) overwrites all of the memory cells in the third page with data of 0 as the predetermined data in a case where the third page as the partial page is erased.
(93) (9)
(94) The semiconductor memory device according to (8), in which the state of the memory cell is changeable among eight states.
(95) (10)
(96) A method of erasing data in a semiconductor memory device, the semiconductor memory device including a block that includes a plurality of pages, and each of the pages including a plurality of memory cells each being changeable to any of four or more states, the method including,
(97) in a case of erasing a partial page of the plurality of pages, overwriting the partial page with predetermined data that causes state change only by one stage.
(98) This application is based upon and claims the benefit of priority of the Japanese Patent Application No. 2015-181628 filed with the Japan Patent Office on Sep. 15, 2015, the entire contents of which are incorporated herein by reference.
(99) It should be understood by those skilled in the art that various modifications, combinations, sub-combinations, and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.