Tuple Logo
wat-is-firmware

SHARE

Firmware

Firmware is software that lives permanently inside a device and tells its hardware what to do. You rarely see it, yet without firmware your laptop, phone or router would do nothing at all. This article explains what firmware is, how it works and which types exist. You will also learn why firmware updates matter and what separates good firmware from bad.

What is firmware?

Firmware is a special kind of software stored directly on a device's hardware. It acts as the bridge between the physical components and the software you actually use. Firmware tells the hardware what to do, how to start up and how to talk to the other parts of the system.

Take a washing machine. When you choose a programme, the firmware decides how long the drum spins, when the water comes in and how hot it gets. All you see are the buttons and the display. Behind them, the firmware does the work.

Almost every electronic device has firmware, from your computer and smartphone to your TV, printer and even your car. In simple devices, firmware is often the only software on board. In a laptop, its main job is to get the operating system up and running.

Hardware, software and firmware: what's the difference?

Hardware, software and firmware are often confused, but each has its own role. Hardware is everything you can physically touch, such as a processor, a screen or a hard drive. Software is the programs and apps you install and use yourself. Firmware sits right in between: it is software, but tied permanently to one specific piece of hardware.

The biggest differences lie in how often each one changes and who changes it. The table below sets them side by side.

Hardware

Firmware

Software

What is it?

The physical parts of a device

Built-in software that controls the hardware

Programs and apps for the user

Examples

Processor, memory, screen

BIOS, UEFI, your router's software

Operating system, browser, word processor

Where does it live?

In the device itself

On a memory chip inside the device

On the hard drive or SSD

How often does it change?

Only when replaced or upgraded

Occasionally, through an update

Often

Who changes it?

The user or a technician

Usually the manufacturer

Users and developers

Where does the name firmware come from?

The term firmware was coined in 1967 by the American computer scientist Ascher Opler, in an article for the trade magazine Datamation. Opler needed a name for programs that sat between hardware and software: not as fixed as hardware, but not as easy to change as ordinary software.

The word is a neat bit of wordplay. Hardware is "hard" and software is "soft". Firmware is "firm": solid, but not set in stone. That still describes firmware well today. It is fixed inside a device, yet an update can change it.

How does firmware work?

Firmware is the first piece of software to wake up when a device gets power. It checks that the hardware works, gets every component ready and then hands over control. In simple devices, firmware keeps running the whole time. In a computer or smartphone, the operating system takes over most of the work once start-up is done.

Firmware talks to the hardware directly, in the language the chips understand. That means the operating system and your apps don't need to know exactly how each component works. They send an instruction and the firmware makes sure the hardware carries it out. Firmware also keeps working quietly in the background while you use a device. Think of the firmware inside your SSD, your Wi-Fi chip or your keyboard's controller.

Where firmware is stored

Firmware sits on a memory chip that keeps its contents even when the power is off. This is known as non-volatile memory. The type of chip manufacturers use has changed a lot over the years. These are the most common forms:

Thanks to flash memory, updating firmware is easy today. In the past, it sometimes meant replacing an entire chip.

The role of firmware during start-up

What actually happens when you press the power button on your computer? Within a few seconds, the device runs through a fixed sequence of steps, with firmware playing the lead role:

  1. Power on: the processor receives power and looks for the firmware at a fixed location in memory.

  2. Firmware loads: the firmware starts up. On a PC, this is usually UEFI or BIOS.

  3. Hardware check: the firmware checks that the processor, memory and storage are working. This test is called the power-on self-test (POST).

  4. Bootloader: the firmware finds the drive holding the operating system and starts the bootloader.

  5. Operating system: the bootloader loads Windows, macOS or Linux, and the operating system takes control.

Infographic “How a computer starts up” showing five steps from left to right. Step 1, power on: the processor receives power and looks for the firmware. Step 2, firmware loads: UEFI or BIOS starts up. Step 3, hardware check: the processor, memory and storage are tested. Step 4, bootloader: the firmware finds the operating system and starts the bootloader. Step 5, operating system: the operating system takes control. Steps 2 to 4 are highlighted as the stage where the firmware is in charge.The firmware runs steps 2 to 4 on its own; the operating system only takes over at the very end.

