Firmware: Difference between revisions
ClueBot NG (talk | contribs) m Reverting possible vandalism by 90.198.188.43 to version by Colcolstyles. False positive? Report it. Thanks, ClueBot NG. (1127622) (Bot) |
don't say that firmware is stored in read-only memory right before listing writable memory types used to store it |
||
Line 3: | Line 3: | ||
[[Image:Television remote control.jpg|frame|right|A typical firmware-controlled device: a television remote control. Consumer products like this have been using firmware since the 1970s.]] |
[[Image:Television remote control.jpg|frame|right|A typical firmware-controlled device: a television remote control. Consumer products like this have been using firmware since the 1970s.]] |
||
In [[electronic system]]s and [[computing]], '''firmware''' is the combination of |
In [[electronic system]]s and [[computing]], '''firmware''' is the combination of persistent memory and program code and data stored in it.<ref>{{cite book|title=The Authoritative Dictionary of IEEE Standards Terms|page=438|isbn=0738126012|doi=10.1109/IEEESTD.2000.322230}}</ref> Typical examples of devices containing firmware are [[embedded systems]], computers, computer peripherals, [[mobile phone]]s, and [[digital camera]]s. The firmware contained in these devices provides the control program for the device. Firmware is held in [[non-volatile]] memory devices such as [[Read-only memory|ROM]], [[EPROM]], or [[flash memory]]. Changing the firmware of a device may rarely or never be done during its economic lifetime; some firmware memory devices are permanently installed and cannot be changed after manufacture. Common reasons for updating firmware include fixing bugs or adding features to the device. This may require physically changing ROM integrated circuits, or reprogramming flash memory with a special procedure. Firmware such as the [[ROM BIOS]] of a personal computer may contain only elementary basic functions of a device and may only provide services to higher-level software. Firmware such as the program of an embedded system may be the only program that will run on the system and provide all of its functions. |
||
Before integrated circuits, other firmware devices included a [[semiconductor diode|discrete]] semiconductor [[diode matrix]]. The [[Apollo guidance computer]] had firmware consisting of an especially manufactured [[core memory]] plane. |
Before integrated circuits, other firmware devices included a [[semiconductor diode|discrete]] semiconductor [[diode matrix]]. The [[Apollo guidance computer]] had firmware consisting of an especially manufactured [[core memory]] plane. |
Revision as of 03:15, 15 July 2012
This article needs additional citations for verification. (October 2011) |
![](http://upload.wikimedia.org/wikipedia/commons/7/7f/Television_remote_control.jpg)
In electronic systems and computing, firmware is the combination of persistent memory and program code and data stored in it.[1] Typical examples of devices containing firmware are embedded systems, computers, computer peripherals, mobile phones, and digital cameras. The firmware contained in these devices provides the control program for the device. Firmware is held in non-volatile memory devices such as ROM, EPROM, or flash memory. Changing the firmware of a device may rarely or never be done during its economic lifetime; some firmware memory devices are permanently installed and cannot be changed after manufacture. Common reasons for updating firmware include fixing bugs or adding features to the device. This may require physically changing ROM integrated circuits, or reprogramming flash memory with a special procedure. Firmware such as the ROM BIOS of a personal computer may contain only elementary basic functions of a device and may only provide services to higher-level software. Firmware such as the program of an embedded system may be the only program that will run on the system and provide all of its functions.
Before integrated circuits, other firmware devices included a discrete semiconductor diode matrix. The Apollo guidance computer had firmware consisting of an especially manufactured core memory plane.
Origin of the term
Ascher Opler coined the term "firmware" in a 1967 Datamation article.[2] Originally, it meant the contents of a writable control store (a small specialized high speed memory), containing microcode that defined and implemented the computer's instruction set, and that could be reloaded to specialize or modify the instructions that the central processing unit (CPU) could execute. As originally used, firmware contrasted with hardware (the CPU itself) and software (normal instructions executing on a CPU). It was not composed of CPU machine instructions, but of lower-level microcode involved in the implementation of machine instructions. It existed on the boundary between hardware and software; thus the name "firmware".
Still later, popular usage extended the word "firmware" to denote anything ROM-resident, including processor machine-instructions for BIOS, bootstrap loaders, or specialized applications.
Until the mid-1990s, updating firmware typically involved replacing a storage medium containing firmware, usually a socketed ROM. Flash memory allows firmware to be updated without physically removing an integrated circuit from the system. An error during the upgrade process may make the device non-functional, or "bricked".
Personal computers
![](http://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/AMI_486DX_EISA_BIOS_20051109.jpg/220px-AMI_486DX_EISA_BIOS_20051109.jpg)
In some respects, the various firmware components are as important as the operating system in a working computer. However, unlike most modern operating systems, firmware rarely has a well-evolved automatic mechanism of updating itself to fix any functionality issues detected after shipping the unit.
The BIOS may be "manually" updated by a user, using a small utility program. In contrast, firmware in storage devices (harddisks, DVD drives, flash storage) rarely gets updated, even when flash (rather than ROM) storage is used for the firmware; there are no standardized mechanisms for detecting or updating firmware versions.
Most computer peripherals are themselves special-purpose computers. Devices such as printers, scanners, cameras, USB drives, have firmware stored internally. Some devices may permit field replacement of firmware.
Some low-cost peripherals no longer contain non-volatile memory for firmware, and instead rely on the host system to transfer the device control program from a disk file or CD.[3]
Consumer products
As of 2010[update] most portable music players support firmware upgrades. Some companies use firmware updates to add new playable file formats (encodings); iriver added the Vorbis format this way, for instance. Other features that may change with firmware updates include the GUI or even the battery life. Most mobile phones have a Firmware Over The Air firmware upgrade capability for much the same reasons; some may even be upgraded to enhance reception or sound quality, illustrating the fact that firmware is used at more than one level in complex products (in a CPU-like microcontroller versus in a digital signal processor, in this particular case).
Automobiles
Since 1996 most automobiles have employed an on-board computer and various sensors to detect mechanical problems. As of 2010[update] modern vehicles also employ computer-controlled ABS systems and computer-operated Transmission Control Units (TCU). The driver can also get in-dash information while driving in this manner, such as real-time fuel-economy and tire-pressure readings. Local dealers can update most vehicle firmware.
Examples
Examples of firmware include:
- Consumer products:
- Timing and control systems for washing machines
- Controlling sound and video attributes, as well as the channel list, in modern TVs
- EPROM chips used in the Eventide H-3000 series of digital music processors
- In computers
- The BIOS found in IBM-compatible personal computers
- The platform code found on Itanium systems, Intel-based Mac OS X machines, and many Intel desktop boards is EFI-compliant firmware
- Open Firmware, used in computers from Sun Microsystems, Apple, and Genesi
- ARCS (computing), used in computers from Silicon Graphics
- Kickstart, used in the Amiga line of computers (POST, hardware init + Plug and Play auto-configuration of peripherals, kernel, etc.)
- RTAS (Run-Time Abstraction Services), used in computers from IBM
- The Common Firmware Environment (CFE)
Firmware hacking
Sometimes third parties create an unofficial new or modified version of firmware to provide new features or to unlock hidden functionality. Examples include:
- Rockbox for digital audio players.
- CHDK[4] and Magic Lantern[4][5] for Canon digital cameras.
- Nikon Hacker project for Nikon EXPEED DSLRs.
- Many third-party firmware projects for wireless routers, including:
- OpenWrt for wireless routers.[4]
- RouterTech – for ADSL modem/routers based on the Texas Instruments AR7 chipset (with the Pspboot or Adam2 bootloader).
- List of wireless router firmware projects
- Firmware that allows DVD drives to be region-free.
- SamyGO, modified firmware for Samsung televisions.[6]
- Many homebrew projects for gaming consoles. These often unlock general-purpose computing functionality in previously limited devices (e.g., running Doom on iPods).
Most firmware hacks are free and open source software as well.
These hacks usually take advantage of the firmware update facility on many devices to install or run themselves. Some, however, must resort to exploits in order to run, because the manufacturer has attempted to lock the hardware to stop it from running unlicensed code.
Newer custom firmware hacks have also focused on injecting malware in devices such as smartphones. One such injection was demonstrated on the Symbian OS at MalCon,[7][8] a hacker convention.
See also
References
- ^ The Authoritative Dictionary of IEEE Standards Terms. p. 438. doi:10.1109/IEEESTD.2000.322230. ISBN 0738126012.
- ^
Opler, Ascher (1967). "Fourth-Generation Software". Datamation. 13 (1): 22–24.
{{cite journal}}
: Unknown parameter|month=
ignored (help) - ^ Corbet, Jonathan; Rubini, Alessandro; Kroah-Hartman, Greg (2005). Linux Device Drivers. O'Reilly Media. p. 405. ISBN 0596005903.
- ^ a b c "Custom Firmware Rocks!". 2009-08-05. Retrieved 2009-08-13.
- ^ "Magic Lantern firmware for Canon 5D Mark II". Retrieved 2009-08-13.
- ^ "SamyGO: replacing television firmware". LWN.net. 2009-11-14. Retrieved 2009-12-11.
- ^ http://www.malcon.org
- ^ http://www.h-online.com/security/news/item/Hacker-plants-back-door-in-Symbian-firmware-1149926.html