π‘ What is EPROM?
EPROM stands for Erasable Programmable Read-Only Memory.
Itβs a type of non-volatile memory that:
β‘ Key Characteristics of EPROM:
| Feature | Description |
|---|---|
| π Programmable | β Yes |
| β Rewritable | β Yes (but not instantly) |
| β‘ Erasable | β Yes, using ultraviolet (UV) light |
| π Volatile | β No (retains data without power) |
| β±οΈ Rewrite cycles | Limited (typically a few hundred to thousands) |
π How EPROM Works (Simplified):
-
Internally, data is stored in transistors with floating gates.
-
To program it, a special voltage is applied to store charges in these gates.
-
To erase it, the EPROM chip is exposed to UV light for several minutes.
-
It has a quartz window on top for this reason.
-
UV light discharges the floating gates, erasing the chip.
-
β οΈ Once erased, the entire chip is clearedβnot selective erasing like in EEPROM.
π§ͺ EPROM Lifecycle:
[Blank chip] β Program β Use β Erase with UV β Reprogram β Repeatπ¦ Use Cases of EPROM:
| Use Case | Why EPROM? |
|---|---|
| π§ Embedded systems during development | Allows iterative programming during testing |
| π§ͺ Prototype boards | Code can be changed if bugs are found |
| π Old BIOS chips | Reprogrammable but secure until exposed to UV |
| πΎ Device firmware | In older electronics, before EEPROM/flash became popular |
β Limitations of EPROM:
| Limitation | Impact |
|---|---|
| βοΈ UV erasing is slow | Takes ~10β20 minutes |
| β Erases entire chip | No selective erase |
| π Needs special hardware | UV eraser, programmer |
| π΄ Obsolete | Replaced by faster, more flexible EEPROM and flash memory |
π§ Interview-Ready Definition:
EPROM (Erasable Programmable Read-Only Memory) is a type of non-volatile memory that can be programmed electrically and erased using ultraviolet light. It allows multiple write cycles but requires full-chip erasure before rewriting, making it suitable for firmware development and older embedded systems.