Hear a beep or see an error message before your operating system appears? That message usually comes from the firmware. It often points to a hardware problem, such as a loose memory module.

Types of firmware

Not all firmware is the same. A simple remote control needs very different firmware from a laptop or a car. Broadly, you can group firmware in two ways: by how deep it sits in the hardware and by the job it does. Here are the main types.

Low-level firmware

Low-level firmware sits deepest in the hardware. It is often stored on a ROM chip and usually can't be changed after production. This firmware handles a component's most basic functions, such as switching a chip on or passing along simple signals.

Because low-level firmware rarely changes, it has to work properly from day one. A bug in it is hard to fix. Often the only remedy is to replace the hardware.

High-level firmware

High-level firmware is more extensive and is usually stored on flash memory. It contains more instructions and can handle complex tasks. Think of the firmware in a router, a smart TV or a printer.

Its big advantage is that it can be updated. Manufacturers can fix bugs, close security holes and add new features long after the device has left the shop.

Subsystem firmware

Subsystem firmware controls one component within a larger system. That component works fairly independently, but it is still part of the whole. A computer contains plenty of these. Your SSD has its own firmware, and so do your graphics card, Wi-Fi module and webcam.

As a user, you hardly notice it. Yet an update to subsystem firmware can make a real difference, for example by making an SSD faster or more stable.

BIOS and UEFI

The best-known examples of firmware are found in computers. Almost every PC starts up with either BIOS or UEFI.

BIOS stands for Basic Input/Output System. It became widely known through the first IBM PC in 1981 and was the standard for decades. BIOS tests the hardware at start-up and then launches the operating system. You navigate it with the keyboard on a plain blue or grey screen.

UEFI stands for Unified Extensible Firmware Interface. It is the modern successor to BIOS and comes on virtually every new computer. UEFI boots faster, supports much larger drives and often has a graphical menu you can use with a mouse. It also offers Secure Boot, a feature that stops software without a valid signature from loading at start-up.

Many people still say "BIOS" when they mean UEFI, so in practice the two terms are often used interchangeably. The table below shows how they differ.

BIOS

UEFI

Introduced

1980s

2000s

Navigation

Keyboard only, text menu

Keyboard and mouse, often graphical

Maximum boot drive

Up to 2 TB (MBR)

Far beyond 2 TB (GPT)

Boot speed

Slower

Faster

Secure Boot

No

Yes

Status

Legacy

Current standard

Everyday examples of firmware

You use dozens of devices with firmware every day, usually without realising it. Anything with a chip inside needs firmware to work. That goes for your laptop, but also your washing machine, your car and even your electric toothbrush. The table below lists some common examples and what the firmware does in each.

Device

What the firmware does

Computers and laptops

Starts the device via UEFI or BIOS and controls components such as the SSD, graphics card and keyboard

Smartphones and tablets

Handles start-up, the connection to the mobile network, the camera and battery management

Routers and modems

Manages network traffic, the Wi-Fi connection and built-in security

Smart TVs

Takes care of picture processing, apps and the connection to the remote

Cars

Controls the engine, brakes, airbags and infotainment system, among other things

Smart home devices

Connects smart bulbs, thermostats and doorbells to your Wi-Fi and their app

Printers

Drives the print head and recognises which cartridges or toner are fitted

Games consoles

Handles start-up, system security and the connection to controllers

Digital cameras

Controls the sensor, autofocus and image processing

Household appliances

Runs the programmes on your washing machine, dishwasher or microwave

Medical devices

Makes sure devices such as pacemakers and insulin pumps work precisely and safely

Cars are a particularly good example. A modern car carries dozens of small computers, known as electronic control units (ECUs). Each ECU runs its own firmware for its own task. More and more carmakers update that firmware remotely through an over-the-air (OTA) update, so a trip to the garage is no longer needed.

Smart home devices deserve extra attention too. They are always connected to the internet and often run for years without anyone giving them a second thought. That makes good firmware and regular updates especially important. You'll see why later in this article.

