4.1.7 · D3Memory Technologies

Worked examples — ROM, PROM, EPROM, EEPROM

2,643 words12 min readBack to topic

This page is the practice arena for the parent topic. The parent explained what each memory is. Here we drill the harder question the exam and the real world actually ask: given a situation, which member of the family survives it — and for how long?

Before any example, one promise: every symbol we use is defined the moment it appears. If you meet , , or "endurance" and feel lost, that is a bug in this page, not in you.


The scenario matrix

Think of every problem this topic can throw as a cell in a grid. One axis is what is being decided (which chip, or how long it lasts, or what physically happens). The other axis is the twist (a limiting case, a degenerate input, a real word problem, an exam trap). Below is the full grid; every example that follows is tagged with the cell it fills.

Cell What the problem tests Twist type
C1 Pick the chip: huge volume, fixed data Real-world word problem
C2 Pick the chip: field-updatable, small data Real-world word problem
C3 Pick the chip: lab prototype, rewrite often Real-world word problem
C4 Endurance budget: does the cell survive? Normal numeric
C5 Endurance with wear leveling Numeric + fix
C6 Degenerate input: zero rewrites needed Edge case
C7 Limiting case: retention over decades Limiting behaviour
C8 Physics twist: what shifts , read as 0/1 Case coverage (both bit states)
C9 Exam trap: EPROM vs EEPROM vs Flash erase Exam-style twist
C10 Cost crossover: mask cost vs per-unit Numeric break-even

We will hit all ten cells with ten worked examples. Terms you'll need are built as they arrive; if you want the deeper background, the physics leans on Floating-Gate Transistor, MOSFET and Threshold Voltage, and Fowler–Nordheim Tunneling.


C1 — Millions of units, data never changes


C2 — Small updates in the field


C3 — Lab prototype, rewrite often, cost irrelevant


C4 — Endurance budget: does one cell survive?

First, the term. Endurance = the number of write/erase cycles a single cell can take before its oxide wears out and it stops reliably storing a bit. Rated as a count, e.g. cycles.


C5 — Same job, but spread the wear


C6 — Degenerate input: zero rewrites needed


C7 — Limiting behaviour: retention over decades

Here the star is retention — how long trapped charge stays on the floating gate with the power off. The parent gave the leakage law; we read its limiting behaviour.


C8 — Both bit states: what the trapped charge does

This example covers both logic values, so no reader hits an unshown case.

Figure — ROM, PROM, EPROM, EEPROM

C9 — Exam trap: three erase mechanisms, don't confuse them


C10 — Cost crossover: mask ROM vs EEPROM break-even


The matrix, now filled

Scenario matrix

C1 volume fixed -- ROM

C2 field update -- EEPROM

C3 prototype -- EPROM

C4 endurance 69 days

C5 wear leveling 190 years

C6 zero rewrites -- ROM or PROM

C7 retention exponential

C8 both bit states

C9 erase methods

C10 cost crossover 100k units

Recall Self-test: name the deciding factor

C1 vs C10 decide by? ::: Volume — per-unit cost dominates only at scale (break-even ~100k units). C4 vs C5 differ by? ::: Wear leveling — spreading writes over N cells multiplies endurance by N. C7's key insight? ::: Leakage is exponential in oxide thickness, so retention improves enormously with modest oxide changes. C8's stored bit is the sign of what? ::: — trapped charge raises , flipping conduction.

See also: Volatile vs Non-Volatile Memory, RAM (SRAM, DRAM), Memory Hierarchy, Boot Firmware and BIOS.