HomeGADGETSWhat Is ROM Memory, And How Is It Different From RAM?

What Is ROM Memory, And How Is It Different From RAM?

In every computer, there are different types of memory: the hard drive, the SSD, the RAM…

But there is another much less known: the ROM memory. Due to its similarity to RAM, it is often confused with it, but it fulfils a very different function in reality.

This memory is also present in other electronic devices, such as mobile phones, tablets, and game consoles.

That is why it is very likely that you have come across this term in the specification sheet of one of these products.

If you want to know more about this type of memory and how it differs from RAM, this article is for you.

What is ROM memory

ROM is a read-only memory, which comes from the English term: Read-Only-Memory.

This means that it is impossible to change or delete the data it stores. The system only accesses them to read them.

It is a type of non-volatile memory, so it does not need any power source to maintain the information. This allows you to continue storing data even when the PC or mobile is turned off, unlike with RAM.

Its primary function is to house the computer’s boot programming code. Thus, when we turn on or restart the PC, the ROM tells the system how to proceed so that the operating system loads correctly.

What is ROM used for?

As we have already mentioned, the main objective of the ROM memory is to ensure that the computer boots correctly.

But for this, it has to perform multiple functions. The most important ones are:

  • Store and run the system boot sequence ( BIOS ).
  • Make the necessary security checks to detect possible failures.
  • Detects peripherals connected to the computer.
  • Store the firmware of all system components.
  • Protect the instructions of the programs that we have installed.
  • As you can see, the ROM memory is essential for the devices to continue working every time we turn them on.

If the ROM were to fail, the next time we booted the system, it wouldn’t know what processes or applications to run first, communication between the hardware would fail, and we’d lose all the firmware updates we’ve installed over the years.

Hence, although it is not a well-known component, it is of the utmost importance for your mobile or PC.

How the ROM works

The ROM is like a small, long-lasting battery inside the PC.

It contains two primary components: a decoder and the OR logic gates. The decoder receives information inputs in binary form (0 and 1) and outputs them in their decimal equivalent.

Meanwhile, OR gates use that decimal output as input signals.

Its operation is based on a matrix. It contains a grid of rows and columns used to turn the computer on and off. Each grid element corresponds to a specific aspect of the memory chip. To interconnect these elements, a diode is used.

The input address is used to find the specific memory location when a request is received. The resulting value read into the ROM chip must match the chosen array element.

Main features of the ROM

From all that has been said so far, some characteristics that distinguish the ROM from other types of memories emerge.

These distinctive features are:

  • It is a non-volatile memory. It maintains the information even if it does not receive an electrical current.
  • It is used in the starting processes of electrical devices.
  • It allows the user to read the information but not modify or delete it.
  • Data is entered into it during the manufacturing process.
  • Data can only be written once but can be read unlimited times.
  • It is a long-lasting memory.

Each chip usually has a minimum capacity of about 4 MB.

However, these characteristics do not respond 100% to all types of ROM memory.

Over time, manufacturers have been adapting their chips to new technological needs.

For example, although initially, the ROM is read-only, the truth is that today they also allow their content to be rewritten.

This is what happens, for example, when we update the BIOS of our PC.

Of course, these modifications are usually reserved for the system itself and manufacturers or programmers. It is not something that any user with basic knowledge can do.

Also Read: Top 5 Best Portable Printers

These are the types of ROM memory that exist

Among the most common types of ROM we find:

MROM (Masked ROM)

  • It is the first ROM memory that came out on the market.
  • During chip manufacturing, programs and instructions are recorded and cannot be changed or deleted later.
  • It consists of an integrated circuit chip that is soldered to the motherboard.

PROM (Programmable ROM)

  • It is an evolution of the MROM. But unlike this, the manufacturer leaves it blank. Later, it is programmed with the necessary instructions using a device called a “PROM programmer.”
  • However, it can no longer be altered once the data is stored, so it is write-once, just like the MROM.

EPROM (Erasable and Programmable Read-Only Memory)

  • EPROM can be erased by advanced methods, such as exposure to ultraviolet light for about 40 minutes.
  • Once the information is removed, it can be returned to it, again by applying a high-intensity voltage.
  • This process can be repeated many times (depending on the chip, it can exceed 1,000 cycles) until a moment arrives when the ultraviolet light ends up wearing down the ROM.

EEPROM (Electrically Erasable and Programmable Read-Only Memory)

This class of ROM is the most widespread today.

The reason is that it allows the information to be erased and rewritten repeatedly and without the need to resort to ultraviolet light. Therefore, the writing process can be done without removing the chip from the computer.

The EEPROM allows you to erase the entire content or only specific areas, which is another advantage.

In addition to the standard EEPROM, there are two other subclasses:

  • EAROM: Only one bit can be modified at a time. Therefore, the process is much slower than in other types of memory. Its use is reserved for applications that need partial and very occasional rewrites.
  • Flash ROM: It is a newer type of EEPROM. Invented in 1984, it allows data to be erased and written much faster than normal EEPROM. Current Flash memory, such as NAND, offers a large capacity, which, together with its durability, has made it replace magnetic disks in some devices (for example, SSDs and USB drives).

ROM and RAM: How are they different?

We have already reviewed the most important characteristics of ROM memory. Now let’s see how they differ from RAM, a concept with which it is often confused.

RAM (Random Access Memory) stores data that the processor needs to access in real-time to function smoothly. But when the system no longer needs this information, it is deleted.

If it weren’t for it, the information would have to be recorded on the hard drive, and it would be much slower to read it.

Therefore, we can summarize the differences between RAM and ROM memory in the following points:

Applications

The main difference between these two memories is that while the ROM is used to execute the boot operations of the computer, the RAM houses the information of the programs once the operating system is already running.

Duration

The second big difference is that RAM is volatile and temporary. Once we turn off the device, the data is lost. This also happens when we close a program or application.

On the contrary, the ROM memory continues to store the information inside at all times, even if the equipment is turned off. Data can (and should) last for years without being erased.

Writing

Another critical difference is that RAM is designed for reading and writing operations.

While we handle the PC or mobile, the RAM constantly changes: written, deleted, modified, and overwritten.

ROM, on the other hand, is write-only memory. Once the manufacturer records the information, the system can only read it.

As we have seen, in reality, there are ways to alter the memory, but in principle, it is designed to store stable data, which hardly has to be modified.

Ability

There are also differences in their capacity.

ROM memory chips can only hold a few megabytes of memory. But the RAM this amount rises to several tens of GB for each module (generally between 4 and 16 GB in the case of PCs).

Speed

Lastly, RAM is much faster than ROM. Being a random memory, it can access any bit of information almost immediately, no matter where it is physically located inside the chip.

But the ROM reads the data sequentially, in the order, it is written.

Therefore, you have to go through all the data until you get exactly the information you are looking for.

Advantages of ROM memory

As you can see, the ROM is essential for the proper functioning of the equipment. It’s not about choosing between RAM and ROM; each one fulfills its role.

Among the advantages of ROM are the following:

  • The memory is not erased when the computer is turned off, as it does not require continuous power to function.
  • Its content cannot be accidentally deleted or modified.
  • It is cheaper than RAM.
  • It is more reliable and resistant than RAM.
  • It is static; no need to cool down.

Also Read: 5 Common Laptop Problems And How To Fix Them

RELATED ARTICLES

Latest Articles