Flash Memory
NOR and NAND flash, SLC/MLC/TLC, wear leveling, and modern solid-state storage.
Flash memory evolved from EEPROM to become the dominant non-volatile storage technology. It comes in two main architectures: NOR flash (for code execution) and NAND flash (for mass storage). Flash powers everything from microcontroller firmware to SSDs and USB drives. Understanding flash technology, including multi-level cells and wear management, is essential for modern electronics design.
Objectives
- Compare NOR flash and NAND flash architectures
- Explain SLC, MLC, TLC, and QLC cell types
- Describe program and erase operations (Fowler-Nordheim tunneling)
- Understand wear leveling and its importance for flash lifetime
- Calculate flash storage capacity and performance characteristics
Key Takeaways
- NOR flash: random access, XIP capable, used for firmware
- NAND flash: page-based, high density, used for mass storage
- SLC → MLC → TLC → QLC: more bits/cell but lower endurance
- Wear leveling distributes writes to extend lifetime
- FTL manages the complexity of flash for the host system
Applications
- Solid-State Drives: NAND flash SSDs replaced HDDs for fast computer storage.
- SD Cards & USB Drives: Portable NAND flash storage in compact form factors.
- Microcontroller Firmware: On-chip NOR flash stores program code.
- Embedded Systems: eMMC and UFS provide integrated flash storage for mobile devices.
Practice Problems
Problem 1: A NAND flash chip has 4096 blocks, each with 64 pages of 4 KB. What is the total capacity?
Problem 2: TLC flash stores 3 bits per cell. If a die has 1 billion cells, what is the raw capacity?
Problem 3: An SSD with TLC flash (3000 P/E cycles) has 500 GB capacity and writes 50 GB/day. Estimate lifetime with perfect wear leveling.
Problem 4: Why can't NAND flash be used for execute-in-place (XIP) like NOR flash?