FT01
FT01
This article was originally published in 1995. AUTOMATED WRITE AND ERASE
One feature that many current-generation flash
INTRODUCTION devices have is an on-chip state machine that auto-
Flash memory is a programmable, read-only, non- mates WRITE and ERASE. First-generation flash and
volatile memory similar to EPROM and EEPROM. Al- EPROM typically require the host system or program-
though flash memory is a derivative of EPROM and mer to execute complex algorithms to write and erase.
EEPROM, it possesses many advantages that make it a These algorithms are required to write any flash cell,
more attractive nonvolatile memory choice. This tech- but on current-generation flash the algorithms are
nical note describes these advantages, as well as other executed internally by a state machine. This frees the
characteristics inherent to Micron’s boot block flash host system to do other tasks while the state machine
memory technology. writes or erases the flash memory and simplifies design-
in of flash by reducing software overhead necessary to
GENERAL FLASH CHARACTERISTICS write or erase the device.
Although flash shares many characteristics with During a WRITE, the state machine controls the
EPROM and EEPROM, current-generation flash differs WRITE pulse timing to the cell, tracks the number of
in that ERASE operations are done in blocks. Flash, pulses issued, controls the voltages applied to the cell
EPROM and EEPROM all must be erased before being and verifies that the data was written correctly. When
written. When erasing EPROM, the entire chip is erased executing an ERASE, the state machine first writes all
with a UV light source. EEPROM is automatically locations within the block to “0” so that each cell
erased before a WRITE on a byte basis. Flash is either contains uniform charge. The state machine then issues
erased in blocks (boot block or sectored erase block the ERASE pulses to the cells within the block and
flash) or the entire chip at once (bulk erase flash). monitors the ERASE for completion. At any time dur-
Boot block devices have erase blocks that vary in size ing a WRITE or ERASE, the status register may be read
from 4KB to 128KB. A hardware-protected boot block to monitor the WRITE or ERASE in progress or to check
(typically 16KB) provides maximum security for core for the completion of the WRITE or ERASE cycle.
firmware. To write or erase the boot block, the reset pin
must be brought to a super-voltage (VHH = 12V) or the FLASH CELL STRUCTURE
write protect pin (WP#) brought to VIH in addition to Most flash devices share basically the same cell
the normal WRITE or ERASE sequences. Sectored erase structure as the EPROM cell. Both the flash and EPROM
block flash has blocks of equal size, some with no cells are dual polysilicon (poly), floating-gate CMOS
additional hardware protection. This configuration is field effect transistors. The first poly layer is isolated
suited for mass storage or firmware applications. from the control gate by an interpoly dielectric layer
Although flash is erased on a block basis, WRITE and from the substrate by a thin oxide layer.
and READ operations are done on a random byte or
word basis.
VG = VPP
e- e- e- e- e-e-e- e- e-
VD ≈ 6V
e-
e e- e- - e - e -
e - e - ee--e -
e- e-e- -e-
e -e e- - e - e - e -e e - e-
Source n+ e- n+ Drain (Bitline)
Inversion Region
Substrate (p-type)
Figure 2
Flash Cell during a WRITE
TN-28-01
FT01.p65 – Rev. 12/99 2 Micron Technology, Inc., reserves the right to change products or specifications without notice.
©1999, Micron Technology, Inc.
TN-28-01
BOOT BLOCK FLASH MEMORY
e- e- e- e- VD = No Connection
VS ≈ VPP e- e- e-
e - e - e - e - e - e -e - e-
e-
e -e -ee-e- -
e - e -e -e -
e -ee- -
e-
Source n+ n+ Drain (Bitline)
Substrate (p-type)
Figure 3
Flash Cell During High-Voltage Source ERASE
TN-28-01
FT01.p65 – Rev. 12/99 3 Micron Technology, Inc., reserves the right to change products or specifications without notice.
©1999, Micron Technology, Inc.
TN-28-01
BOOT BLOCK FLASH MEMORY
WRITING
Similar to READs, WRITEs are also done on a exposed to high voltages, reducing the chance for data
random-access basis. The addressed wordline is brought corruption of other blocks during an ERASE.
to a super-voltage of 12 volts, the bitline (drain) is
brought to approximately 6 volts, while the source SUMMARY
remains at 0 volts. All other wordlines within the array Micron’s boot block flash memory family provides
remain low. designers with secure, updatable firmware storage.
WRITE operations implement hot electron injection
ERASING similar to EPROM, and ERASE operations use Fowler-
ERASE operations are done on a block basis in NOR Nordheim tunneling similar to EEPROM. However, by
flash memory. The source of a cell is common to each automating the write and erase algorithms, the state
cell within a given erase block. During an ERASE, the machine simplifies design-in of flash memory. With
bitlines are left open, all the wordlines are at 0 volts, the NOR architecture, the highest random-access WRITE
and the source is brought to 12 volts, erasing all cells and READ performance is achieved.
within the block. The other blocks in the device are not
BL0 BL1
Source
S S
WL0
D D
WL1
S S
WL2
D D
Figure 4
NOR Flash Cell Array
TN-28-01
FT01.p65 – Rev. 12/99 4 Micron Technology, Inc., reserves the right to change products or specifications without notice.
©1999, Micron Technology, Inc.