Why is firmware important?

Firmware is the foundation everything else runs on. Without it, hardware is just a collection of chips and wires. The operating system can't start, apps don't work and the device doesn't respond to anything. Firmware turns separate parts into a working whole.

But it is about more than simply on and off. The quality of the firmware largely determines how well a device performs. You can see that in four areas.

Outdated firmware is therefore a real risk. A device can seem to work perfectly for years while carrying known security holes. That is why manufacturers release updates regularly. The next section explains how that works.

Updating firmware

A firmware update replaces the firmware on a device with a newer version. On many devices this happens automatically in the background. On others, you have to do it yourself. An update usually only takes a few minutes, but it calls for more care than updating an app.

Why manufacturers release firmware updates

No firmware is perfect on the day a device goes on sale. Bugs and weak spots often only come to light once thousands of people are using it. An update lets the manufacturer fix them after the fact. The most common reasons are:

Manufacturers don't provide updates forever. After a number of years, support for a device ends. It will still work, but new vulnerabilities will no longer be patched. For anything connected to the internet, that is a good moment to think about replacing it.

How a firmware update works

Updating firmware is also known as flashing. The new firmware is written to the device's flash memory, overwriting the old version. The device then restarts with the new firmware.

How you receive the update depends on the device. Smartphones, smart TVs and a growing number of cars get an over-the-air (OTA) update. It downloads over the internet and is often installed automatically. With a router, you usually start the update from its app or from the admin page in your browser. For other devices, such as a motherboard or a camera, you download a file from the manufacturer's website. You put it on a USB stick or memory card and install it through the device's menu.

With a good update, the device first checks that the firmware genuinely comes from the manufacturer. Only then does it start writing. Some devices also keep a backup of the old firmware, so they can fall back on it if something goes wrong.

The risks of updating

A firmware update is usually safe, but not entirely without risk. The biggest danger is the update being interrupted halfway through. If the power cuts out while the firmware is being written, you are left with a half-working version and the device may no longer start.

This is called bricking: the device is now about as useful as a brick. Sometimes it can still be rescued through a special recovery mode, which is known as a soft brick. With a hard brick that no longer works, and the device has to go back to the manufacturer or is broken for good.

Installing the wrong firmware can also leave a device unusable. Firmware is built for one specific model, and sometimes even for one hardware revision of that model. On top of that, an update can introduce new bugs or remove a feature you relied on. Going back to an older version isn't always possible.

Many modern devices are better protected against this than they used to be. They might keep two copies of the firmware or have a built-in recovery function. Even so, a little caution is wise.

Tips for a safe firmware update

A few simple precautions go a long way towards making sure nothing goes wrong. Pay particular attention to the following:

How to find your device's firmware version

Want to know whether your device is up to date? First you need its current firmware version. Look it up, then compare it with the latest version on the manufacturer's support page. Where to find it varies by device, and menu names sometimes change after an update. The table below therefore gives the most common routes rather than every single click.

Device

Where to find the firmware version

Windows PC or laptop

Search the Start menu for System Information. BIOS Version/Date shows the firmware version, and BIOS Mode tells you whether your PC uses UEFI.

Mac

Open System Information from the Apple menu. The hardware overview lists the System Firmware Version.

iPhone and iPad

Go to Settings, then General and About. Here you'll see the iOS version and the modem firmware.

Android smartphone

Go to Settings and choose About phone. Depending on the brand, you'll find the Android version, the baseband version and the date of the latest security update.

Router and modem

Open your router's app or the admin page in your browser. The address is often printed on a sticker underneath the device. The firmware version is usually under Status, System or Info.

Smart TV, printer or camera

Look in the Settings menu under something like Info, About or System. If you can't find it there, check the manual.

On a computer, you can also view the firmware by opening the UEFI or BIOS settings during start-up. You usually do this with a key such as F2, F10, F12 or Delete. Which key it is depends on the brand.

