All Topics  
Read-only memory

 

   Email Print
   Bookmark   Link

 

Read-only memory



 
 
The notion of read-only data can also refer to file system permissions
File system permissions

Most modern file systems have methods of administering permissions or access rights to specific user and groups of users. These systems control the ability of the users affected to view or make changes to the contents of the file system....
.


Read-only memory (usually known by its acronym, ROM) is a class of storage
Computer storage

Computer data storage, often called storage or memory, refers to computer components, devices, and recording medium that retain digital data used for computing for some interval of time....
 media used in computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
s and other electronic devices. Because data stored in ROM cannot be modified (at least not very quickly or easily), it is mainly used to distribute firmware
Firmware

Firmware is a term sometimes used to denote the fixed, usually rather small, programs that internally control various electronic devices. Typical examples range from end user products such as remote controls or calculators, via computer parts and devices like harddisks, keyboard s, TFT screens or memory cards, all the way to scientific instr...
 (software that is very closely tied to specific hardware
Computer hardware

A personal computer is made up of computer hardware, multiple physical components onto which can be loaded into a multitude of software that perform the functions of the computer....
, and unlikely to require frequent updates).

In its strictest sense, ROM refers only to mask ROM
Mask ROM

Mask ROM refers to a kind of Read-only memory whose contents are programmed by the integrated circuit manufacturer . The terminology "mask" comes from Semiconductor device fabrication, where regions of the chip are Photomask during the process of photolithography....
 (the oldest type of solid state
Solid state (electronics)

Solid-state electronic components, devices, and systems are based entirely on the semiconductor, such as transistors, microprocessor chips, and the bubble memory....
 ROM), which is fabricated
Semiconductor fabrication

Semiconductor device fabrication is the process used to create chips, the integrated circuits that are present in everyday electrical and electronics devices....
 with the desired data permanently stored in it, and thus can never be modified. However, more modern types such as EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
 and flash EEPROM can be erased and re-programmed multiple times; they are still described as "read-only memory"(ROM) because the reprogramming process is generally infrequent, comparatively slow, and often does not permit random access
Random access

In computer science, random access is the ability to access an arbitrary element of a sequence in equal time. The opposite is sequential access, where a remote element takes longer time to access....
 writes to individual memory locations. Despite the simplicity of mask ROM, economies of scale
Economies of scale

Economies of scale, in microeconomics, are the cost advantages that a business obtains due to expansion. They are factors that cause a producer?s average cost per unit to fall as output rises....
 and field-programmability
Field-programmability

An Electronics device or embedded system is said to be field-programmable or in-place programmable if its firmware can be modified "in the field," without disassembling the device or returning it to its manufacturer....
 often make reprogrammable technologies more flexible and inexpensive, so mask ROM is rarely used in new products .

History


The simplest type of solid state
Solid state (electronics)

Solid-state electronic components, devices, and systems are based entirely on the semiconductor, such as transistors, microprocessor chips, and the bubble memory....
 ROM is as old as semiconductor technology itself. Combinational
Combinational logic

In digital circuit theory, combinational logic is a type of logic circuit whose output is a pure function of the present input only. This is in contrast to sequential logic, in which the output depends not only on the present input but also on the history of the input....
 logic gate
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
s can be joined manually to map n-bit address input onto arbitrary values of m-bit data output (a look-up table). With the invention of the integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
 came mask ROM
Mask ROM

Mask ROM refers to a kind of Read-only memory whose contents are programmed by the integrated circuit manufacturer . The terminology "mask" comes from Semiconductor device fabrication, where regions of the chip are Photomask during the process of photolithography....
. Mask ROM consists of a grid of word lines (the address input) and bit lines (the data output), selectively joined together with transistor switches, and can represent an arbitrary look-up table with a regular physical layout and predictable propagation delay
Propagation delay

NetworkingPropagation delay is defined as the amount of time it takes for a certain number of bytes to be transferred over a medium. Propagation delay is the distance between the two routers divided by the propagation speed....
.

