# Firmware

Canonical: https://origindatapartners.com/glossary/firmware

Also called: embedded software, embedded code, microcontroller code.

**Definition.** Firmware is the software that runs directly on a hardware device, stored in the device's own memory, which starts and controls the hardware: a microcontroller program, a bootloader, a device driver or a real-time operating system image. For a hardware company it is usually C or C++ source with its build files, test logs and version history.

## Why it matters when licensing company data

NIST's glossary defines firmware as "Computer programs and data stored in hardware - typically in read-only memory (ROM) or programmable read-only memory (PROM)". In practice most firmware today sits in flash memory and is updated in the field, but the idea is the same: code written for one specific board.

A firmware tree is rarely all the company's own. It usually contains a chip vendor's SDK under that vendor's license, an open-source real-time operating system, open-source libraries with their own license terms, and sometimes code a customer paid for and owns. Each part has to be checked before the tree is licensed to anyone.

Firmware can also be export controlled when it relates to controlled hardware or encryption, so classification is part of the review.

See [licensing firmware and embedded code](https://origindatapartners.com/guides/firmware-embedded-code-ai-licensing) and [who buys hardware engineering data](https://origindatapartners.com/guides/hardware-engineering-data-ai-buyers).

## Example

An industrial sensor maker reviews its firmware repository before describing it to a buyer. Of 1,900 source files, about 60 percent are its own code with twelve years of commit history; the rest are a chip vendor's SDK, an open-source RTOS and two open-source libraries. It lists its own code as licensable, marks the vendor SDK as excluded, and records each open-source license next to its folder.

## Source

- [NIST Computer Security Resource Center: glossary, firmware](https://csrc.nist.gov/glossary/term/firmware)
