πŸ’‘ What is EPROM?

EPROM stands for Erasable Programmable Read-Only Memory.

It’s a type of non-volatile memory that:

  • Can be programmed like PROM,

  • But unlike PROM, it can also be erased and reprogrammed.


⚑ Key Characteristics of EPROM:

FeatureDescription
πŸ” Programmableβœ… Yes
❌ Rewritableβœ… Yes (but not instantly)
⚑ Erasableβœ… Yes, using ultraviolet (UV) light
πŸ”‹ Volatile❌ No (retains data without power)
⏱️ Rewrite cyclesLimited (typically a few hundred to thousands)

πŸ” How EPROM Works (Simplified):

  1. Internally, data is stored in transistors with floating gates.

  2. To program it, a special voltage is applied to store charges in these gates.

  3. 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 CaseWhy EPROM?
πŸ”§ Embedded systems during developmentAllows iterative programming during testing
πŸ§ͺ Prototype boardsCode can be changed if bugs are found
🏭 Old BIOS chipsReprogrammable but secure until exposed to UV
πŸ’Ύ Device firmwareIn older electronics, before EEPROM/flash became popular

❌ Limitations of EPROM:

LimitationImpact
β˜€οΈ UV erasing is slowTakes ~10–20 minutes
❎ Erases entire chipNo selective erase
πŸ” Needs special hardwareUV eraser, programmer
πŸ‘΄ ObsoleteReplaced 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.