In mask ROM, the data is physically encoded in the circuit, so it can only be programmed during fabrication. This leads to a number of serious disadvantages:
  1. It is only economical to buy mask ROM in large quantities, since users must contract with a foundry
    Foundry (electronics)

    In the microelectronics industry, a semiconductor fabrication plant is a factory where devices such as integrated circuits are manufactured.A business that operates a semiconductor fab for the purpose of fabricating the designs of other companies, such as fabless semiconductor company, is known as a foundry....
     to produce a custom design.
  2. The turnaround time between completing the design for a mask ROM and receiving the finished product is long, for the same reason.
  3. Mask ROM is impractical for R&D work since designers frequently need to modify the contents of memory as they refine a design.
  4. If a product is shipped with faulty mask ROM, the only way to fix it is to recall
    Product recall

    A product recall is a request to return to the maker a batch or an entire production run of a product, usually due to the discovery of safety issues....
     the product and physically replace the ROM.


Subsequent developments have addressed these shortcomings. PROM, invented in 1956, allowed users to program its contents exactly once by physically altering its structure with the application of high-voltage pulses. This addresses problems 1 and 2 above, since a company can simply order a large batch of fresh PROM chips and program them with the desired contents at its designers' convenience. The 1971 invention of EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
 essentially solved problem 3, since EPROM (unlike PROM) can be repeatedly reset to its unprogrammed state by exposure to strong ultraviolet light. EEPROM, invented in 1983, went a long way to solving problem 4, since an EEPROM can be programmed in-place if the containing device provides a means to receive the program contents from an external source (e.g. a personal computer via a serial cable
Serial cable

A serial cable is a cable that can be used to transfer information between two devices using serial communication, often using the RS-232 standard....
). Flash memory
Flash memory

Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
, invented at Toshiba
Toshiba

is a multinational corporation list of conglomerates manufacturing company, headquartered in Tokyo, Japan. The company's main business is in Infrastructure, Consumer Products, and Electronic devices and components....
 in the mid-1980s, and commercialized in the early 1990s, is a form of EEPROM that makes very efficient use of chip area and can be erased and reprogrammed thousands of times without damage.

All of these technologies improved the flexibility of ROM, but at a significant cost-per-chip, so that in large quantities mask ROM would remain an economical choice for many years. (Decreasing cost of reprogrammable devices had almost eliminated the market for mask ROM by the year 2000.) Furthermore, despite the fact that newer technologies were increasingly less "read-only," most were envisioned only as replacements for the traditional use of mask ROM.

The most recent development is NAND flash, also invented by Toshiba. Its designers explicitly broke from past practice, stating plainly that "the aim of NAND Flash is to replace hard disk
Hard disk

A hard disk drive , commonly referred to as a hard drive, hard disk, or fixed disk drive, is a non-volatile storage device which stores digitally encoded data on rapidly rotating hard disk platters with magnetic surfaces....
s," rather than the traditional use of ROM as a form of non-volatile primary storage. , NAND has partially achieved this goal by offering throughput comparable to hard disks, higher tolerance of physical shock, extreme miniaturization (in the form of USB flash drive
USB flash drive

A USB flash drive consists of a Flash memory#NAND memories-type flash memory data storage device integrated with a USB interface. USB flash drives are typically removable and rewritable, much smaller than a floppy disk , and most USB flash drives weigh less than an ounce ....
s and tiny microSD
MicroSD

microSD is a format for removable flash memory cards. The SD stands for Secure Digital. It is commonly used in cellular phones, but also in handheld GPS devices, portable media players, digital audio players, expandable USB flash memory drives, and for Nintendo DS flashcards, along with digital cameras....
 memory card
Memory card

A memory card or flash memory card is a solid-state electronic flash memory data storage device used with digital cameras, Personal Digital Assistant and Mobile computers, telephones, music players, video game consoles, and other electronics....
s, for example), and much lower power consumption.

Use of ROM for program storage


Every stored-program computer requires some form of non-volatile storage
Computer storage

