technology

What Firmware Is and How It Works

Firmware is the permanent, low-level instructions stored in non-volatile memory on a hardware device. It sits close to the hardware layer and provides the foundational instructi...

Mara Ellison
What Firmware Is and How It Works

What firmware is and why it matters

Firmware is the permanent, low-level instructions stored in non-volatile memory on a hardware device. It sits close to the hardware layer and provides the foundational instructions a device needs to power on, control its components, and communicate with higher-level software. Unlike apps or operating systems that can change frequently, firmware is typically updated only to fix bugs, add support, or address security issues. It is best viewed as the bridge between hardware and software, translating basic hardware capabilities into stable, predictable behavior for everything from routers and cameras to motherboards and smartphones.

How firmware differs from software and hardware

Firmware vs software

Software refers to programs and apps that run on top of an operating system and can be changed often. Firmware, in contrast, is tightly coupled to the specific hardware it runs on and is stored in non-volatile memory so it persists across power cycles. Software is usually loaded into RAM during execution, while firmware often resides in ROM, EEPROM, or flash memory and is executed directly by the device’s processor at boot. Because firmware is closer to hardware, it changes less frequently and typically requires a deliberate update process.

Firmware vs hardware

Hardware is the physical components of a device, including processors, memory chips, buttons, and sensors. Firmware is the code that tells the hardware what to do and how to work together. Without firmware, hardware would be inert circuits; with firmware, those circuits perform specific tasks. While firmware is not as changeable as software, it is more flexible than hardware and can be revised to correct behavior or enable new features.

Where you will find firmware

Firmware exists in nearly every connected device, from simple peripherals to complex computers. Consumer electronics, networking gear, computers, and IoT devices all rely on firmware to initialize hardware and provide a stable platform for higher-level software. Below are common examples of devices that depend on firmware to boot and function.

  • Consumer routers and modems: initialize network interfaces and boot the operating system.
  • Digital cameras and phones: manage power, sensors, and basic input/output.
  • Motherboards and graphics cards: perform initial power-on tests and hand off control to the operating system.
  • Printers and appliances: coordinate mechanisms and user interfaces.
  • IoT devices such as smart thermostats and sensors: maintain connectivity and automation logic.

How firmware is stored and updated

Firmware is stored in non-volatile memory chips on a device’s circuit board, such as flash memory, EEPROM, or masked ROM. Because these chips retain data without power, the firmware remains intact when the device is turned off. When a device starts, its processor executes the firmware instructions to initialize hardware components, configure buses, and prepare the system to load the main operating system. Manufacturers provide firmware updates to patch vulnerabilities, improve stability, or add features, and users typically apply updates through a dedicated utility or the device’s settings interface.

Common firmware update methods

  • Built-in update tools in operating systems or device apps.
  • USB-based flashing utilities provided by manufacturers.
  • Network-based firmware over the air (FOTA) for connected devices.
  • Manual reflashing using vendor-specific utilities and bootloaders.

Risks, troubleshooting, and best practices

Because firmware operates at a low level, corruption or failed updates can render a device unable to start. To reduce risk, avoid interrupting updates, use only vendor-provided firmware images, and verify checksums when available. If a device fails to boot after a bad update, manufacturers may offer recovery modes or require professional service. Regular but cautious updates, strong security practices, and checking compatibility before applying new firmware are essential for maintaining device reliability and security over time.

Firmware attributes at a glance

Attribute Verified Detail Source Type
Storage medium Non-volatile memory such as flash, EEPROM, or ROM Technical specification
Update frequency Infrequent; driven by bugs or security issues Technical specification
Execution context Runs directly on the device’s processor at boot Technical specification
Typical scope Initializes hardware, provides basic I/O and boot support Technical specification
Security relevance High; firmware flaws can persist across OS updates Technical specification
User interaction Usually low; updates handled by vendor tools or OTA Technical specification

Firmware in the device lifecycle

During manufacturing, firmware is programmed into devices to define initial behavior and validate hardware. After deployment, firmware acts as a stable foundation that may receive occasional updates to resolve issues or support new capabilities. Because firmware persists across power cycles and often across software reinstallation, it plays a critical role in long-term device identity, security posture, and interoperability. Understanding firmware helps users and organizations manage devices securely and plan for reliable updates throughout the ownership lifecycle.

Key takeaways

  • Firmware is the persistent, low-level code that instructs hardware how to behave.
  • It bridges raw hardware and higher-level software, providing stable initialization and control.
  • Firmware is stored in non-volatile memory and is updated less often than application software.
  • Firmware issues can prevent devices from starting and typically require manufacturer support to recover.
  • Regular but cautious firmware updates are important for security, stability, and feature support.

Related Reading

More pages in this topic cluster.

Samsara: A Verified Overview of the Company and Its Core Offerings

Samsara is an operations IoT company that connects physical operations to the cloud, enabling enterprises to manage fleets, assets, and field workflows using data and automation...

Read next
What Is Video Capture: Definition, Methods, and Best Practices

Video capture is the process of recording or converting moving images and audio into a digital format that can be stored, edited, and shared. It underpins streaming, broadcastin...

Read next
CDMA Mobile Network: How It Works, Key Differences, and Current Use

Code Division Multiple Access (CDMA) is a channel access method used in some mobile radio networks that allows multiple users to share the same frequency band by assigning each...

Read next