Flash memory: Difference between revisions
m →History: Reference [7] cited "IEEE 1987" and hence changed "IEEE 1984" to "IEEE 1987" accordingly. |
Rescuing 5 sources and tagging 2 as dead. #IABot (v1.5.4) |
||
Line 50: | Line 50: | ||
[http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5986104 "4-times faster rising VPASS (10V), 15% lower power VPGM (20V), wide output voltage range voltage generator system for 4-times faster 3D-integrated solid-state drives"]. 2011.</ref><ref>Takeuchi, K., [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5488397 "Low power 3D-integrated Solid-State Drive (SSD) with adaptive voltage generator"]. 2010.</ref><ref>Ishida, K. et al., [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5759723 "1.8 V Low-Transient-Energy Adaptive Program-Voltage Generator Based on Boost Converter for 3D-Integrated NAND Flash SSD"]. 2011.</ref> |
[http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5986104 "4-times faster rising VPASS (10V), 15% lower power VPGM (20V), wide output voltage range voltage generator system for 4-times faster 3D-integrated solid-state drives"]. 2011.</ref><ref>Takeuchi, K., [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5488397 "Low power 3D-integrated Solid-State Drive (SSD) with adaptive voltage generator"]. 2010.</ref><ref>Ishida, K. et al., [http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=5759723 "1.8 V Low-Transient-Energy Adaptive Program-Voltage Generator Based on Boost Converter for 3D-Integrated NAND Flash SSD"]. 2011.</ref> |
||
In spacecraft and other high-radiation environments, the on-chip charge pump is the first part of the flash chip to fail, although flash memories will continue to work{{snd}} in read-only mode{{snd}} at much higher radiation levels.<ref>A. H. Johnston, [http://trs-new.jpl.nasa.gov/dspace/bitstream/2014/13431/1/01-2369.pdf "Space Radiation Effects in Advanced Flash Memories"]. |
In spacecraft and other high-radiation environments, the on-chip charge pump is the first part of the flash chip to fail, although flash memories will continue to work{{snd}} in read-only mode{{snd}} at much higher radiation levels.<ref>A. H. Johnston, [http://trs-new.jpl.nasa.gov/dspace/bitstream/2014/13431/1/01-2369.pdf "Space Radiation Effects in Advanced Flash Memories"] {{webarchive|url=https://web.archive.org/web/20160304220536/http://trs-new.jpl.nasa.gov/dspace/bitstream/2014/13431/1/01-2369.pdf |date=4 March 2016 }}. |
||
NASA Electronic Parts and Packaging Program (NEPP). 2001. "... internal transistors used for the charge pump and erase/write control have much thicker oxides because of the requirement for high voltage. This causes flash devices to be considerably more sensitive to total dose damage compared to other [[ULSI]] technologies. It also implies that write and erase functions will be the first parameters to fail from total dose. ... Flash memories will work at much higher radiation levels in the read mode. ... The charge pumps that are required to generate the high voltage for erasing and writing are usually the most sensitive circuit functions, usually failing below 10 [[kilorad|krad]](SI)."</ref> |
NASA Electronic Parts and Packaging Program (NEPP). 2001. "... internal transistors used for the charge pump and erase/write control have much thicker oxides because of the requirement for high voltage. This causes flash devices to be considerably more sensitive to total dose damage compared to other [[ULSI]] technologies. It also implies that write and erase functions will be the first parameters to fail from total dose. ... Flash memories will work at much higher radiation levels in the read mode. ... The charge pumps that are required to generate the high voltage for erasing and writing are usually the most sensitive circuit functions, usually failing below 10 [[kilorad|krad]](SI)."</ref> |
||
Line 121: | Line 121: | ||
===Read disturb=== |
===Read disturb=== |
||
The method used to read NAND flash memory can cause nearby cells in the same memory block to change over time (become programmed). This is known as read disturb. The threshold number of reads is generally in the hundreds of thousands of reads between intervening erase operations. If reading continually from one cell, that cell will not fail but rather one of the surrounding cells on a subsequent read. To avoid the read disturb problem the flash controller will typically count the total number of reads to a block since the last erase. When the count exceeds a target limit, the affected block is copied over to a new block, erased, then released to the block pool. The original block is as good as new after the erase. If the flash controller does not intervene in time, however, a '''read disturb''' error will occur with possible data loss if the errors are too numerous to correct with an [[error-correcting code]].<ref>{{cite web |url=http://www.micron.com/~/media/documents/products/technical-note/nand-flash/tn2917.pdf |title=TN-29-17 NAND Flash Design and Use Considerations Introduction |publisher=Micron |date=April 2010 |accessdate=29 July 2011}}</ref><ref name=NEA>{{cite web | |
The method used to read NAND flash memory can cause nearby cells in the same memory block to change over time (become programmed). This is known as read disturb. The threshold number of reads is generally in the hundreds of thousands of reads between intervening erase operations. If reading continually from one cell, that cell will not fail but rather one of the surrounding cells on a subsequent read. To avoid the read disturb problem the flash controller will typically count the total number of reads to a block since the last erase. When the count exceeds a target limit, the affected block is copied over to a new block, erased, then released to the block pool. The original block is as good as new after the erase. If the flash controller does not intervene in time, however, a '''read disturb''' error will occur with possible data loss if the errors are too numerous to correct with an [[error-correcting code]].<ref>{{cite web |url=http://www.micron.com/~/media/documents/products/technical-note/nand-flash/tn2917.pdf |title=TN-29-17 NAND Flash Design and Use Considerations Introduction |publisher=Micron |date=April 2010 |accessdate=29 July 2011}}</ref><ref name=NEA>{{cite web |url=http://techon.nikkeibp.co.jp/NEA/solutions/0808002.pdf |title=TECHNOLOGY FOR MANAGING NAND FLASH |last=Kawamatus |first=Tatsuya |publisher=Hagiwara sys-com co., LTD |accessdate=1 August 2011 }}{{dead link|date=October 2017 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> |
||
=== X-ray effects === |
=== X-ray effects === |
||
Line 157: | Line 157: | ||
===NAND memories===<!-- This section is linked from [[Centrino]] --> |
===NAND memories===<!-- This section is linked from [[Centrino]] --> |
||
NAND flash architecture was introduced by Toshiba in 1989.<ref>{{cite web |url=http://www.tgc.com/dsstar/02/0917/104762.html |title=DSstar: TOSHIBA ANNOUNCES 0.13 MICRON 1GB MONOLITHIC NAND |publisher=Tgc.com |date=2002-04-23 |accessdate=2013-08-27}}</ref> These memories are accessed much like [[block size (data storage and transmission)|block devices]], such as hard disks. Each block consists of a number of pages. The pages are typically 512<ref name="ieee_cf"> |
NAND flash architecture was introduced by Toshiba in 1989.<ref>{{cite web |url=http://www.tgc.com/dsstar/02/0917/104762.html |title=DSstar: TOSHIBA ANNOUNCES 0.13 MICRON 1GB MONOLITHIC NAND |publisher=Tgc.com |date=2002-04-23 |accessdate=2013-08-27 |deadurl=yes |archiveurl=https://web.archive.org/web/20121227020955/http://www.tgc.com/dsstar/02/0917/104762.html |archivedate=27 December 2012 |df=dmy-all }}</ref> These memories are accessed much like [[block size (data storage and transmission)|block devices]], such as hard disks. Each block consists of a number of pages. The pages are typically 512<ref name="ieee_cf"> |
||
{{Cite news |last=Kim |first=Jesung |last2=Kim |first2=John Min |last3=Noh |first3=Sam H. |last4=Min |first4=Sang Lyul |last5=Cho |first5=Yookun |date=May 2002 |title=A Space-Efficient Flash Translation Layer for CompactFlash Systems |periodical=Proceedings of the IEEE |volume=48 |issue=2 |pages=366–375 |url=http://ieeexplore.ieee.org/iel5/30/21778/01010143.pdf?tp=&isnumber=&arnumber=1010143 |accessdate=2008-08-15}}</ref> or 2,048 or 4,096 bytes in size. Associated with each page are a few bytes (typically 1/32 of the data size) that can be used for storage of an [[error correcting code]] (ECC) [[checksum]]. |
{{Cite news |last=Kim |first=Jesung |last2=Kim |first2=John Min |last3=Noh |first3=Sam H. |last4=Min |first4=Sang Lyul |last5=Cho |first5=Yookun |date=May 2002 |title=A Space-Efficient Flash Translation Layer for CompactFlash Systems |periodical=Proceedings of the IEEE |volume=48 |issue=2 |pages=366–375 |url=http://ieeexplore.ieee.org/iel5/30/21778/01010143.pdf?tp=&isnumber=&arnumber=1010143 |accessdate=2008-08-15}}</ref> or 2,048 or 4,096 bytes in size. Associated with each page are a few bytes (typically 1/32 of the data size) that can be used for storage of an [[error correcting code]] (ECC) [[checksum]]. |
||
Line 163: | Line 163: | ||
* 32 pages of 512+16 bytes each for a block size (effective) of 16 [[Kibibyte|KB]] |
* 32 pages of 512+16 bytes each for a block size (effective) of 16 [[Kibibyte|KB]] |
||
* 64 pages of 2,048+64 bytes each for a block size of 128 KB<ref>[http://download.micron.com/pdf/technotes/nand/tn2907.pdf TN-29-07: Small-Block vs. Large-Block NAND flash Devices] Explains 512+16 and 2048+64-byte blocks</ref> |
* 64 pages of 2,048+64 bytes each for a block size of 128 KB<ref>[http://download.micron.com/pdf/technotes/nand/tn2907.pdf TN-29-07: Small-Block vs. Large-Block NAND flash Devices] {{webarchive|url=https://web.archive.org/web/20130608040707/http://download.micron.com/pdf/technotes/nand/tn2907.pdf |date=8 June 2013 }} Explains 512+16 and 2048+64-byte blocks</ref> |
||
* 64 pages of 4,096+128 bytes each for a block size of 256 KB<ref>[http://www.nxp.com/documents/application_note/AN10860.pdf AN10860 LPC313x NAND flash data and bad block management] Explains 4096+128-byte blocks.</ref> |
* 64 pages of 4,096+128 bytes each for a block size of 256 KB<ref>[http://www.nxp.com/documents/application_note/AN10860.pdf AN10860 LPC313x NAND flash data and bad block management] Explains 4096+128-byte blocks.</ref> |
||
* 128 pages of 4,096+128 bytes each for a block size of 512 KB. |
* 128 pages of 4,096+128 bytes each for a block size of 512 KB. |
||
Line 251: | Line 251: | ||
|} |
|} |
||
However, by applying certain algorithms and design paradigms such as [[wear leveling]] and [[Write amplification#Over-provisioning|memory over-provisioning]], the endurance of a storage system can be tuned to serve specific requirements.<ref name="flashnvm7">"[https://dx.doi.org/10.1109/TPDS.2015.2442980 A Survey of Software Techniques for Using Non-Volatile Memories for Storage and Main Memory Systems]", S. Mittal and J. Vetter, IEEE TPDS, 2015</ref><ref>{{cite web |url=http://www.wdc.com/WDProducts/SSD/whitepapers/en/NAND_Evolution_0812.pdf |title=NAND Evolution and its Effects on Solid State Drive Useable Life |publisher=Western Digital |year=2009 |accessdate=22 April 2012}}</ref> |
However, by applying certain algorithms and design paradigms such as [[wear leveling]] and [[Write amplification#Over-provisioning|memory over-provisioning]], the endurance of a storage system can be tuned to serve specific requirements.<ref name="flashnvm7">"[https://dx.doi.org/10.1109/TPDS.2015.2442980 A Survey of Software Techniques for Using Non-Volatile Memories for Storage and Main Memory Systems]", S. Mittal and J. Vetter, IEEE TPDS, 2015</ref><ref>{{cite web |url=http://www.wdc.com/WDProducts/SSD/whitepapers/en/NAND_Evolution_0812.pdf |title=NAND Evolution and its Effects on Solid State Drive Useable Life |publisher=Western Digital |year=2009 |accessdate=22 April 2012 |deadurl=yes |archiveurl=https://web.archive.org/web/20111112000643/http://www.wdc.com/WDProducts/SSD/whitepapers/en/NAND_Evolution_0812.pdf |archivedate=12 November 2011 |df=dmy-all }}</ref> |
||
In order to compute the longevity of the NAND flash, one must account for the size of the memory chip, the type of memory (e.g. SLC/MLC/TLC), and use pattern. |
In order to compute the longevity of the NAND flash, one must account for the size of the memory chip, the type of memory (e.g. SLC/MLC/TLC), and use pattern. |
||
Line 272: | Line 272: | ||
In 2005, Toshiba and [[SanDisk]] developed a NAND flash chip capable of storing 1 GB of data using [[multi-level cell]] (MLC) technology, capable of storing two bits of data per cell. In September 2005, [[Samsung Electronics]] announced that it had developed the world’s first 2 GB chip.<ref>{{cite news |first=Anton |last=Shilov |url=http://www.xbitlabs.com/news/memory/display/20050912212649.html |title=Samsung Unveils 2GB Flash Memory Chip |publisher=X-bit labs |date= 12 September 2005 |accessdate=30 November 2008}}</ref> |
In 2005, Toshiba and [[SanDisk]] developed a NAND flash chip capable of storing 1 GB of data using [[multi-level cell]] (MLC) technology, capable of storing two bits of data per cell. In September 2005, [[Samsung Electronics]] announced that it had developed the world’s first 2 GB chip.<ref>{{cite news |first=Anton |last=Shilov |url=http://www.xbitlabs.com/news/memory/display/20050912212649.html |title=Samsung Unveils 2GB Flash Memory Chip |publisher=X-bit labs |date= 12 September 2005 |accessdate=30 November 2008}}</ref> |
||
In March 2006, Samsung announced flash hard drives with a capacity of 4 GB, essentially the same order of magnitude as smaller laptop hard drives, and in September 2006, Samsung announced an 8 GB chip produced using a 40 nm manufacturing process.<ref>{{cite news |first=Wolfgang |last=Gruener |url=http://www.tgdaily.com/content/view/28504/135/ |title=Samsung announces 40 nm Flash, predicts 20 nm devices |publisher=TG Daily |date=11 September 2006 |accessdate=30 November 2008}}</ref> |
In March 2006, Samsung announced flash hard drives with a capacity of 4 GB, essentially the same order of magnitude as smaller laptop hard drives, and in September 2006, Samsung announced an 8 GB chip produced using a 40 nm manufacturing process.<ref>{{cite news |first=Wolfgang |last=Gruener |url=http://www.tgdaily.com/content/view/28504/135/ |title=Samsung announces 40 nm Flash, predicts 20 nm devices |publisher=TG Daily |date=11 September 2006 |accessdate=30 November 2008 }}{{dead link|date=October 2017 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> |
||
In January 2008, SanDisk announced availability of their 16 GB MicroSDHC and 32 GB SDHC Plus cards.<ref>{{cite web |url=http://www.sandisk.com/Corporate/PressRoom/PressReleases/PressRelease.aspx?ID=4079 |title=SanDisk Media Center |work=sandisk.com}}</ref><ref>{{cite web |url=http://www.sandisk.com/Corporate/PressRoom/PressReleases/PressRelease.aspx?ID=4091 |title=SanDisk Media Center |work=sandisk.com}}</ref> |
In January 2008, SanDisk announced availability of their 16 GB MicroSDHC and 32 GB SDHC Plus cards.<ref>{{cite web |url=http://www.sandisk.com/Corporate/PressRoom/PressReleases/PressRelease.aspx?ID=4079 |title=SanDisk Media Center |work=sandisk.com}}</ref><ref>{{cite web |url=http://www.sandisk.com/Corporate/PressRoom/PressReleases/PressRelease.aspx?ID=4091 |title=SanDisk Media Center |work=sandisk.com}}</ref> |
||
Line 311: | Line 311: | ||
One more recent application for flash memory is as a replacement for [[hard disk]]s. Flash memory does not have the mechanical limitations and latencies of hard drives, so a [[solid-state drive]] (SSD) is attractive when considering speed, noise, power consumption, and reliability. Flash drives are gaining traction as mobile device secondary storage devices; they are also used as substitutes for hard drives in high-performance desktop computers and some servers with [[RAID]] and [[Storage area network|SAN]] architectures. |
One more recent application for flash memory is as a replacement for [[hard disk]]s. Flash memory does not have the mechanical limitations and latencies of hard drives, so a [[solid-state drive]] (SSD) is attractive when considering speed, noise, power consumption, and reliability. Flash drives are gaining traction as mobile device secondary storage devices; they are also used as substitutes for hard drives in high-performance desktop computers and some servers with [[RAID]] and [[Storage area network|SAN]] architectures. |
||
There remain some aspects of flash-based SSDs that make them unattractive. The cost per gigabyte of flash memory remains significantly higher than that of hard disks.<ref>{{cite web |url= |
There remain some aspects of flash-based SSDs that make them unattractive. The cost per gigabyte of flash memory remains significantly higher than that of hard disks.<ref>{{cite web |url=http://elitepcbuilding.com/ssd-vs-hdd |title=SSD vs. HDD |author=Lyth0s |publisher=elitepcbuilding.com |date=17 March 2011 |accessdate=11 July 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20110820095531/http://elitepcbuilding.com/ssd-vs-hdd |archivedate=20 August 2011 |df=dmy-all }}</ref> Also flash memory has a finite number of P/E cycles, but this seems to be currently under control since warranties on flash-based SSDs are approaching those of current hard drives.<ref>{{cite web |url= http://www.storagesearch.com/bitmicro-art1.html |title=Flash Solid State Disks – Inferior Technology or Closet Superstar? |publisher=STORAGEsearch |accessdate=30 November 2008}}</ref> In addition, deleted files on SSDs can remain for an indefinite period of time before being overwritten by fresh data; erasure or shred techniques or software that work well on magnetic hard disk drives have no effect on SSDs, compromising security and forensic examination. |
||
For relational databases or other systems that require [[ACID]] transactions, even a modest amount of flash storage can offer vast speedups over arrays of disk drives.<ref>{{cite web |url=http://www.mysqlperformanceblog.com/2012/09/11/intel-ssd-910-vs-hdd-raid-in-tpcc-mysql-benchmark/ |title=Intel SSD 910 vs HDD RAID in tpcc-mysql benchmark |author=Vadim Tkachenko |work=MySQL Performance Blog}}</ref><ref>Matsunobu, Yoshinori. [http://www.slideshare.net/matsunobu/ssd-deployment-strategies-for-mysql "SSD Deployment Strategies for MySQL."] ''Sun Microsystems'', 15 April 2010.</ref> |
For relational databases or other systems that require [[ACID]] transactions, even a modest amount of flash storage can offer vast speedups over arrays of disk drives.<ref>{{cite web |url=http://www.mysqlperformanceblog.com/2012/09/11/intel-ssd-910-vs-hdd-raid-in-tpcc-mysql-benchmark/ |title=Intel SSD 910 vs HDD RAID in tpcc-mysql benchmark |author=Vadim Tkachenko |work=MySQL Performance Blog}}</ref><ref>Matsunobu, Yoshinori. [http://www.slideshare.net/matsunobu/ssd-deployment-strategies-for-mysql "SSD Deployment Strategies for MySQL."] ''Sun Microsystems'', 15 April 2010.</ref> |
Revision as of 03:25, 2 October 2017
This article needs to be updated.(October 2015) |
Computer memory and data storage types |
---|
Volatile |
Non-volatile |
Flash memory is an electronic (solid-state) non-volatile computer storage medium that can be electrically erased and reprogrammed.
Toshiba developed flash memory from EEPROM (electrically erasable programmable read-only memory) in the early 1980s and introduced it to the market in 1984. The two main types of flash memory are named after the NAND and NOR logic gates. The individual flash memory cells exhibit internal characteristics similar to those of the corresponding gates.
Where EPROMs had to be completely erased before being rewritten, NAND-type flash memory may be written and read in blocks (or pages) which are generally much smaller than the entire device. NOR-type flash allows a single machine word (byte) to be written – to an erased location – or read independently.
The NAND type operates primarily in memory cards, USB flash drives, solid-state drives (those produced in 2009 or later), and similar products, for general storage and transfer of data. NAND or NOR flash memory is also often used to store configuration data in numerous digital products, a task previously made possible by EEPROM or battery-powered static RAM. One key disadvantage of flash memory is that it can only endure a relatively small number of write cycles in a specific block.[1]
Example applications of both types of flash memory include personal computers, PDAs, digital audio players, digital cameras, mobile phones, synthesizers, video games, scientific instrumentation, industrial robotics, and medical electronics. In addition to being non-volatile, flash memory offers fast read access times, although not as fast as static RAM or ROM.[2] Its mechanical shock resistance helps explain its popularity over hard disks in portable devices, as does its high durability, ability to withstand high pressure, temperature and immersion in water, etc.[3]
Although flash memory is technically a type of EEPROM, the term "EEPROM" is generally used to refer specifically to non-flash EEPROM which is erasable in small blocks, typically bytes.[citation needed] Because erase cycles are slow, the large block sizes used in flash memory erasing give it a significant speed advantage over non-flash EEPROM when writing large amounts of data. As of 2013[update],[needs update?] flash memory costs much less than byte-programmable EEPROM and had become the dominant memory type wherever a system required a significant amount of non-volatile solid-state storage.
History
This section needs additional citations for verification. (July 2010) |
Flash memory (both NOR and NAND types) was invented by Fujio Masuoka while working for Toshiba circa 1980.[4][5] According to Toshiba, the name "flash" was suggested by Masuoka's colleague, Shōji Ariizumi, because the erasure process of the memory contents reminded him of the flash of a camera.[6] Masuoka and colleagues presented the invention at the IEEE 1987 International Electron Devices Meeting (IEDM) held in San Francisco.[7]
Intel Corporation saw the massive potential of the invention and introduced the first commercial NOR type flash chip in 1988.[8] NOR-based flash has long erase and write times, but provides full address and data buses, allowing random access to any memory location. This makes it a suitable replacement for older read-only memory (ROM) chips, which are used to store program code that rarely needs to be updated, such as a computer's BIOS or the firmware of set-top boxes. Its endurance may be from as little as 100 erase cycles for an on-chip flash memory,[9] to a more typical 10,000 or 100,000 erase cycles, up to 1,000,000 erase cycles.[10] NOR-based flash was the basis of early flash-based removable media; CompactFlash was originally based on it, though later cards moved to less expensive NAND flash.
NAND flash has reduced erase and write times, and requires less chip area per cell, thus allowing greater storage density and lower cost per bit than NOR flash; it also has up to 10 times the endurance of NOR flash. However, the I/O interface of NAND flash does not provide a random-access external address bus. Rather, data must be read on a block-wise basis, with typical block sizes of hundreds to thousands of bits. This makes NAND flash unsuitable as a drop-in replacement for program ROM, since most microprocessors and microcontrollers require byte-level random access. In this regard, NAND flash is similar to other secondary data storage devices, such as hard disks and optical media, and is thus highly suitable for use in mass-storage devices, such as memory cards. The first NAND-based removable media format was SmartMedia in 1995, and many others have followed, including:
A new generation of memory card formats, including RS-MMC, miniSD and microSD, feature extremely small form factors. For example, the microSD card has an area of just over 1.5 cm2, with a thickness of less than 1 mm. As of August 2017 microSD cards with capacity up to 400GB are available.[11][12]
Principles of operation
Flash memory stores information in an array of memory cells made from floating-gate transistors. In single-level cell (SLC) devices, each cell stores only one bit of information. In multi-level cell (MLC) devices, including triple-level cell (TLC) devices, can store more than one bit per cell.
The floating gate may be conductive (typically polysilicon in most kinds of flash memory) or non-conductive (as in SONOS flash memory).[13]
Floating-gate transistor
In flash memory, each memory cell resembles a standard MOSFET, except that the transistor has two gates instead of one. On top is the control gate (CG), as in other MOS transistors, but below this there is a floating gate (FG) insulated all around by an oxide layer. The FG is interposed between the CG and the MOSFET channel. Because the FG is electrically isolated by its insulating layer, electrons placed on it are trapped until they are removed by another application of electric field (e.g. Applied voltage or UV as in EPROM). Counter-intuitively, placing electrons on the FG sets the transistor to the logical "0" state. Once the FG is charged, the electrons in it screen (partially cancel) the electric field from the CG, thus, increasing the threshold voltage (VT1) of the cell. This means that now a higher voltage(VT2) must be applied to the CG to make the channel conductive. In order to read a value from the transistor, an intermediate voltage between the threshold voltages (VT1 & VT2) is applied to the CG. If the channel conducts at this intermediate voltage, the FG must be uncharged (if it was charged, we would not get conduction because the intermediate voltage is less than VT2), and hence, a logical "1" is stored in the gate. If the channel does not conduct at the intermediate voltage, it indicates that the FG is charged, and hence, a logical "0" is stored in the gate. The presence of a logical "0" or "1" is sensed by determining whether there is current flowing through the transistor when the intermediate voltage is asserted on the CG. In a multi-level cell device, which stores more than one bit per cell, the amount of current flow is sensed (rather than simply its presence or absence), in order to determine more precisely the level of charge on the FG.
Internal charge pumps
Despite the need for high programming and erasing voltages, virtually all flash chips today require only a single supply voltage, and produce the high voltages using on-chip charge pumps.
Over half the energy used by a 1.8 V NAND flash chip is lost in the charge pump itself. Since boost converters are inherently more efficient than charge pumps, researchers developing low-power SSDs have proposed returning to the dual Vcc/Vpp supply voltages used on all the early flash chips, driving the high Vpp voltage for all flash chips in a SSD with a single shared external boost converter.[14][15][16][17][18][19][20][21]
In spacecraft and other high-radiation environments, the on-chip charge pump is the first part of the flash chip to fail, although flash memories will continue to work – in read-only mode – at much higher radiation levels.[22]
NOR flash
In NOR flash, each cell has one end connected directly to ground, and the other end connected directly to a bit line. This arrangement is called "NOR flash" because it acts like a NOR gate: when one of the word lines (connected to the cell's CG) is brought high, the corresponding storage transistor acts to pull the output bit line low. NOR flash continues to be the technology of choice for embedded applications requiring a discrete non-volatile memory device. The low read latencies characteristic of NOR devices allow for both direct code execution and data storage in a single memory product.[23]
Programming
A single-level NOR flash cell in its default state is logically equivalent to a binary "1" value, because current will flow through the channel under application of an appropriate voltage to the control gate, so that the bitline voltage is pulled down. A NOR flash cell can be programmed, or set to a binary "0" value, by the following procedure:
- an elevated on-voltage (typically >5 V) is applied to the CG
- the channel is now turned on, so electrons can flow from the source to the drain (assuming an NMOS transistor)
- the source-drain current is sufficiently high to cause some high energy electrons to jump through the insulating layer onto the FG, via a process called hot-electron injection.
Erasing
To erase a NOR flash cell (resetting it to the "1" state), a large voltage of the opposite polarity is applied between the CG and source terminal, pulling the electrons off the FG through quantum tunneling. Modern NOR flash memory chips are divided into erase segments (often called blocks or sectors). The erase operation can be performed only on a block-wise basis; all the cells in an erase segment must be erased together. Programming of NOR cells, however, generally can be performed one byte or word at a time.
NAND flash
NAND flash also uses floating-gate transistors, but they are connected in a way that resembles a NAND gate: several transistors are connected in series, and the bit line is pulled low only if all the word lines are pulled high (above the transistors' VT). These groups are then connected via some additional transistors to a NOR-style bit line array in the same way that single transistors are linked in NOR flash.
Compared to NOR flash, replacing single transistors with serial-linked groups adds an extra level of addressing. Whereas NOR flash might address memory by page then word, NAND flash might address it by page, word and bit. Bit-level addressing suits bit-serial applications (such as hard disk emulation), which access only one bit at a time. Execute-in-place applications, on the other hand, require every bit in a word to be accessed simultaneously. This requires word-level addressing. In any case, both bit and word addressing modes are possible with either NOR or NAND flash.
To read data, first the desired group is selected (in the same way that a single transistor is selected from a NOR array). Next, most of the word lines are pulled up above the VT of a programmed bit, while one of them is pulled up to just over the VT of an erased bit. The series group will conduct (and pull the bit line low) if the selected bit has not been programmed.
Despite the additional transistors, the reduction in ground wires and bit lines allows a denser layout and greater storage capacity per chip. (The ground wires and bit lines are actually much wider than the lines in the diagrams.) In addition, NAND flash is typically permitted to contain a certain number of faults (NOR flash, as is used for a BIOS ROM, is expected to be fault-free). Manufacturers try to maximize the amount of usable storage by shrinking the size of the transistors.
Writing and erasing
NAND flash uses tunnel injection for writing and tunnel release for erasing. NAND flash memory forms the core of the removable USB storage devices known as USB flash drives, as well as most memory card formats and solid-state drives available today.
Vertical NAND
Vertical NAND (V-NAND) memory stacks memory cells vertically and uses a charge trap flash architecture. The vertical layers allow larger areal bit densities without requiring smaller individual cells.[24]
Structure
V-NAND uses a charge trap flash geometry (pioneered in 2002 by AMD)[citation needed] that stores charge on an embedded silicon nitride film. Such a film is more robust against point defects and can be made thicker to hold larger numbers of electrons. V-NAND wraps a planar charge trap cell into a cylindrical form.[24]
An individual memory cell is made up of one planar polysilicon layer containing a hole filled by multiple concentric vertical cylinders. The hole's polysilicon surface acts as the gate electrode. The outermost silicon dioxide cylinder acts as the gate dielectric, enclosing a silicon nitride cylinder that stores charge, in turn enclosing a silicon dioxide cylinder as the tunnel dielectric that surrounds a central rod of conducting polysilicon which acts as the conducting channel.[24]
Memory cells in different vertical layers do not interfere with each other, as the charges cannot move vertically through the silicon nitride storage medium, and the electric fields associated with the gates are closely confined within each layer. The vertical collection is electrically identical to the serial-linked groups in which conventional NAND flash memory is configured.[24]
Construction
Growth of a group of V-NAND cells begins with an alternating stack of conducting (doped) polysilicon layers and insulating silicon dioxide layers.[24]
The next step is to form a cylindrical hole through these layers. In practice, a 128 Gibit V-NAND chip with 24 layers of memory cells requires about 2.9 billion such holes. Next the hole's inner surface receives multiple coatings, first silicon dioxide, then silicon nitride, then a second layer of silicon dioxide. Finally, the hole is filled with conducting (doped) polysilicon.[24]
Performance
As of 2013, V-NAND flash architecture allows read and write operations twice as fast as conventional NAND and can last up to 10 times as long, while consuming 50 percent less power. They offer comparable physical bit density using 10-nm lithography, but may be able to increase bit density by up to two orders of magnitude.[24]
Limitations
Block erasure
One limitation of flash memory is that, although it can be read or programmed a byte or a word at a time in a random access fashion, it can be erased only a block at a time. This generally sets all bits in the block to 1. Starting with a freshly erased block, any location within that block can be programmed. However, once a bit has been set to 0, only by erasing the entire block can it be changed back to 1. In other words, flash memory (specifically NOR flash) offers random-access read and programming operations, but does not offer arbitrary random-access rewrite or erase operations. A location can, however, be rewritten as long as the new value's 0 bits are a superset of the over-written values. For example, a nibble value may be erased to 1111, then written as 1110. Successive writes to that nibble can change it to 1010, then 0010, and finally 0000. Essentially, erasure sets all bits to 1, and programming can only clear bits to 0. File systems designed for flash devices can make use of this capability, for example, to represent sector metadata.
Although data structures in flash memory cannot be updated in completely general ways, this allows members to be "removed" by marking them as invalid. This technique may need to be modified for multi-level cell devices, where one memory cell holds more than one bit.
Common flash devices such as USB flash drives and memory cards provide only a block-level interface, or flash translation layer (FTL), which writes to a different cell each time to wear-level the device. This prevents incremental writing within a block; however, it does help the device from being prematurely worn out by intensive write patterns.
Memory wear
Another limitation is that flash memory has a finite number of program – erase cycles (typically written as P/E cycles). Most commercially available flash products are guaranteed to withstand around 100,000 P/E cycles before the wear begins to deteriorate the integrity of the storage.[25] Micron Technology and Sun Microsystems announced an SLC NAND flash memory chip rated for 1,000,000 P/E cycles on 17 December 2008.[26]
The guaranteed cycle count may apply only to block zero (as is the case with TSOP NAND devices), or to all blocks (as in NOR). This effect is mitigated in some chip firmware or file system drivers by counting the writes and dynamically remapping blocks in order to spread write operations between sectors; this technique is called wear leveling. Another approach is to perform write verification and remapping to spare sectors in case of write failure, a technique called bad block management (BBM). For portable consumer devices, these wearout management techniques typically extend the life of the flash memory beyond the life of the device itself, and some data loss may be acceptable in these applications. For high reliability data storage, however, it is not advisable to use flash memory that would have to go through a large number of programming cycles. This limitation is meaningless for 'read-only' applications such as thin clients and routers, which are programmed only once or at most a few times during their lifetimes.
In December 2012, Taiwanese engineers from Macronix revealed their intention to announce at the 2012 IEEE International Electron Devices Meeting that they had figured out how to improve NAND flash storage read/write cycles from 10,000 to 100 million cycles using a "self-healing" process that used a flash chip with "onboard heaters that could anneal small groups of memory cells."[27] The built-in thermal annealing was to replace the usual erase cycle with a local high temperature process that not only erased the stored charge, but also repaired the electron-induced stress in the chip, giving write cycles of at least 100 million.[28] The result was to be a chip that could be erased and rewritten over and over, even when it should theoretically break down. As promising as Macronix’s breakthrough might have been for the mobile industry, however, there were no plans for a commercial product to be released any time in the near future.[29]
Read disturb
The method used to read NAND flash memory can cause nearby cells in the same memory block to change over time (become programmed). This is known as read disturb. The threshold number of reads is generally in the hundreds of thousands of reads between intervening erase operations. If reading continually from one cell, that cell will not fail but rather one of the surrounding cells on a subsequent read. To avoid the read disturb problem the flash controller will typically count the total number of reads to a block since the last erase. When the count exceeds a target limit, the affected block is copied over to a new block, erased, then released to the block pool. The original block is as good as new after the erase. If the flash controller does not intervene in time, however, a read disturb error will occur with possible data loss if the errors are too numerous to correct with an error-correcting code.[30][31]
X-ray effects
Most flash ICs come in ball grid array (BGA) packages, and even the ones that do not are often mounted on a PCB next to other BGA packages. After PCB Assembly, boards with BGA packages are often X-rayed to see if the balls are making proper connections to the proper pad, or if the BGA needs rework. These X-rays can erase programmed bits in a flash chip (convert programmed "0" bits into erased "1" bits). Erased bits ("1" bits) are not affected by X-rays.[32][33]
Some manufacturers are now making X-ray proof SD[34] and USB[35] memory devices.
Low-level access
The low-level interface to flash memory chips differs from those of other memory types such as DRAM, ROM, and EEPROM, which support bit-alterability (both zero to one and one to zero) and random access via externally accessible address buses.
NOR memory has an external address bus for reading and programming. For NOR memory, reading and programming are random-access, and unlocking and erasing are block-wise. For NAND memory, reading and programming are page-wise, and unlocking and erasing are block-wise.
NOR memories
Reading from NOR flash is similar to reading from random-access memory, provided the address and data bus are mapped correctly. Because of this, most microprocessors can use NOR flash memory as execute in place (XIP) memory, meaning that programs stored in NOR flash can be executed directly from the NOR flash without needing to be copied into RAM first. NOR flash may be programmed in a random-access manner similar to reading. Programming changes bits from a logical one to a zero. Bits that are already zero are left unchanged. Erasure must happen a block at a time, and resets all the bits in the erased block back to one. Typical block sizes are 64, 128, or 256 KiB.
Bad block management is a relatively new feature in NOR chips. In older NOR devices not supporting bad block management, the software or device driver controlling the memory chip must correct for blocks that wear out, or the device will cease to work reliably.
The specific commands used to lock, unlock, program, or erase NOR memories differ for each manufacturer. To avoid needing unique driver software for every device made, special Common Flash Memory Interface (CFI) commands allow the device to identify itself and its critical operating parameters.
Besides its use as random-access ROM, NOR flash can also be used as a storage device, by taking advantage of random-access programming. Some devices offer read-while-write functionality so that code continues to execute even while a program or erase operation is occurring in the background. For sequential data writes, NOR flash chips typically have slow write speeds, compared with NAND flash.
Typical NOR flash does not need an error correcting code.[36]
NAND memories
NAND flash architecture was introduced by Toshiba in 1989.[37] These memories are accessed much like block devices, such as hard disks. Each block consists of a number of pages. The pages are typically 512[38] or 2,048 or 4,096 bytes in size. Associated with each page are a few bytes (typically 1/32 of the data size) that can be used for storage of an error correcting code (ECC) checksum.
Typical block sizes include:
- 32 pages of 512+16 bytes each for a block size (effective) of 16 KB
- 64 pages of 2,048+64 bytes each for a block size of 128 KB[39]
- 64 pages of 4,096+128 bytes each for a block size of 256 KB[40]
- 128 pages of 4,096+128 bytes each for a block size of 512 KB.
While reading and programming is performed on a page basis, erasure can only be performed on a block basis.[41]
NAND devices also require bad block management by the device driver software, or by a separate controller chip. SD cards, for example, include controller circuitry to perform bad block management and wear leveling. When a logical block is accessed by high-level software, it is mapped to a physical block by the device driver or controller. A number of blocks on the flash chip may be set aside for storing mapping tables to deal with bad blocks, or the system may simply check each block at power-up to create a bad block map in RAM. The overall memory capacity gradually shrinks as more blocks are marked as bad.
NAND relies on ECC to compensate for bits that may spontaneously fail during normal device operation. A typical ECC will correct a one-bit error in each 2048 bits (256 bytes) using 22 bits of ECC, or a one-bit error in each 4096 bits (512 bytes) using 24 bits of ECC.[42] If the ECC cannot correct the error during read, it may still detect the error. When doing erase or program operations, the device can detect blocks that fail to program or erase and mark them bad. The data is then written to a different, good block, and the bad block map is updated.
Hamming codes are the most commonly used ECC for SLC NAND flash. Reed-Solomon codes and Bose-Chaudhuri-Hocquenghem codes are commonly used ECC for MLC NAND flash. Some MLC NAND flash chips internally generate the appropriate BCH error correction codes.[36]
Most NAND devices are shipped from the factory with some bad blocks. These are typically marked according to a specified bad block marking strategy. By allowing some bad blocks, the manufacturers achieve far higher yields than would be possible if all blocks had to be verified good. This significantly reduces NAND flash costs and only slightly decreases the storage capacity of the parts.
When executing software from NAND memories, virtual memory strategies are often used: memory contents must first be paged or copied into memory-mapped RAM and executed there (leading to the common combination of NAND + RAM). A memory management unit (MMU) in the system is helpful, but this can also be accomplished with overlays. For this reason, some systems will use a combination of NOR and NAND memories, where a smaller NOR memory is used as software ROM and a larger NAND memory is partitioned with a file system for use as a non-volatile data storage area.
NAND sacrifices the random-access and execute-in-place advantages of NOR. NAND is best suited to systems requiring high capacity data storage. It offers higher densities, larger capacities, and lower cost. It has faster erases, sequential writes, and sequential reads.
Standardization
A group called the Open NAND Flash Interface Working Group (ONFI) has developed a standardized low-level interface for NAND flash chips. This allows interoperability between conforming NAND devices from different vendors. The ONFI specification version 1.0[43] was released on 28 December 2006. It specifies:
- a standard physical interface (pinout) for NAND flash in TSOP-48, WSOP-48, LGA-52, and BGA-63 packages
- a standard command set for reading, writing, and erasing NAND flash chips
- a mechanism for self-identification (comparable to the serial presence detection feature of SDRAM memory modules)
The ONFI group is supported by major NAND flash manufacturers, including Hynix, Intel, Micron Technology, and Numonyx, as well as by major manufacturers of devices incorporating NAND flash chips.[44]
Two major flash device manufacturers, Toshiba and Samsung, have chosen to use an interface of their own design known as Toggle Mode (and now Toggle V2.0). This interface isn't pin-to-pin compatible with the ONFI specification. The result is a product designed for one vendor's devices may not be able to use another vendor's devices.[45]
A group of vendors, including Intel, Dell, and Microsoft, formed a Non-Volatile Memory Host Controller Interface (NVMHCI) Working Group.[46] The goal of the group is to provide standard software and hardware programming interfaces for nonvolatile memory subsystems, including the "flash cache" device connected to the PCI Express bus.
Distinction between NOR and NAND flash
NOR and NAND flash differ in two important ways:
- the connections of the individual memory cells are different
- the interface provided for reading and writing the memory is different (NOR allows random-access for reading, NAND allows only page access)
These two are linked by the design choices made in the development of NAND flash. A goal of NAND flash development was to reduce the chip area required to implement a given capacity of flash memory, and thereby to reduce cost per bit and increase maximum chip capacity so that flash memory could compete with magnetic storage devices like hard disks.[citation needed]
NOR and NAND flash get their names from the structure of the interconnections between memory cells.[47] In NOR flash, cells are connected in parallel to the bit lines, allowing cells to be read and programmed individually. The parallel connection of cells resembles the parallel connection of transistors in a CMOS NOR gate. In NAND flash, cells are connected in series, resembling a NAND gate. The series connections consume less space than parallel ones, reducing the cost of NAND flash. It does not, by itself, prevent NAND cells from being read and programmed individually.
Each NOR flash cell is larger than a NAND flash cell – 10 F2 vs 4 F2 – even when using exactly the same semiconductor device fabrication and so each transistor, contact, etc. is exactly the same size – because NOR flash cells require a separate metal contact for each cell.[48]
When NOR flash was developed, it was envisioned as a more economical and conveniently rewritable ROM than contemporary EPROM and EEPROM memories. Thus random-access reading circuitry was necessary. However, it was expected that NOR flash ROM would be read much more often than written, so the write circuitry included was fairly slow and could erase only in a block-wise fashion. On the other hand, applications that use flash as a replacement for disk drives do not require word-level write address, which would only add to the complexity and cost unnecessarily.[citation needed]
Because of the series connection and removal of wordline contacts, a large grid of NAND flash memory cells will occupy perhaps only 60% of the area of equivalent NOR cells[49] (assuming the same CMOS process resolution, for example, 130 nm, 90 nm, or 65 nm). NAND flash's designers realized that the area of a NAND chip, and thus the cost, could be further reduced by removing the external address and data bus circuitry. Instead, external devices could communicate with NAND flash via sequential-accessed command and data registers, which would internally retrieve and output the necessary data. This design choice made random-access of NAND flash memory impossible, but the goal of NAND flash was to replace mechanical hard disks, not to replace ROMs.
Attribute | NAND | NOR |
---|---|---|
Main Application | File storage | Code execution |
Storage capacity | High | Low |
Cost per bit | Better | |
Active Power | Better | |
Standby Power | Better | |
Write Speed | Good | |
Read Speed | Good |
Write endurance
The write endurance of SLC floating-gate NOR flash is typically equal to or greater than that of NAND flash, while MLC NOR and NAND flash have similar endurance capabilities. Examples of endurance cycle ratings listed in datasheets for NAND and NOR flash, as well as in storage devices using flash memory, are provided.[50]
Type of flash memory | Endurance rating (Erases per block) | Example(s) of flash memory or storage device |
---|---|---|
SLC NAND | 100,000 | Samsung OneNAND KFW4G16Q2M |
MLC NAND | 5,000 to 10,000 for medium-capacity applications; 1,000 to 3,000 for high-capacity applications |
Samsung K9G8G08U0M (Example for medium-capacity applications) |
TLC NAND | 1,000 | Samsung SSD 840 |
3D MLC NAND | 6,000 to 40,000 | Samsung SSD 850 PRO, Samsung SSD 845DC PRO[51][52] |
3D TLC NAND | 1,000 to 3,000 | Samsung SSD 850 EVO, Samsung SSD 845DC EVO, Crucial MX300[53][54][55] |
SLC (floating-gate) NOR | 100,000 to 1,000,000 | Numonyx M58BW (Endurance rating of 100,000 erases per block); Spansion S29CD016J (Endurance rating of 1,000,000 erases per block) |
MLC (floating-gate) NOR | 100,000 | Numonyx J3 flash |
However, by applying certain algorithms and design paradigms such as wear leveling and memory over-provisioning, the endurance of a storage system can be tuned to serve specific requirements.[2][56]
In order to compute the longevity of the NAND flash, one must account for the size of the memory chip, the type of memory (e.g. SLC/MLC/TLC), and use pattern.
Flash file systems
Because of the particular characteristics of flash memory, it is best used with either a controller to perform wear leveling and error correction or specifically designed flash file systems, which spread writes over the media and deal with the long erase times of NOR flash blocks.[57] The basic concept behind flash file systems is the following: when the flash store is to be updated, the file system will write a new copy of the changed data to a fresh block, remap the file pointers, then erase the old block later when it has time.
In practice, flash file systems are used only for memory technology devices (MTDs), which are embedded flash memories that do not have a controller. Removable flash memory cards and USB flash drives have built-in controllers to perform wear leveling and error correction so use of a specific flash file system does not add any benefit.
Capacity
Multiple chips are often arrayed to achieve higher capacities[58] for use in consumer electronic devices such as multimedia players or GPSs. The capacity of flash chips generally follows Moore's Law because they are manufactured with many of the same integrated circuits techniques and equipment.
Consumer flash storage devices typically are advertised with usable sizes expressed as a small integer power of two (2, 4, 8, etc.) and a designation of megabytes (MB) or gigabytes (GB); e.g., 512 MB, 8 GB. This includes SSDs marketed as hard drive replacements, in accordance with traditional hard drives, which use decimal prefixes.[59] Thus, an SSD marked as “64 GB” is at least 64 × 10003 bytes (64 GB). Most users will have slightly less capacity than this available for their files, due to the space taken by file system metadata.
The flash memory chips inside them are sized in strict binary multiples, but the actual total capacity of the chips is not usable at the drive interface. It is considerably larger than the advertised capacity in order to allow for distribution of writes (wear leveling), for sparing, for error correction codes, and for other metadata needed by the device's internal firmware.
In 2005, Toshiba and SanDisk developed a NAND flash chip capable of storing 1 GB of data using multi-level cell (MLC) technology, capable of storing two bits of data per cell. In September 2005, Samsung Electronics announced that it had developed the world’s first 2 GB chip.[60]
In March 2006, Samsung announced flash hard drives with a capacity of 4 GB, essentially the same order of magnitude as smaller laptop hard drives, and in September 2006, Samsung announced an 8 GB chip produced using a 40 nm manufacturing process.[61] In January 2008, SanDisk announced availability of their 16 GB MicroSDHC and 32 GB SDHC Plus cards.[62][63]
More recent flash drives (as of 2012) have much greater capacities, holding 64, 128, and 256 GB.[64]
A joint development at Intel and Micron will allow the production of 32-layer 3.5 terabyte (TB) NAND flash sticks and 10 TB standard-sized SSDs. The device includes 5 packages of 16 × 48 GB TLC dies, using a floating gate cell design.[65]
Flash chips continue to be manufactured with capacities under or around 1 MB, e.g., for BIOS-ROMs and embedded applications.
In July 2016, Samsung announced the 4TB Samsung 850 EVO which utilizes their 256 Gb 48-layer TLC 3D V-NAND.[66] In August 2016, Samsung announced a 32 TB 2.5-inch SAS SSD based on their 512 Gb 64-layer TLC 3D V-NAND. Further, Samsung expects to unveil SSDs with up to 100 TB of storage by 2020.[67]
Transfer rates
Flash memory devices are typically much faster at reading than writing.[68] Performance also depends on the quality of storage controllers which become more critical when devices are partially full.[68] Even when the only change to manufacturing is die-shrink, the absence of an appropriate controller can result in degraded speeds.[69]
Applications
Serial flash
Serial flash is a small, low-power flash memory that uses a serial interface, typically Serial Peripheral Interface Bus (SPI), for sequential data access. When incorporated into an embedded system, serial flash requires fewer wires on the PCB than parallel flash memories, since it transmits and receives data one bit at a time. This may permit a reduction in board space, power consumption, and total system cost.
There are several reasons why a serial device, with fewer external pins than a parallel device, can significantly reduce overall cost:
- Many ASICs are pad-limited, meaning that the size of the die is constrained by the number of wire bond pads, rather than the complexity and number of gates used for the device logic. Eliminating bond pads thus permits a more compact integrated circuit, on a smaller die; this increases the number of dies that may be fabricated on a wafer, and thus reduces the cost per die.
- Reducing the number of external pins also reduces assembly and packaging costs. A serial device may be packaged in a smaller and simpler package than a parallel device.
- Smaller and lower pin-count packages occupy less PCB area.
- Lower pin-count devices simplify PCB routing.
There are two major SPI flash types. The first type is characterized by small pages and one or more internal SRAM page buffers allowing a complete page to be read to the buffer, partially modified, and then written back (for example, the Atmel AT45 DataFlash or the Micron Technology Page Erase NOR Flash). The second type has larger sectors. The smallest sectors typically found in an SPI flash are 4 kB, but they can be as large as 64 kB. Since the SPI flash lacks an internal SRAM buffer, the complete page must be read out and modified before being written back, making it slow to manage. SPI flash is cheaper than DataFlash and is therefore a good choice when the application is code shadowing.
The two types are not easily exchangeable, since they do not have the same pinout, and the command sets are incompatible.
Firmware storage
With the increasing speed of modern CPUs, parallel flash devices are often much slower than the memory bus of the computer they are connected to. Conversely, modern SRAM offers access times below 10 ns, while DDR2 SDRAM offers access times below 20 ns. Because of this, it is often desirable to shadow code stored in flash into RAM; that is, the code is copied from flash into RAM before execution, so that the CPU may access it at full speed. Device firmware may be stored in a serial flash device, and then copied into SDRAM or SRAM when the device is powered-up.[70] Using an external serial flash device rather than on-chip flash removes the need for significant process compromise (a process that is good for high-speed logic is generally not good for flash and vice versa). Once it is decided to read the firmware in as one big block it is common to add compression to allow a smaller flash chip to be used. Typical applications for serial flash include storing firmware for hard drives, Ethernet controllers, DSL modems, wireless network devices, etc.
Flash memory as a replacement for hard drives
One more recent application for flash memory is as a replacement for hard disks. Flash memory does not have the mechanical limitations and latencies of hard drives, so a solid-state drive (SSD) is attractive when considering speed, noise, power consumption, and reliability. Flash drives are gaining traction as mobile device secondary storage devices; they are also used as substitutes for hard drives in high-performance desktop computers and some servers with RAID and SAN architectures.
There remain some aspects of flash-based SSDs that make them unattractive. The cost per gigabyte of flash memory remains significantly higher than that of hard disks.[71] Also flash memory has a finite number of P/E cycles, but this seems to be currently under control since warranties on flash-based SSDs are approaching those of current hard drives.[72] In addition, deleted files on SSDs can remain for an indefinite period of time before being overwritten by fresh data; erasure or shred techniques or software that work well on magnetic hard disk drives have no effect on SSDs, compromising security and forensic examination.
For relational databases or other systems that require ACID transactions, even a modest amount of flash storage can offer vast speedups over arrays of disk drives.[73][74]
In June 2006, Samsung Electronics released the first flash-memory based PCs, the Q1-SSD and Q30-SSD, both of which used 32 GB SSDs, and were at least initially available only in South Korea.[75]
A solid-state drive was offered as an option with the first MacBook Air introduced in 2008, and from 2010 onwards, all models shipped with an SSD. Starting in late 2011, as part of Intel's Ultrabook initiative, an increasing number of ultra-thin laptops are being shipped with SSDs standard.
There are also hybrid techniques such as hybrid drive and ReadyBoost that attempt to combine the advantages of both technologies, using flash as a high-speed non-volatile cache for files on the disk that are often referenced, but rarely modified, such as application and operating system executable files.
Flash memory as RAM
As of 2012, there are attempts to use flash memory as the main computer memory, DRAM.[76]
Archival or long-term storage
It is unclear how long flash memory will persist under archival conditions – i.e., benign temperature and humidity with infrequent access with or without prophylactic rewrite. Anecdotal evidence[specify] suggests that the technology is reasonably robust on the scale of years.[citation needed] Datasheets of Atmel's flash-based "ATmega" microcontrollers typically promise retention times of 20 years at 85 °C and 100 years at 25 °C.[77]
An article from CMU in 2015 writes that "Today's flash devices, which do not require flash refresh, have a typical retention age of 1 year at room temperature." And that temperature can lower the retention time exponentially. The phenomenon can be modeled by Arrhenius law.[78]
Industry
One source states that, in 2008, the flash memory industry includes about US$9.1 billion in production and sales. Other sources put the flash memory market at a size of more than US$20 billion in 2006, accounting for more than eight percent of the overall semiconductor market and more than 34 percent of the total semiconductor memory market.[79] In 2012, the market was estimated at $26.8 billion.[80]
Flash scalability
Due to its relatively simple structure and high demand for higher capacity, NAND flash memory is the most aggressively scaled technology among electronic devices. The heavy competition among the top few manufacturers only adds to the aggressiveness in shrinking the design rule or process technology node.[31] While the expected shrink timeline is a factor of two every three years per original version of Moore's law, this has recently been accelerated in the case of NAND flash to a factor of two every two years.
ITRS or company | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 |
---|---|---|---|---|---|---|---|
ITRS Flash Roadmap 2011[81] | 32 nm | 22 nm | 20 nm | 18 nm | 16 nm | ||
Updated ITRS Flash Roadmap[82] | 17 nm | 15 nm | 14 nm | ||||
Samsung[81][82] Samsung 3D NAND[82] |
35–32 nm | 27 nm | 21 nm (MLC, TLC) | 19 nm | 19–16 nm V-NAND (24L) |
12 nm V-NAND (32L) |
12 nm |
Micron, Intel[81][82] | 34–25 nm | 25 nm | 20 nm (MLC + HKMG) | 20 nm (TLC) | 16 nm | 3D-NAND | 3D-NAND Gen2 |
Toshiba, Sandisk[81][82] | 43–32 nm | 24 nm | 19 nm (MLC, TLC) | 15 nm | 3D NAND BiCS | 3D NAND BiCS | |
SK Hynix[81][82] | 46–35 nm | 26 nm | 20 nm (MLC) | 16 nm |
As the feature size of flash memory cells reaches the 15-16 nm minimum limit, further flash density increases will be driven by TLC (3 bits/cell) combined with vertical stacking of NAND memory planes. The decrease in endurance and increase in uncorrectable bit error rates that accompany feature size shrinking can be compensated by improved error correction mechanisms.[83] Even with these advances, it may be impossible to economically scale flash to smaller and smaller dimensions as the number of electron holding capacity reduces. Many promising new technologies (such as FeRAM, MRAM, PMC, PCM, ReRAM, and others) are under investigation and development as possible more scalable replacements for flash.[84]
See also
- List of flash file systems
- microSDXC (up to 2 TB)
- Secure USB drive
- Open NAND Flash Interface Working Group
- Write amplification
References
- ^ "A Flash Storage Technical and Economic Primer". flashstorage.com. 30 March 2015.
- ^ a b "A Survey of Software Techniques for Using Non-Volatile Memories for Storage and Main Memory Systems", S. Mittal and J. Vetter, IEEE TPDS, 2015
- ^ "Owners of QM2 seabed camera found". BBC News. 11 February 2010.
- ^ Fulford, Benjamin (24 June 2002). "Unsung hero". Forbes. Retrieved 18 March 2008.
- ^ US 4531203 Fujio Masuoka
- ^ "NAND Flash Memory: 25 Years of Invention, Development - Data Storage - News & Reviews - eWeek.com". eweek.com.
- ^ Masuoka, F.; Momodomi, M.; Iwata, Y.; Shirota, R. (1987). "New ultra high density EPROM and flash EEPROM with NAND structure cell". Electron Devices Meeting, 1987 International. IEEE. Retrieved 4 January 2013.
- ^ Tal, Arie (February 2002). "NAND vs. NOR flash technology: The designer should weigh the options when using flash memory". Retrieved 31 July 2010.
- ^ "H8S/2357 Group, H8S/2357F-ZTATTM, H8S/2398F-ZTATTM Hardware Manual, Section 19.6.1" (PDF). Renesas. October 2004. Retrieved 23 January 2012.
The flash memory can be reprogrammed up to 100 times.
- ^ "AMD DL160 and DL320 Series Flash: New Densities, New Features" (PDF). AMD. July 2003. Retrieved 13 November 2014.
The devices offer single-power-supply operation (2.7 V to 3.6 V), sector architecture, Embedded Algorithms, high performance, and a 1,000,000 program/erase cycle endurance guarantee.
- ^ SanDisk®. "Western Digital® Breaks Boundaries with World's Highest-Capacity microSD™ Card". www.sandisk.com. Retrieved 2 September 2017.
- ^ Bradley, Tony. "Expand Your Mobile Storage With New 400GB microSD Card From SanDisk". Forbes. Retrieved 2 September 2017.
- ^ Basinger, Matt (18 January 2007), PSoC Designer Device Selection Guide (PDF), AN2209,
The PSoC ... utilizes a unique Flash process: SONOS
- ^ Yasufuku, Tadashi; Ishida, Koichi; Miyamoto, Shinji; Nakai, Hiroto; Takamiya, Makoto; Sakurai, Takayasu; Takeuchi, Ken (2009), Inductor design of 20-V boost converter for low power 3D solid state drive with NAND flash memories, pp. 87–92
{{citation}}
: Unknown parameter|conference=
ignored (help) (abstract). - ^ Micheloni, Rino; Marelli, Alessia; Eshghi, Kam (2012), Inside Solid State Drives (SSDs)
- ^ Micheloni, Rino; Crippa, Luca (2010), Inside NAND Flash Memories In particular, pp 515-536: K. Takeuchi. "Low power 3D-integrated SSD"
- ^ Mozel, Tracey (2009), CMOSET Fall 2009 Circuits and Memories Track Presentation Slides
- ^ Tadashi Yasufuku et al., "Inductor and TSV Design of 20-V Boost Converter for Low Power 3D Solid State Drive with NAND Flash Memories". 2010.
- ^ Hatanaka, T. and Takeuchi, K. "4-times faster rising VPASS (10V), 15% lower power VPGM (20V), wide output voltage range voltage generator system for 4-times faster 3D-integrated solid-state drives". 2011.
- ^ Takeuchi, K., "Low power 3D-integrated Solid-State Drive (SSD) with adaptive voltage generator". 2010.
- ^ Ishida, K. et al., "1.8 V Low-Transient-Energy Adaptive Program-Voltage Generator Based on Boost Converter for 3D-Integrated NAND Flash SSD". 2011.
- ^ A. H. Johnston, "Space Radiation Effects in Advanced Flash Memories" Archived 4 March 2016 at the Wayback Machine. NASA Electronic Parts and Packaging Program (NEPP). 2001. "... internal transistors used for the charge pump and erase/write control have much thicker oxides because of the requirement for high voltage. This causes flash devices to be considerably more sensitive to total dose damage compared to other ULSI technologies. It also implies that write and erase functions will be the first parameters to fail from total dose. ... Flash memories will work at much higher radiation levels in the read mode. ... The charge pumps that are required to generate the high voltage for erasing and writing are usually the most sensitive circuit functions, usually failing below 10 krad(SI)."
- ^ Zitlaw, Cliff. "The Future of NOR Flash Memory". Memory Designline. UBM Media. Retrieved 3 May 2011.
- ^ a b c d e f g "Samsung moves into mass production of 3D flash memory". Gizmag.com. Retrieved 27 August 2013.
- ^ Jonathan Thatcher, Fusion-io; Tom Coughlin, Coughlin Associates; Jim Handy, Objective-Analysis; Neal Ekker, Texas Memory Systems (April 2009). "NAND Flash Solid State Storage for the Enterprise, An In-depth Look at Reliability" (PDF). Solid State Storage Initiative (SSSI) of the Storage Network Industry Association (SNIA). Retrieved 6 December 2011.
{{cite journal}}
: Cite journal requires|journal=
(help)CS1 maint: multiple names: authors list (link) - ^ "Micron Collaborates with Sun Microsystems to Extend Lifespan of Flash-Based Storage, Achieves One Million Write Cycles" (Press release). Micron Technology, Inc. 17 December 2008.
- ^ "Taiwan engineers defeat limits of flash memory". phys.org.
- ^ "Flash memory made immortal by fiery heat". theregister.co.uk.
- ^ "Flash memory breakthrough could lead to even more reliable data storage."
- ^ "TN-29-17 NAND Flash Design and Use Considerations Introduction" (PDF). Micron. April 2010. Retrieved 29 July 2011.
- ^ a b Kawamatus, Tatsuya. "TECHNOLOGY FOR MANAGING NAND FLASH" (PDF). Hagiwara sys-com co., LTD. Retrieved 1 August 2011.[permanent dead link ]
- ^ Richard Blish. "Dose Minimization During X-ray Inspection of Surface-Mounted Flash ICs". p. 1.
- ^ Richard Blish. "Impact of X-Ray Inspection on Spansion Flash Memory".
- ^ "SanDisk Extreme PRO SDHC/SDXC UHS-I Memory Card". Retrieved 3 February 2016.
- ^ "Samsung 32GB USB 3.0 Flash Drive FIT MUF-32BB/AM". Retrieved 3 February 2016.
- ^ a b Spansion. "What Types of ECC Should Be Used on Flash Memory?". 2011.
- ^ "DSstar: TOSHIBA ANNOUNCES 0.13 MICRON 1GB MONOLITHIC NAND". Tgc.com. 23 April 2002. Archived from the original on 27 December 2012. Retrieved 27 August 2013.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ Kim, Jesung; Kim, John Min; Noh, Sam H.; Min, Sang Lyul; Cho, Yookun (May 2002). "A Space-Efficient Flash Translation Layer for CompactFlash Systems" (PDF). Proceedings of the IEEE. Vol. 48, no. 2. pp. 366–375. Retrieved 15 August 2008.
- ^ TN-29-07: Small-Block vs. Large-Block NAND flash Devices Archived 8 June 2013 at the Wayback Machine Explains 512+16 and 2048+64-byte blocks
- ^ AN10860 LPC313x NAND flash data and bad block management Explains 4096+128-byte blocks.
- ^ Thatcher, Jonathan (18 August 2009). "NAND Flash Solid State Storage Performance and Capability – an In-depth Look" (PDF). SNIA. Retrieved 28 August 2012.
- ^ "Samsung ECC algorithm" (PDF). Samsung. June 2008. Retrieved 15 August 2008.
- ^ "Open NAND Flash Interface Specification" (PDF). Open NAND Flash Interface. 28 December 2006. Retrieved 31 July 2010.
- ^ A list of ONFi members is available at http://onfi.org/membership/.
- ^ "Toshiba Introduces Double Data Rate Toggle Mode NAND In MLC And SLC Configurations". toshiba.com.
- ^ "Dell, Intel And Microsoft Join Forces To Increase Adoption Of NAND-Based Flash Memory In PC Platforms". REDMOND, Wash: Microsoft. 30 May 2007. Retrieved 12 August 2014.
- ^ See pages 5–7 of Toshiba's "NAND Applications Design Guide" under External links.
- ^ NAND Flash 101: An Introduction to NAND Flash and How to Design It In to Your Next Product (PDF), Micron, pp. 2–3, TN-29-19
- ^ Pavan, Paolo; Bez, Roberto; Olivo, Piero; Zanoni, Enrico (1997). "Flash Memory Cells – An Overview" (PDF). Proceedings of the IEEE. Vol. 85, no. 8 (published August 1997). pp. 1248–1271. doi:10.1109/5.622505. Retrieved 15 August 2008.
- ^ http://electronicdesign.com/memory/fundamentals-flash-memory-storage
- ^ Vättö, Kristian. "Testing Samsung 850 Pro Endurance & Measuring V-NAND Die Size". AnandTech. Retrieved 11 June 2017.
- ^ Vättö, Kristian. "Samsung SSD 845DC EVO/PRO Performance Preview & Exploring IOPS Consistency". AnandTech. p. 3. Retrieved 11 June 2017.
- ^ Vättö, Kristian. "Samsung SSD 850 EVO (120GB, 250GB, 500GB & 1TB) Review". AnandTech. p. 4. Retrieved 11 June 2017.
- ^ Vättö, Kristian. "Samsung SSD 845DC EVO/PRO Performance Preview & Exploring IOPS Consistency". AnandTech. p. 2. Retrieved 11 June 2017.
- ^ Ramseyer, Chris. "Flash Industry Trends Could Lead Users Back to Spinning Disks". AnandTech. Retrieved 11 June 2017.
- ^ "NAND Evolution and its Effects on Solid State Drive Useable Life" (PDF). Western Digital. 2009. Archived from the original (PDF) on 12 November 2011. Retrieved 22 April 2012.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ "A survey of address translation technologies for flash memories", ACM Computing Surveys, 2014.
- ^ "Flash vs DRAM follow-up: chip stacking". The Daily Circuit. 22 April 2012. Retrieved 22 April 2012.
- ^ http://www.convertunits.com/type/computer+data+storage
- ^ Shilov, Anton (12 September 2005). "Samsung Unveils 2GB Flash Memory Chip". X-bit labs. Retrieved 30 November 2008.
- ^ Gruener, Wolfgang (11 September 2006). "Samsung announces 40 nm Flash, predicts 20 nm devices". TG Daily. Retrieved 30 November 2008.[permanent dead link ]
- ^ "SanDisk Media Center". sandisk.com.
- ^ "SanDisk Media Center". sandisk.com.
- ^ https://www.pcworld.com/article/225370/look_out_for_the_256gb_thumb_drive_and_the_128gb_tablet.html; https://techcrunch.com/2009/07/20/kingston-outs-the-first-256gb-flash-drive/ 20 July 2009, Kingston DataTraveler 300 is 256 GB.
- ^ Borghino, Dario (31 March 2015). "3D flash technology moves forward with 10 TB SSDs and the first 48-layer memory cells". Gizmag. Retrieved 31 March 2015.
- ^ "Samsung Launches Monster 4TB 850 EVO SSD Priced at $1,499 | Custom PC Review". Custom PC Review. 13 July 2016. Retrieved 8 October 2016.
- ^ "Samsung Unveils 32TB SSD Leveraging 4th Gen 64-Layer 3D V-NAND | Custom PC Review". Custom PC Review. 11 August 2016. Retrieved 8 October 2016.
- ^ a b Master, Neal; Andrews, Mathew; Hick, Jason; Canon, Shane; Wright, Nicholas (2010). "Performance analysis of commodity and enterprise class flash devices" (PDF). IEEE Petascale Data Storage Workshop.
- ^ "DailyTech - Samsung Confirms 32nm Flash Problems, Working on New SSD Controller". dailytech.com.
- ^ Many serial flash devices implement a bulk read mode and incorporate an internal address counter, so that it is trivial to configure them to transfer their entire contents to RAM on power-up. When clocked at 50 MHz, for example, a serial flash could transfer a 64 Mbit firmware image in less than two seconds.
- ^ Lyth0s (17 March 2011). "SSD vs. HDD". elitepcbuilding.com. Archived from the original on 20 August 2011. Retrieved 11 July 2011.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help)CS1 maint: numeric names: authors list (link) - ^ "Flash Solid State Disks – Inferior Technology or Closet Superstar?". STORAGEsearch. Retrieved 30 November 2008.
- ^ Vadim Tkachenko. "Intel SSD 910 vs HDD RAID in tpcc-mysql benchmark". MySQL Performance Blog.
- ^ Matsunobu, Yoshinori. "SSD Deployment Strategies for MySQL." Sun Microsystems, 15 April 2010.
- ^ "Samsung Electronics Launches the World's First PCs with NAND Flash-based Solid State Disk". Press Release. Samsung. 24 May 2006. Retrieved 30 November 2008.
- ^ Douglas Perry (2012) Princeton: Replacing RAM with Flash Can Save Massive Power.
- ^ "8-Bit AVR Microcontroller ATmega32A Datasheet Complete" (PDF). 19 February 2016. p. 18. Retrieved 29 May 2016.
Reliability Qualification results show that the projected data retention failure rate is much less than 1 PPM over 20 years at 85°C or 100 years at 25°C
- ^ "Data Retention in MLC NAND Flash Memory: Characterization, Optimization, and Recovery" (PDF). 27 January 2015. p. 10. Retrieved 27 April 2016.
- ^ Yinug, Christopher Falan (July 2007). "The Rise of the Flash Memory Market: Its Impact on Firm Behavior and Global Semiconductor Trade Patterns" (PDF). Journal of International Commerce and Economics. Archived from the original (PDF) on 29 May 2008. Retrieved 19 April 2008.
{{cite journal}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ NAND memory market rockets, April 17, 2013, Nermin Hajdarbegovic, TG Daily, retrieved at 18 April 2013
- ^ a b c d e "Technology Roadmap for NAND Flash Memory". techinsights. April 2013. Archived from the original on 9 January 2015. Retrieved 9 January 2015.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ a b c d e f "Technology Roadmap for NAND Flash Memory". techinsights. April 2014. Archived from the original on 9 January 2015. Retrieved 9 January 2015.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ Lal Shimpi, Anand (2 December 2010). "Micron's ClearNAND: 25nm + ECC, Combats Increasing Error Rates". Anandtech. Retrieved 2 December 2010.
- ^ Kim, Kinam; Koh, Gwan-Hyeob (16 May 2004). Future Memory Technology including Emerging New Memories (PDF). Serbia and Montenegro: Proceedings of the 24th International Conference on Microelectronics. pp. 377–384. Retrieved 15 August 2008.
External links
- Semiconductor Characterization System has diverse functions
- NAND Flash Applications Design Guide by Toshiba, April 2003 v. 1.0
- Understanding and selecting higher performance NAND architectures
- How flash storage works presentation by David Woodhouse from Intel
- Flash endurance testing
- http://www.spansion.com/Support/Application%20Notes/EnduranceRetention_AN.pdf
- http://www.cse.scu.edu/~tschwarz/coen180/LN/flash.html
- NAND Flash Data Recovery Cookbook