Where do firmware and embedded software terms commonly appear?
Boot and trust code, board support, and drivers are usually called firmware, while RTOS and middleware vary by team convention and device applications are embedded software.
Boot and trust
ROM code, first-stage loader, secure boot verification, recovery mode, flash layout, rollback control, and key boundaries are normally treated as firmware concerns.
Board support
Clock, pin, memory, power, interrupt, peripheral, and SoC initialization sits close to hardware. BSPs may include both firmware and operating-system components.
Drivers and HAL
Drivers translate hardware behavior into controlled interfaces. A hardware abstraction layer can reduce variant coupling, but it cannot erase electrical and timing differences.
RTOS and middleware
Schedulers, protocol stacks, file systems, diagnostics, and libraries may be called firmware or embedded software depending on team convention.
Device applications
Control logic, workflows, local analytics, displays, and gateways are usually embedded software, even when packaged into the same binary as low-level code.
Cloud and companion apps
Cloud services and companion apps are part of the connected product system but are not normally embedded software. Their APIs, identity, update, and compatibility contracts still affect device architecture.
How does the distinction apply to real products?
The table below maps the two terms onto five product shapes, from a battery sensor to a Linux gateway.
| Product | Firmware examples | Embedded-software examples |
|---|---|---|
| Battery sensor | Startup, ADC and radio drivers, power-state control | Sampling policy, filtering, protocol behavior, local event rules |
| Industrial controller | I/O drivers, fieldbus interface, watchdog, bootloader | Control application, recipes, diagnostics, HMI services |
| Medical device | Hardware initialization, safety monitors, secure update | Therapy workflow, UI logic, records, connectivity services, subject to intended-use controls |
| Automotive ECU | MCAL or low-level drivers, boot and flash programming | Application components, diagnostics, communication and control logic |
| Linux gateway | Bootloader, trusted firmware, kernel and BSP components | System services, protocol translation, local storage, fleet agent, UI |