World Library  
Flag as Inappropriate
Email this Article

Nonvolatile BIOS memory

Article Id: WHEBN0002117928
Reproduction Date:

Title: Nonvolatile BIOS memory  
Author: World Heritage Encyclopedia
Language: English
Subject: BIOS, Extended System Configuration Data, Power Management Unit, Micro Channel architecture, PCI IDE ISA Xcelerator
Collection: Bios, Motherboard, Non-Volatile Memory
Publisher: World Heritage Encyclopedia

Nonvolatile BIOS memory

CMOS battery in a Pico ITX motherboard

Nonvolatile BIOS memory refers to a small memory on PC motherboards that is used to store BIOS settings. It was traditionally called CMOS RAM because it used a volatile, low-power complementary metal-oxide-semiconductor (CMOS) SRAM (such as the Motorola MC146818 or similar) powered by a small battery when system power was off (called the CMOS battery).

The term remains in wide use but it has grown into a misnomer: nonvolatile storage in contemporary computers is often in EEPROM or flash memory (like the BIOS code itself); the remaining usage for the battery is then to keep the real-time clock (RTC) going. The typical NVRAM capacity is 512 bytes, which is generally sufficient for all BIOS settings. The CMOS RAM and the real-time clock have been integrated as a part of the southbridge chipset and it may not be a standalone chip on modern motherboards.


  • CMOS mismatch 1
  • CMOS battery 2
    • Rechargeable CMOS battery or capacitors 2.1
    • Capacitors 2.2
  • Resetting the CMOS settings 3
  • See also 4
  • References 5
  • External links 6

CMOS mismatch

CMOS mismatch errors typically occur if the computer's power-on self-test program:[1][2]

  1. Finds a device that is not recorded in the CMOS.
  2. Does not find a device that is recorded in the CMOS.
  3. Finds a device that has different settings from those recorded for it in CMOS.
  4. Detects a CMOS checksum error.

CMOS battery

Type CR2032 button cell, most common CMOS battery.

The memory battery (aka motherboard, CMOS, real-time clock-RTC, clock battery)[3][4] is generally a CR2032 lithium coin cell. These cells last two to ten years, depending on the type of motherboard, ambient temperature and the length of time that the system is powered off, while other common cell types can last significantly longer or shorter periods, such as the CR2016 which will generally last about 40% less than CR2032. Higher temperatures and longer power-off time will shorten cell life. When replacing the cell, the system time and CMOS BIOS settings may revert to default values. This may be avoided by replacing the cell with the power supply master switch on. On ATX motherboards, this will supply 5V power to the motherboard even if it is apparently "switched off", and keep the CMOS memory energized. In general one should not work on a computer that is powered.

Some computer designs have used non-button cell batteries, such as the cylindrical "1/2 AA" used in the Power Mac G4 as well as some older IBM PC compatibles, or a 3-cell NiCd CMOS battery that looks like a "barrel" (common in Amigas and older IBM PC compatibles), which serves the same purpose.

With (non-accesible close) computers you may need to disconnect cables, remove drives, or remove other parts of the computer to get full access to the CMOS battery.[5]

Rechargeable CMOS battery or capacitors

Asus Eee PC series Models 1005ha 1005hab 1008ha and others use Varta ML1220 or equivalent Maxell, Sanyo and Panasonic ML1220 Lithium Ion coin cell rechargeable batteries, terminated with a 2 pin Molex connector plug.[6]


Rather than using a battery, heavy duty capacitors can be used as an alternative. They would be connected where the original NiCd / NiMH battery goes.[7][8]

Resetting the CMOS settings

To access the BIOS setup when the machine fails to operate, occasionally a drastic move is required. In older computers with battery-backed RAM, removal of the battery and short circuiting the battery input terminals for a while did the job; in some more modern machines this move only resets the RTC. Some motherboards offer a CMOS-reset jumper or a reset button. In yet other cases, the EEPROM chip has to be desoldered and the data in it manually edited using a programmer. Sometimes it is enough to ground the CLK or DTA line of the I²C bus of the EEPROM at the right moment during boot, this requires some precise soldering on SMD parts. If the machine lets one boot but does not want to let the user into the BIOS setup, one possible recovery is to deliberately "damage" the CMOS checksum by doing direct port writes using DOS debug.exe, corrupting some bytes of the checksum-protected area of the CMOS RAM; at the next boot, the computer typically resets its setting to factory defaults. For example:

-o 70 10
-o 71 aa

That will write to CMOS (Offset 10h) with the value 0AAh.

See also


  1. ^
  2. ^
  3. ^ What are CMOS or Clock Batteries?
  4. ^ Ask a question » Replacing the battery of your motherboard (CMOS battery)
  5. ^
  6. ^
  7. ^
  8. ^

External links

  • Definition of CMOS & CMOS Batteries
  • CMOS memory map (for Bochs PC emulator)
  • CMOS rechargeable Battery 3V Lithium, with cable
  • How to replace dead CMOS battery and configure BIOS settings (video).
  • Tutorial: How to replace the CMOS battery in your laptop
  • How to replace the CMOS battery
  • Replacing the Motherboard Battery
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.