On smartphones, tablets and Macs, firmware updates usually arrive with the regular system updates. If you keep those up to date, your firmware will generally be current too. With routers, motherboards and many smart home devices, you more often need to keep an eye on it yourself.

Custom firmware and firmware hacking

Custom firmware is firmware that doesn't come from the manufacturer but has been written or modified by someone else. It is often an open source project run by a community of developers. You use it to replace a device's original firmware with your own version. This is most common with routers, smartphones, cameras and games consoles.

Well-known examples include OpenWrt and DD-WRT for routers and LineageOS for Android smartphones. There are also projects that add extra features to certain system cameras, such as better video options.

People choose custom firmware for various reasons. The main ones are:

There are risks too. Installing custom firmware often voids your warranty. If something goes wrong while flashing, you risk bricking the device. And not every project is equally well maintained. Poorly maintained custom firmware can actually introduce new security holes. With games consoles, bypassing the security also breaks the manufacturer's terms and can be legally sensitive.

Firmware hacking has another side as well. Security researchers analyse firmware to find vulnerabilities and report them to the manufacturer, which ultimately makes devices safer. But attackers use the same techniques. There are known cases of malicious code hiding in hard drive firmware, where it survives even formatting the drive or reinstalling the operating system. The next section covers this in more detail.

Firmware and security

Firmware holds a special position in every device. It starts first, has full access to the hardware and runs beneath the operating system. That makes it an attractive target for attackers. Whoever controls the firmware effectively controls the whole device.

A firmware attack is also hard to spot. Antivirus software runs inside the operating system and usually doesn't look at the firmware. On top of that, malicious firmware often survives a reinstall of the operating system, or even a replacement hard drive. The code isn't on the drive, after all, but on a chip inside the device itself.

How firmware attacks work

Attackers have several ways to abuse firmware. They often exploit weak spots in the update process or vulnerabilities that haven't been patched yet. These are the most common forms:

This isn't just theory. In 2018, researchers at ESET discovered LoJax, the first known UEFI rootkit actually used in the wild. More attacks like it have been found since, often aimed at governments and large organisations.

Why IoT devices are especially vulnerable

IoT stands for Internet of Things: devices connected to the internet, such as smart cameras, doorbells, thermostats and bulbs. These devices are often the weakest link in a network, for several reasons.

Many IoT devices are built cheaply, with little attention to security. Some ship with a default password that users never change. Manufacturers often provide updates for only a short period, or not at all. And because the device seems to be doing its job, nobody looks at it again. Meanwhile, it is online day and night.

The consequences can be serious. In 2016, the Mirai botnet took over hundreds of thousands of poorly secured IoT devices, mostly cameras and routers. Together they were used to knock major websites offline. A hacked device can also be a stepping stone into the rest of your home or business network. And with a smart camera, your privacy is on the line too.

How to protect your devices

You can't rule out a firmware attack completely, but you can make life much harder for attackers. The following measures go a long way:

Organisations go a step further. They include firmware in their vulnerability management, keep track of which firmware versions run on which devices and roll out updates centrally.

What makes good firmware?

Not all firmware is created equal. Whether a device stays safe and reliable depends heavily on how the manufacturer handles its firmware. As a user you never see the firmware itself, but you can look out for a few telltale signs. Good firmware meets at least the following four requirements.

Digitally signed by the manufacturer

Good firmware is digitally signed. The manufacturer uses a secret key to put a kind of digital signature on every version. The device checks that signature before it installs or runs the firmware. If the signature doesn't match, the device refuses it.

This stops modified or counterfeit firmware from quietly ending up on a device. Even a tiny change to the code invalidates the signature. Modern devices often have a dedicated, protected part of the hardware for this, known as a root of trust. It is the starting point for every check that follows.

There is a flip side. Strict signing makes it harder to install custom firmware. Some manufacturers therefore offer an official way to switch the check off, for those who make that choice deliberately.

Long-term support with regular updates

Firmware is never finished. New vulnerabilities keep being found, even years after a device launches. A good manufacturer keeps delivering updates for a long time and is open about it, so you know in advance how long a device will receive security updates.

