EEPROM_ Bridging Firmware and Hardware
EEPROM_ Bridging Firmware and Hardware
E2PROM By,
Nishma Rakshak
(electrically erasable programmable
read-only memory)
Overview
● It is a type of non-volatile memory.
● It is used in computers, usually integrated in microcontrollers such as smart cards and
remote keyless systems, or as a separate chip device, to store relatively small amounts of
data by allowing individual bytes to be erased and reprogrammed.
● Flash memory is a type of EEPROM designed for high speed and high density
Nishma Rakshak
Programming & Erasing process
Old EEPROMs are based on avalanche breakdown-based hot-carrier injection with high reverse
breakdown voltage. But FLOTOX theoretical basis is Fowler–Nordheim tunneling hot-carrier injection
through a thin silicon dioxide layer between the floating gate and the wafer. In other words, it uses a
tunnel junction.
Nishma Rakshak
Electrical interface
The common serial interfaces are SPI, I²C, Microwire, UNI/O, and Parallel EEPROM devices typically have an 8-bit
1-Wire. These use from 1 to 4 device pins and allow devices to use data bus and an address bus wide enough to cover
packages with 8 pins or less. the complete memory. Most devices have chip select
and write protect pins. Some microcontrollers also
A typical EEPROM serial protocol consists of three phases: OP-code have integrated parallel EEPROM.
phase, address phase and data phase. The OP-code is usually the first 8
bits input to the serial input pin of the EEPROM device (or with most I²C
devices, is implicit); followed by 8 to 24 bits of addressing, depending on
the depth of the device, then the read or write data.
Operation of a parallel EEPROM is simple and fast when compared to serial EEPROM, but these
devices are larger due to the higher pin count (28 pins or more) and have been decreasing in
popularity in favor of serial EEPROM or flash.
Nishma Rakshak
Failure modes : 2 failure modes
During rewrites, the gate oxide in the During storage, the electrons injected into the
floating-gate transistors gradually accumulates floating gate may drift through the insulator,
trapped electrons. The electric field of the especially at increased temperature, and cause
trapped electrons adds to the electrons in the charge loss, reverting the cell into erased
floating gate, lowering the window between state. The manufacturers usually guarantee data
threshold voltages for zeros vs ones. After
retention of 10 years or more.
sufficient number of rewrite cycles, the
difference becomes too small to be recognizable,
the cell is stuck in programmed state, and
endurance failure occurs. The manufacturers
usually specify the maximum number of rewrites
being 1 million or more.
Nishma Rakshak
Firmware EEPROM Mem cell
Each memory cell has a floating-gate transistor whose
threshold voltage determines its state (0 or 1).
Cell Programming:
A high voltage is applied to the transistor gate,
causing electrons to tunnel through an insulating
The data to be written is
layer and get trapped in the floating gate.
received by the EEPROM.
5 - 10 ms delay
Write Operation Nishma Rakshak
Firmware EEPROM Mem cell
Each memory cell has a
floating-gate transistor whose
Read operation
Address Decoding: threshold voltage determines its
initiated from FW The EEPROM decodes this
address to locate the target state (0 or 1).
Memory address
memory cell.
Data Output:
Nishma Rakshak
Difference between EEPROM and Flash and
EPROM
Type Inject electrons onto gate Duration Remove electrons from Duration/mode
gate
(mostly interpreted as
bit=0) (mostly interpreted as
bit=1)
EEPROM field electron emission 0.1—5 ms, bytewise field electron emission 0.1—5 ms, blockwise
NOR flash hot-carrier injection 0.01—1 ms field electron emission 0.01—1 ms, blockwise
memory
EPROM hot-carrier injection 3—50 ms, bytewise UV light 5—30 minutes, whole chip
Nishma Rakshak