Skip to content
Home

Read-only memory (ROM): overview, types, history, and uses

Non-volatile memory that stores firmware and system code. ROM preserves data without power and includes mask ROM, PROM, EPROM, EEPROM and flash; widely used for boot firmware and embedded systems.

Read-only memory, commonly abbreviated ROM, refers to memory that retains its contents when a device is powered off. Unlike volatile memory such as RAM, ROM is designed for long-term storage of programs and data that do not need frequent modification. In many systems the boot code or initialization routines are placed in ROM so that a device can start up reliably; see general information about memory at memory. ROM is usually implemented as semiconductor chips built into a circuit board or integrated into a system-on-chip.

Image gallery

6 Images

Key characteristics

ROM is non-volatile and typically not writable during normal operation. That makes it ideal for storing firmware: low-level software that implements device-specific control and startup procedures. Because traditional ROM cannot be rewritten in the field, later designs introduced electrically or optically erasable variants that allow updates while preserving non-volatility. ROM contents are often protected to prevent accidental or malicious modification.

Common types of ROM

  • Mask ROM: Programmed during manufacturing by permanently encoding bits; economical at large volumes but cannot be changed after fabrication.
  • PROM (Programmable ROM): Manufactured blank and programmed once by the user or factory using special equipment; irreversible.
  • EPROM (Erasable PROM): Can be erased (typically with ultraviolet light) and reprogrammed, used in development and early field-updatable products.
  • EEPROM (Electrically Erasable PROM): Erasable and programmable electrically, allowing selective rewrites without physical removal.
  • Flash memory: A high-density form of EEPROM that can be erased and programmed in blocks; widely used for firmware updates and storage in modern devices.

History and development

Early computers used hard-wired or read-only storage for fixed routines. As semiconductor technology advanced, ROM chips became standard for storing microcode and basic input/output systems. The introduction of PROM, EPROM and EEPROM followed as designers required more flexibility to revise code after manufacturing. Flash memory later combined non-volatility with higher density and faster erase/program cycles, enabling field upgrades for many consumer and industrial products.

Uses and examples

Devices commonly use ROM to store boot programs (for example a system BIOS or bootloader), device firmware, microcontroller code, and fixed lookup tables. In embedded systems, firmware in ROM controls sensors, appliances, networking devices and other equipment where persistent code is essential. Firmware examples include a motherboard BIOS (BIOS) and the internal software that controls peripheral devices and appliances (often called firmware).

Distinctions and notable facts

Although the phrase "read-only" implies immutability, many modern ROM types are rewritable. The choice between mask ROM, PROM variants and flash involves trade-offs among cost, flexibility and endurance. Updating code stored in ROM typically requires careful procedures to avoid bricking a device; designers often include safeguards such as dual banks or rollback mechanisms. For more on power-related behavior of storage devices see the discussion of power states at power and shutdown.

Overview

Originally, semiconductor ROMs were also "hard-wired" during production. Since this wiring is directly exposed onto the chip with a "mask" (a kind of film negative), this is referred to as mask-programmed ROM or mask ROM for short. Since this process is only economical in large-scale production, a - constantly growing - family of further memory chips was developed which can also be filled with information after production, the so-called PROMs (Programmable ROM).

The writing of data into a ROM is called programming of the device and is not comparable with the write accesses in a random access memory (hard disk). A distinction must be made between devices with reversible and irreversible programming. However, like RAM, ROM allows random access to the data.

How it works

A ROM chip has a number n of address pins to which the querying logic (e.g. a processor) applies the address from which in the ROM chip it wishes to read. In addition, the ROM chip has m data output pins on which it then outputs the value that is burned into it at the requested address. Many ROM chips also have a single pin called "chip select" which indicates whether the ROM chip is meant, or the address present is meant for another (ROM) chip connected to the same address lines.

Example: A 64-kB-ROM can store 1 byte = 8 bits at 216 = 65536 addresses, i.e. address 0..65535. It therefore has 16 address input lines and 8 data output lines.

Related articles

Author

AlegsaOnline.com Read-only memory (ROM): overview, types, history, and uses

URL: https://en.alegsaonline.com/art/81440

Share

Sources