Jump to content

Firmware: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Cometstyles (talk | contribs)
m Reverted edits by 202.136.14.9 (talk) to last version by Gribeco
S1fw (talk | contribs)
Line 90: Line 90:
[[tr:Donanım yazılımı]]
[[tr:Donanım yazılımı]]
[[zh:韌體]]
[[zh:韌體]]

* [http://www.s1fw.com S1 MP4/MP3 Player firmware download site]

Revision as of 14:54, 4 May 2008

A microcontroller, like this PIC18F8720, is controlled by firmware stored inside in flash memory.

In computing, firmware is a computer program that is embedded in a hardware device, for example a microcontroller. It can also be provided on flash ROMs or as a binary image file that can be uploaded onto existing hardware by a user.

As its name suggests, firmware is somewhere between hardware and software. Like software, it is a computer program which is executed by a microprocessor or a microcontroller. But it is also tightly linked to a piece of hardware, and has little meaning outside of it.

Origins

The term "firmware" was originally used for micro-programs written for microsequencers such as AMD29xx. Later on, it was coined to indicate a functional replacement for hardware on low-cost microprocessors.

Evolved firmware uses

Firmware has evolved to mean the programmable content of a hardware device, which can consist of machine language instructions for a processor, or configuration settings for a fixed-function device, gate array or programmable logic device.

A common feature of firmware is that it can be updated post-manufacturing, either electronically, or by replacing a storage medium such as a socketed memory chip.

Firmware may expose an externally accessible interface. For example, in some modem implementations the firmware is not directly accessible, but is part of a combination of hardware and firmware that responds to commands from the host system.

Firmware has traditionally been stored in ROM, however cost and performance requirements have driven component vendors to adopt various replacements, including non-volatile media such as EEPROM and Flash, or SRAM solutions, such as the firmware loaded by an operating system device driver, as described below.

Firmware and device drivers

Most devices attached to modern systems are special-purpose computers in their own right, running their own software. Some of these devices store that software ("firmware") in a ROM within the device itself. Over the years, however, manufacturers have found that loading the firmware from the host system is both cheaper and more flexible. As a result, much current hardware is unable to function in any useful way until the host computer has fed it the requisite firmware. This firmware load is handled by the device driver.

Firmware in many devices can now be updated without the need for additional hardware, often through the use of vendor-provided software.

Firmware support challenges in PCs

In some respects firmware is as much a software component of a working system as the operating system. However, unlike most modern operating systems, firmware rarely has a well evolved mechanism for updating itself to fix bugs and addressing functionality issues that are detected after the unit is shipped.

The easiest firmware to update is typically the system boot-related firmware, such as the BIOS in PCs. Some devices, such as video adapters and modems, frequently rely on firmware that is loaded dynamically by the operating system device driver, and thus is updated through the operating system update mechanisms entirely transparent to the user.

In contrast, storage device firmware is rarely updated with the same consistency as other parts of the system. Further, the mechanisms for detecting firmware versions and updating them are not standardized. As a result, these devices tend to have a significantly higher percentage of firmware-driven functionality issues, as compared to other parts of a modern computer system.

Examples

Examples of firmware include:

See also

References