Computer data storage, often called storage or memory, refers to computer components, devices, and recording medium that retain digital data used for computing for some interval of time....
 to store the initial program that runs when the computer is powered on or otherwise begins execution (a process known as bootstrapping
Bootstrapping (computing)

In computing, bootstrapping is a technique by which a simple computer program activates a more complicated system of programs. In the start up process of a computer system, a small program such as BIOS, initializes and tests that computer hardware, peripherals and external memory devices are connected, then loads a program from one of them a...
, often abbreviated to "booting
Booting

In computing, booting is a Bootstrapping process that starts operating systems when the user turns on a computer system. A boot sequence is the initial set of operations that the computer performs when it is switched on....
" or "booting up"). Likewise, every non-trivial computer requires some form of mutable memory to record changes in its state
State (computer science)

In computer science and automata theory, a state is a unique configuration of information in a program or machine. It is a concept that occasionally extends into some forms of systems programming such as Lexical analysiss and parsers....
 as it executes.

Forms of read-only memory were employed as non-volatile storage for programs in most early stored-program computers, such as ENIAC
ENIAC

ENIAC, short for Electronic Numerical Integrator And Computer, was a general-purpose electronic computer. It was a Turing complete, digital computer capable of being reprogrammed to solve a full range of computing problems....
 after 1948
ENIAC

ENIAC, short for Electronic Numerical Integrator And Computer, was a general-purpose electronic computer. It was a Turing complete, digital computer capable of being reprogrammed to solve a full range of computing problems....
 (until then it was not a stored-program computer as every program had to be manually wired into the machine, which could take days to weeks). Read-only memory was simpler to implement since it required only a mechanism to read stored values, and not to change them in-place, and thus could be implemented with very crude electromechanical devices (see historical examples below). With the advent of integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
s in the 1960s, both ROM and its mutable counterpart static RAM were implemented as arrays of transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
s in silicon chips; however, a ROM memory cell could be implemented using fewer transistors than an SRAM memory cell, since the latter requires a latch (comprising 5-20 transistors) to retain its contents, while a ROM cell might consist of the absence (logical 0) or presence (logical 1) of a single transistor connecting a bit line to a word line. Consequently, ROM could be implemented at a lower cost-per-bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
 than RAM for many years.

Most home computer
Home computer

A home computer was a class of personal computer entering the market in 1977 and becoming common during the 1980s. They were marketed to consumers as accessible personal computers, more capable than video game consoles....
s of the 1980s stored a BASIC interpreter or operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
 in ROM as other forms of non-volatile storage such as magnetic disk drives were too expensive. For example, the Commodore 64
Commodore 64

The Commodore 64 is an 8-bit home computer released by Commodore International in August, 1982, at a price of United States dollar595. Preceded by the Commodore VIC-20 and Commodore MAX Machine, the C64 features 64 kilobytes of Random-access memory with sound and graphics performance that were superior to IBM-compatible computers of tha...
 included 64 KiB of RAM and 20 KiB of ROM contained a BASIC interpreter and the "KERNAL
KERNAL

The KERNAL is Commodore International's name for the read-only memory-resident operating system core in its 8-bit home computers; from the original Commodore PET of 1977, via the extended, but strongly related, versions used in its successors; the Commodore VIC-20, Commodore 64, Plus/4, Commodore 16, and C128....
" (sic) of its operating system. Later home or office computers such as the IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
 PC XT often included magnetic disk drives, and larger amounts of RAM, allowing them to load their operating systems from disk into RAM, with only a minimal hardware initialization core and bootloader remaining in ROM (known as the BIOS
BIOS

In computing, the Basic Input/Output System , also known as the System BIOS, is a de facto standard defining a firmware interface for IBM PC Compatible computers....
 in IBM-compatible computers). This arrangement allowed for a more complex and easily upgradeable operating system.

In modern PCs, "ROM" (or Flash) is used to store the basic bootstrapping firmware
Firmware

Firmware is a term sometimes used to denote the fixed, usually rather small, programs that internally control various electronic devices. Typical examples range from end user products such as remote controls or calculators, via computer parts and devices like harddisks, keyboard s, TFT screens or memory cards, all the way to scientific instr...
 for the main processor, as well as the various firmware
Firmware

Firmware is a term sometimes used to denote the fixed, usually rather small, programs that internally control various electronic devices. Typical examples range from end user products such as remote controls or calculators, via computer parts and devices like harddisks, keyboard s, TFT screens or memory cards, all the way to scientific instr...
 needed to internally control self contained devices such as graphic cards, hard disks, DVD drives, TFT screens, etc, in the system. Today, many of these "read-only" memories – especially the BIOS – are often replaced with Flash memory (see below), to permit in-place reprogramming should the need for a firmware upgrade arise. However, simple and mature sub-systems (such as the keyboard or some communication controllers in the ICs on the main board, for example) may employ mask ROM or OTP
Programmable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
 (one time programmable).

ROM and successor technologies such as Flash are prevalent in embedded system
Embedded system

An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints....
s. This governs everything from industrial robots to appliances and consumer electronics
Consumer electronics

Consumer electronics include electronic equipment intended for everyday use. Consumer electronics are most often used in entertainment, communications and office productivity....
 (MP3 players, set-top box
Set-top box

A set-top box or set-top unit is a information appliance that connects to a television and an external source of signal , turning the signal into content which is then displayed on the television screen....
es, etc) all of which are designed for specific functions, but nonetheless based on general-purpose microprocessor
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
s in most cases. With software usually tightly coupled to hardware, program changes are rarely needed in such devices (which typically lack devices such as hard disks for reasons of cost, size, and/or power consumption). As of 2008, most products use Flash rather than mask ROM, and many provide some means for connection to a PC for firmware
Firmware

Firmware is a term sometimes used to denote the fixed, usually rather small, programs that internally control various electronic devices. Typical examples range from end user products such as remote controls or calculators, via computer parts and devices like harddisks, keyboard s, TFT screens or memory cards, all the way to scientific instr...
 updates; a digital audio player's might be updated to support a new file format
File format

A file format is a particular way to encode information for storage in a computer file.Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice-versa....
 for instance. Some hobbyists have taken advantage of this flexibility to reprogram consumer products for new purposes; for example, the iPodLinux
IPodLinux

iPodLinux is a ?Clinux-based Linux distribution targeted specifically to run on Apple Inc.'s iPod. When the iPodLinux kernel is booted it takes the place of Apple's iPod operating system and automatically loads Podzilla, an alternative Graphical user interface and launcher for a number of additional included computer program such as a video p...
 and OpenWRT
OpenWrt

OpenWrt is a Linux-based firmware program for Embedded system such as residential gateways. Support was originally limited to the Linksys WRT54G series, but has since been expanded to include other chipsets and manufacturers, including Netgear, D-Link, Asus and many others....
 projects have enabled users to run full-featured Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
 distribution
Linux distribution

A Linux distribution is a member of the family of Unix-like software distributions built on top of the Linux kernel. Such distributions consist of a large collection of software applications such as word processors, spreadsheets, media players and database applications....
s on their MP3 players and wireless routers, respectively.

ROM is also useful for binary storage of cryptographic data, as it makes them difficult to replace, which may be desirable in order to enhance information security
Information security

Information security means protecting information and information systems from unauthorized access, use, disclosure, disruption, modification or destruction....
.

ROM for data storage


Since ROM (at least in hard-wired mask form) cannot be modified, it is really only suitable for storing data which is not expected to need modification for the life of the device. To that end, ROM has been used in many computers to store look-up tables for the evaluation of mathematical and logical functions (for example, a floating-point unit might tabulate the sine function in order to facilitate faster computation). This was especially effective when CPUs were slow and ROM was cheap compared to RAM.

Notably, the display adapters of early personal computers stored tables of bitmapped font characters in ROM. This usually meant that the text display font
Font

In typography, a font is traditionally defined as a complete character set of a single size and style of a particular typeface. For example, the set of all characters for 9-point Bulmer italic type is a font, and the 10-point size would be a separate font, as would the 9 point upright....
 could not be changed interactively. This was the case for both the CGA
Color Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
 and MDA
Monochrome Display Adapter

The Monochrome Display Adapter introduced in 1981 was International Business Machines's standard video display card and computer display standard for the IBM PC....
 adapters available with the IBM PC XT.

The use of ROM to store such small amounts of data has disappeared almost completely in modern general-purpose computers. However, Flash ROM has taken over a new role as a medium for mass storage
Mass storage

In computing, mass storage refers to the storage of large amounts of information in a persisting and machine-readable fashion. Data storage device for mass storage include hard disks, floppy disks, flash memory, optical discs, magneto-optical discs, magnetic tape, drum memory, punched tape and holographic memory ....
 or secondary storage of files.

Types of ROMs

Eprom

Semiconductor based

Classic mask-programmed ROM chips are integrated circuits that physically encode the data to be stored, and thus it is impossible to change their contents after fabrication. Other types of non-volatile solid-state memory permit some degree of modification:
  • Programmable read-only memory
    Programmable read-only memory

    A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
     (PROM), or one-time programmable ROM (OTP), can be written to or programmed via a special device called a PROM programmer. Typically, this device uses high voltages to permanently destroy or create internal links (fuses
    Fuse (electrical)

    In electronics and electrical engineering a fuse is a type of overcurrent protection device. Its essential component is a metal wire or strip that melts when too much current flows, which breaks the electrical network in which it is connected, thus protecting the circuit's other components from damage due to excessive current....
     or antifuse
    Antifuse

    An antifuse is an electrical device that performs the opposite function to a Fuse . Whereas a fuse starts with a low resistance and is designed to permanently break an Electrical conduction path , an antifuse starts with a high resistance and is designed to permanently create an electrically conductive path ....
    s) within the chip. Consequently, a PROM can only be programmed once.
  • Erasable programmable read-only memory (EPROM) can be erased by exposure to strong ultraviolet
    Ultraviolet

    Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than x-rays, in the range 400 nanometer to 10 nm, and energies from 3 Electron volt to 124 eV....
     light (typically for 10 minutes or longer), then rewritten with a process that again requires application of higher than usual voltage. Repeated exposure to UV light will eventually wear out an EPROM, but the endurance of most EPROM chips exceeds 1000 cycles of erasing and reprogramming. EPROM chip packages can often be identified by the prominent quartz
    Quartz

    Quartz is the most abundant mineral in the Earth's continental crust . It is made up of a Crystal structure of silica tetrahedra. Quartz has a hardness of 7 on the Mohs scale and a density of 2.65 g/cm?....
     "window" which allows UV light to enter. After programming, the window is typically covered with a label to prevent accidental erasure. Some EPROM chips are factory-erased before they are packaged, and include no window; these are effectively PROM.
  • Electrically erasable programmable read-only memory (EEPROM) is based on a similar semiconductor structure to EPROM, but allows its entire contents (or selected banks) to be electrically erased, then rewritten electrically, so that they need not be removed from the computer (or camera, MP3 player, etc.). Writing or flashing an EEPROM is much slower (milliseconds per bit) than reading from a ROM or writing to a RAM (nanoseconds in both cases).
    • Electrically alterable read-only memory (EAROM) is a type of EEPROM that can be modified one bit
      Bit

      A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
       at a time. Writing is a very slow process and again requires higher voltage (usually around 12 V
      Volt

      The volt is the SI SI derived unit of electric potential difference or electromotive force, commonly known as voltage. It is named in honor of the Lombard physicist Alessandro Volta , who invented the voltaic pile, possibly the first chemical battery ....
      ) than is used for read access. EAROMs are intended for applications that require infrequent and only partial rewriting. EAROM may be used as non-volatile storage for critical system setup information; in many applications, EAROM has been supplanted by CMOS
      CMOS

      Complementary metal?oxide?semiconductor , is a major class of integrated circuits. CMOS technology is used in microprocessors, microcontrollers, Static Random Access Memory, and other digital logic circuits....
       RAM
      Ram

      Ram, ram, or RAM as a non-acronymic wordAs a non-acronymic word Ram, ram, or RAM may refer to:...
       supplied by mains power and backed-up with a lithium battery
      Lithium battery

      Lithium batteries are disposable Battery that have lithium metal or lithium compounds as an anode. Depending on the design and chemical compounds used, lithium cells can produce voltages from 1.5 V to about 3.7 V, twice the voltage of an ordinary zinc-carbon battery or alkaline battery....
      .
    • Flash memory
      Flash memory

      Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
       (or simply flash) is a modern type of EEPROM invented in 1984. Flash memory can be erased and rewritten faster than ordinary EEPROM, and newer designs feature very high endurance (exceeding 1,000,000 cycles). Modern NAND flash makes efficient use of silicon chip area, resulting in individual ICs with a capacity as high as 16 GB
      GB

      GB may stand for:...
       ; this feature, along with its endurance and physical durability, has allowed NAND flash to replace magnetic
      Magnetic storage

      Magnetic storage and magnetic recording are terms from engineering referring to the storage of data on a magnetized medium. Magnetic storage uses different patterns of magnetization in a magnetizable material to store data and is a form of non-volatile memory....
       in some applications (such as USB flash drives). Flash memory is sometimes called flash ROM or flash EEPROM when used as a replacement for older ROM types, but not in applications that take advantage of its ability to be modified quickly and frequently.


By applying write protection
Write protection

Write protection is any physical mechanism that prevents modification or erasure of valuable data on a device. Most commercial software, audio and video is sold pre-protected....
, some types of reprogrammable ROMs may temporarily become read-only memory.

Other technologies

There are other types of non-volatile memory which are not based on solid-state IC technology, including:
  • Optical storage
    Optical storage

    Optical storage is a term from engineering referring to the storage of data on an optically readable medium. Data is recorded by making marks in a pattern that can be read back with the aid of light....
     media, such CD-ROM
    CD-ROM

    CD-ROM is a pre-pressed Compact Disc that contains Computer data storage accessible to, but not writable by, a computer. While the Compact Disc format was originally designed for music storage and playback, the 1985 Yellow Book standard developed by Sony and Philips adapted the format to hold any form of Binary file....
     which is read-only (analogous to masked ROM). CD-R
    CD-R

    A CD-R is a variation of the Compact Disc invented by Philips and Sony. CD-R is a Write Once Read Many optical medium, though the whole disk does not have to be entirely written in the same session....
     is Write Once Read Many
    Write Once Read Many

    Write Once, Read Many refers to computer data storage systems, data storage devices, and data storage media that can be written to once, but read from multiple times....
     (analogous to PROM), while CD-RW
    CD-RW

    Compact Disc ReWritable is a rewritable optical disc format. Known as CD-Erasable during its development, CD-RW was introduced in 1997, and was preceded by the never officially released CD-RW#CD-MO in 1988....
     supports erase-rewrite cycles (analogous to EEPROM); both are designed for backwards-compatibility with CD-ROM.

Historical examples
Ibm 360 20 Tros
* Diode
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
 matrix ROM, used in small amounts in many computers in the 1960s as well as electronic desk calculator
Calculator

A calculator is a device for performing mathematical calculations, distinguished from a computer by having a limited problem solving ability and an interface optimized for interactive calculation rather than programming....
s and keyboard encoders for terminal
Computer terminal

A computer terminal is an electronic or electromechanical computer hardware device that is used for entering data into, and displaying data from, a computer or a computing system....
s. This ROM was programmed by installing discrete semiconductor diodes at selected locations between a matrix of word line traces and bit line traces on a printed circuit board
Printed circuit board

A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using Conductor pathways, or signal traces, industrial etchinged from copper sheets laminated onto a non-conductive substrate....
.
  • Resistor
    Resistor

    |- align = "center"||width = "25"|| |- align = "center"||| Potentiometer|- align = "center"| || |- align = "top"| Resistor|| Variable resistor...
    , capacitor
    Capacitor

    A capacitor or condenser is a Passive component electronic component consisting of a pair of electrical conductor separated by a dielectric....
    , or transformer
    Transformer

    A transformer is a device that transfers electrical energy from one electrical network to another through inductive coupling conductors — the transformer's coils or "windings"....
     matrix ROM, used in many computers until the 1970s. Like diode matrix ROM, it was programmed by placing components at selected locations between a matrix of word lines and bit lines. ENIAC
    ENIAC

    ENIAC, short for Electronic Numerical Integrator And Computer, was a general-purpose electronic computer. It was a Turing complete, digital computer capable of being reprogrammed to solve a full range of computing problems....
    's Function Tables were resistor matrix ROM, programmed by manually setting rotary switches. Various models of the IBM
    IBM

    International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
     System/360
    System/360

    The IBM System/360 is a mainframe computer system family announced by IBM on April 7, 1964. It was the first family of computers making a clear distinction between computer architecture and implementation, allowing IBM to release a suite of compatible designs at different price points....
     and complex peripherial devices stored their microcode
    Microcode

    Microcode is a layer of lowest-level instructions involved in the implementation of machine code instructions in many computers and other processors; it resides in a special high-speed memory and translates machine instructions into sequences of detailed circuit-level operations....
     in either capacitor (called BCROS for Balanced Capacitor Read Only Storage on the 360/50 & 360/65 or CCROS for Card Capacitor Read Only Storage on the 360/30) or transformer (called TROS for Transformer Read Only Storage
    Transformer Read Only Storage

    Transformer Read Only Storage called TROS in computer parlance is a method of creating a ROM in the '60s and early '70s before Solid state memory devices were developed....
     on the 360/20, 360/40 and others) matrix ROM.
  • Core rope
    Core rope memory

    Core rope memory is a form of read-only memory for computers, first used by early NASA Mars space probes and then in the Apollo Guidance Computer designed by Massachusetts Institute of Technology and built by Raytheon....
    , a form of transformer matrix ROM technology used where size and/or weight were critical. This was used in NASA
    NASA

    The National Aeronautics and Space Administration is an agency of the Federal government of the United States, responsible for the nation's public list of space agencies....
    /MIT's Apollo Spacecraft Computers
    Apollo Guidance Computer

    The Apollo Guidance Computer was the first recognizably modern embedded system, used in Real-time computing by astronaut pilot to collect and provide flight information, and to automatically control all of the navigational functions of the Apollo spacecraft....
    , DEC
    Digital Equipment Corporation

    Digital Equipment Corporation was a pioneering United States company in the computer industry. It is often referred to within the computing industry as DEC ....
    's PDP-8
    PDP-8

    The PDP-8 was the first successful commercial minicomputer, produced by Digital Equipment Corporation in the 1960s. DEC introduced it on 22 March 1965, and sold more than 50,000 systems, the most of any computer up to that date....
     computers, and other places. This type of ROM was programmed by hand by weaving "word line wires" inside or outside of ferrite
    Ferrite (magnet)

    Ferrites are a class of chemical compounds with the Chemical formula AB2O4, where A and B represent various metal cations, usually including iron....
     transformer cores.
  • The perforated metal character mask ("stencil
    Stencil

    A stencil is a wikt:template used to drawing or painting identical Letter , symbols, shapes, or patterns every time it is used. Stencil technique in visual art is also referred to as pochoir....
    ") in Charactron
    Charactron

    Charactron was U. S. registered trademark by Consolidated Vultee Aircraft Corporation for its shaped electron beam cathode ray tube. Charactron CRTs performed functions of both a display device and a read-only memory storing multiple characters and fonts....
     cathode ray tube
    Cathode ray tube

    The cathode ray tube is a vacuum tube containing an electron gun and a fluorescent screen, with internal or external means to accelerate and deflect the electron beam, used to create images in the form of light emitted from the fluorescent screen....
    s, which was used as ROM to shape a wide electron beam to form a selected character shape on the screen either for display or a scanned electron beam to form a selected character shape as an overlay on a video
    Video

    Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
     signal.
  • Various mechanical devices used in early computing equipment. A machined metal plate served as ROM in the dot matrix printer
    Dot matrix printer

    A dot matrix printer or impact matrix printer is a type of computer printer with a print head that runs back and forth, or in an up and down motion, on the page and prints by impact, striking an ink-soaked cloth ribbon against the paper, much like a typewriter....
    s on the IBM 026 and IBM 029 key punch
    Key punch

    File:IBM card punch 029.JPGA key punch is a device for entering data into punched cards by precisely punching holes at locations designated by the keys struck by the operator....
    es.


Speed of ROMs


Reading speed

Although the relative speed of RAM vs. ROM has varied over time, large RAM chips can be read faster than most ROMs. For this reason (and to make for uniform access), ROM content is sometimes copied to RAM or
shadowed before its first use, and subsequently read from RAM.

Writing speed

For those types of ROM that can be electrically modified, writing speed is always much slower than reading speed, and it may require unusually high voltage, the movement of jumper plugs to apply write-enable signals, and special lock/unlock command codes. Modern NAND Flash achieves the highest write speeds of any rewritable ROM technology, with speeds as high as 15 MiB
MIB

MIB may refer to any of several concepts:* Management Information Base, a computing information repository used by Simple Network Management Protocol...
/s
Second

The second , sometimes abbreviated sec., is the name of a units of measurement of time, and is the International System of Units SI base unit of time....
 (or 70 ns/bit), by allowing (indeed requiring) large blocks of memory cells to be written simultaneously.

Endurance and data retention

Because they are written by forcing electrons through a layer of electrical insulation
Electrical insulation

An insulator, also called a dielectric, is a material that resists the flow of electric current. An insulating material has atoms with tightly bonded valence electrons....
 onto a floating transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
 gate, rewriteable ROMs can withstand only a limited number of write and erase cycles before the insulation is permanently damaged. In the earliest EAROMs, this might occur after as few as 1,000 write cycles, while in modern Flash EEPROM the
endurance may exceed 1,000,000, but it is by no means infinite. This limited endurance, as well as the higher cost per bit, means that Flash-based storage is unlikely to completely supplant magnetic disk drives in the near future.

The timespan over which a ROM remains accurately readable is not limited by write cycling. The
data retention of EPROM, EAROM, EEPROM, and Flash
may be limited by charge leaking from the floating gates of the memory cell transistors. Leakage is exacerbated at high temperatures or in high-radiation
Ionizing radiation

Ionizing radiation consists of subatomic particle radiation or electromagnetic radiation that are energetic enough to detach electrons from atoms or molecules, ionize them....
 environments. Masked ROM and fuse/antifuse PROM do not suffer from this effect, as their data retention depends on physical rather than electrical permanence of the integrated circuit (although
fuse re-growth was once a problem in some systems).

ROM images


The contents of ROM chips in video game console cartridge
Cartridge (electronics)

In various types of electronic equipment, a cartridge can refer to one method of adding different functionality or content; for example, a video game played on a video game console; or a method by which consumables may be replenished, such as an ink cartridge for a printer....
s can be extracted with special software or hardware devices. The resultant memory dump files are known as
ROM images, and can be used to produce duplicate cartridges, or in console emulators. The term originated when most console games were distributed on cartridges containing ROM chips, but achieved such widespread usage that it is still applied to images of newer games distributed on CD-ROM
CD-ROM

CD-ROM is a pre-pressed Compact Disc that contains Computer data storage accessible to, but not writable by, a computer. While the Compact Disc format was originally designed for music storage and playback, the 1985 Yellow Book standard developed by Sony and Philips adapted the format to hold any form of Binary file....
s or other optical media.

ROM images of commercial games usually contain copyrighted software. The unauthorized copying and distribution of copyrighted software is usually a violation of copyright
Copyright

Copyright is a form of intellectual property which gives the creator of an original work exclusive rights for a certain time period in relation to that work, including its publication, distribution and adaptation; after which time the work is said to enter the public domain....
 laws (in some jurisdiction
Jurisdiction

In law, jurisdiction is the practical authority granted to a formally constituted legal body or to a political leader to deal with and make pronouncements on legal matters and, by implication, to administer justice within a defined area of responsibility....
s duplication of ROM cartridges for backup
Backup

In information technology, backup refers to making copies of data so that these additional copies may be used to restore the original after a data loss event....
 purposes may be considered fair use
Fair use

Fair use is a doctrine in United States copyright law that allows limited use of copyrighted material without requiring permission from the rights holders, such as use for scholarship or review....
). Nevertheless, there is a thriving community engaged in the illegal distribution and trading of such software. In such circles, the term "ROM images" is sometimes shortened simply to "ROMs" or sometimes changed to "romz" to highlight the connection with "warez
Warez

File:Pro piracy demonstration.jpg"Warez" refers primarily to copyrighted works traded in violation of copyright law. The term generally refers to illegal releases by organized groups, as opposed to peer-to-peer file sharing between friends or large groups of people with similar interest using a darknet ....
".

See also

  • Random access memory
  • PROM
    Programmable read-only memory

    A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
  • EPROM
    EPROM

    An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
  • EEPROM
    EEPROM

    EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
  • Flash memory
    Flash memory

    Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....


Terminology

EEPROM
EEPROM

EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
:Electrically Erasable Programmable Read-Only Memory EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
:Erasable Programmable Read-Only Memory PROM
Programmable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
:Programmable read-only memory