Speed matters too. When a serious vulnerability is found, an update should follow quickly. Reliable manufacturers also publish security advisories explaining what the flaw was, which devices it affects and which version fixes it.

In Europe, this is increasingly becoming a legal requirement. In the EU, the Cyber Resilience Act sets security requirements for products with digital elements, including an obligation to provide security updates for a set period. In the UK, the Product Security and Telecommunications Infrastructure (PSTI) regime requires makers of connected devices to ban universal default passwords and to state how long a product will receive security updates.

Transparency and open source

The source code of most firmware is kept secret, so you have to take the manufacturer's word that it is secure. Open source firmware works differently. The code is public, so anyone can review it, spot bugs and suggest improvements.

Examples include coreboot, open source firmware for computers, and OpenWrt for routers. Because many people can inspect the code, bugs often surface sooner. Hidden functions are also harder to conceal.

Open source is no guarantee of security, though. It only works if the project is actively maintained and people genuinely review the code. Transparency also goes beyond open code. Clear release notes and a list of the software components used, known as a software bill of materials (SBOM), help users and organisations assess the risks.

A secure update mechanism

An update is only as safe as the way it arrives. Good firmware fetches updates over an encrypted connection and always checks the signature first. Installation only begins once everything checks out.

An update mechanism should also be resilient to failure. Many devices therefore have two slots for firmware. The new version is written alongside the old one first. If the update fails, the device simply starts up with the previous version, which prevents bricking.

Finally, good firmware often includes rollback protection, also known as anti-rollback. It prevents anyone from reinstalling an older version with a known vulnerability. That is good for security, but it also means you can't always undo an update yourself.

Firmware: invisible, but indispensable

Firmware is the software built into a device that controls its hardware. You hardly ever see it, but it underpins everything you do. It gets your laptop started, connects your router and makes sure your washing machine runs the right programme.

Precisely because firmware sits so deep inside a device, keeping it up to date matters. Updates fix bugs, improve performance and close security holes. Outdated firmware, on the other hand, can give attackers an easy way in, especially on devices that are always online.

The practical takeaway is simple. Turn on automatic updates where you can, only download firmware from the manufacturer and never interrupt an update. When buying a new device, check how long the manufacturer promises to support it. That way, the firmware in your devices keeps doing what it does best: its job, out of sight.

Frequently Asked Questions
Is firmware the same as software?

Firmware is a type of software, but with a role of its own. It is stored on a chip inside the device and built for one specific piece of hardware. Ordinary software, such as apps and operating systems, is something you install yourself and changes far more often. Firmware is usually only changed by the manufacturer, through an update.


How often should you update firmware?

There is no fixed schedule. The best approach is to install an update as soon as it becomes available, especially when it concerns security. Many devices do this automatically. For devices without automatic updates, such as some routers, it is worth checking for a new version yourself a few times a year.


What happens if a firmware update fails?

The device may no longer start up properly. Many modern devices automatically fall back to the previous version in that case. If that doesn't happen, try the device's recovery mode or a recovery tool from the manufacturer. If that doesn't work either, contact customer support.


Can firmware contain a virus?

Yes, it can. Malicious code in firmware, such as a rootkit or bootkit, is less common than an ordinary virus. It is mainly used in targeted attacks on organisations. Still, it is a real risk. The best protection is to only download firmware from the manufacturer and keep Secure Boot switched on.


Can you roll back a firmware update?

Sometimes, but by no means always. Many devices are protected against reinstalling an older version, which stops anyone from bringing back a version with a known vulnerability. Whether it is possible on your device is usually explained on the manufacturer's support page.


Do you have to update firmware?

No, as a user you are not obliged to update your firmware, but it is strongly recommended. Without updates, known security holes stay open. A device may also gradually stop working properly with new hardware, software or services.


Articles you might enjoy

Piqued your interest?

We'd love to tell you more.

Contact us
Tuple Logo
Veenendaal (HQ)
De Smalle Zijde 3-05, 3903 LL Veenendaal
info@tuple.nl‭+31 318 24 01 64‬
Quick Links
Customer Stories