About the difference between Nor-flash and Nand-flash _a

Source: Internet
Author: User

Nandflash:

Nand-flash memory is a kind of flash memory, in 1989, Toshiba Company published the NAND flash structure. The non-linear macro element model is adopted in the system, which provides a cheap and effective solution for the realization of the solid-state large-capacity memory. Nand-flash memory has the advantages of large capacity, fast rewriting speed, and is suitable for storage of large amount of data, so it has been widely used in the industry, such as embedded products including digital camera, MP3 Walkman memory card, compact U disk, etc.

Norflash:

Nor Flash is an Intel company that developed nor Flash technology in 1988. Nor is characterized by in-chip execution (XIP, execute in place) so that the application can run directly in Flash flash memory without having to read the code into the system RAM. Nor is highly cost effective in 1~4MB small capacity, but very low write and erase speeds greatly affect its performance, as well as its high transmission efficiency.

Difference:

One, NAND flash and NOR flash performance comparison

Flash Flash memory is non-volatile memory, can be called Block of memory unit block for Erasure and re-programming. The write operation of any flash device can only be done within an empty or erased unit, so in most cases the erase must be performed before the write operation. The erasure of NAND devices is straightforward, and nor does it require that all bits in the target block be written to 0 before erasing. Since the erase nor device is carried out in a 64~128kb block, the time to perform a write/erase operation is 5s, in contrast, the erasure of the NAND device is carried out in a 8~32kb block, and the same operation is performed for up to 4ms. The difference in block size when performing the erase further widens the performance gap between nor and NADN, and the statistics show that for a given set of writes (especially when updating small files), more erase operations must be done in the nor-based unit. This way, when choosing a storage solution, the designer must weigh the following factors.

1, nor read a bit faster than NAND.

2, NAND write speed is much faster than nor.

3, NAND 4ms erase speed is much faster than nor 5s.

4. Most write operations require a wipe operation first.

5, the NAND erase unit is smaller, the corresponding erase circuit less.

Second, NAND Flash and NOR flash interface differences

NOR Flash has an SRAM interface with enough address pins to be addressable, which makes it easy to access every byte inside of it. NAND devices use complex I/O ports to sequentially access data, and the methods of each product or vendor may vary. 8 pins are used to transmit control, address, and data information. NAND read and write operations take a 512-byte block, which is a bit like a hard drive to manage such operations, and it is natural that NAND-based storage can replace hard disks or other block devices.

Iii. capacity and cost of NAND flash and NOR flash

NAND Flash unit sizes are almost half the size of nor devices, and because of the simpler production process, NAND structures can provide higher capacity within a given mold size and correspondingly lower prices. Nor Flash occupies the bulk of the 1~16MB flash market, while NAND flash is used only in 8~128MB products, which also shows that nor is it primarily used in code storage media, NAND is suitable for data storage, NAND in CompactFlash, The largest share of Secure Digital, PC cards and MMC memory cards is in the market.

Iv. reliability and durability of NAND flash and NOR flash

One of the key issues to consider when using flahs media is reliability. Flash is a very suitable storage solution for systems that require extended MTBF. The reliability of nor and NAND can be compared from three aspects of longevity (durability), bit switching and bad block handling.

V, NAND Flash and NOR flash life (durability)

The maximum number of erase times per block in the NAND flash memory is 1 million, and nor is 100,000 times the number of erase writes. In addition to the 10:1 block erase cycle advantage of NAND memory, the typical NAND block size is 8 times times smaller than nor, and each NAND memory block is removed less frequently within a given time.

Six, Bit Exchange

All flash devices are subject to the phenomenon of bit switching. In some cases (rarely seen, NAND occurs more often than nor), a bit is reversed or reversed. One change may not be obvious, but if it happens on a critical file, this small glitch can lead to system downtime. If you just report a problem, read it a few times and it can be solved. Of course, if this bit really changes, then the error detection/error correction (EDC/ECC) algorithm must be used. Bit reversal problem is more common in NAND flash, NAND vendors recommend using NAND flash while using

Seven, EDC/ECC algorithm

This problem is not fatal when storing multimedia information in NAND. Of course, if you are using a local storage device to store operating systems, configuration files, or other sensitive information, you must use the EDC/ECC system to ensure reliability.

Eight, bad block processing

The bad blocks in the NAND device are randomly distributed. There have been efforts to eliminate the bad block, but found that the yield is too low, the price is too high, it is not cost-effective. The NAND device requires an initial scan of the media to discover the bad block and mark the bad block as unavailable. In devices that have been made, failure to do so through a reliable method will result in high fault rates.

Nine, easy to use

You can use nor-based flash memory very directly, you can connect like other storage, and you can run code directly on it. NAND is much more complex due to the need for I/O interfaces. Access methods for various NAND devices vary by manufacturer. When using a NAND device, you must write to the driver before you can continue with other operations. Writing information to NAND devices requires considerable skill, as designers must never write to bad blocks, which means that virtual mapping is required throughout the NAND device.

Ten, software support

When discussing software support, you should distinguish between basic read/write/erase operations and high-level software for disk emulation and flash management algorithms, including performance optimizations. No software support is required to run code on nor devices, and in the same operation on NAND devices, drivers are often required, i.e. memory technology drivers (MTD), and NAND and nor devices require MTD for both write and erase operations. There is a relatively small amount of MTD required to use nor devices, and many vendors offer more advanced software for nor devices, including the M-system TrueFFS driver, which is driven by Wind River System, Microsoft, QNX software Used by vendors such as System, Symbian, and Intel. The drive is also used to simulate and manage NAND flash for diskonchip products, including error correction, bad block handling, and loss balancing.

About the difference between Nor-flash and Nand-flash _a

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.