Skip to content
Hardware & devices

Bootloader

The first code a device runs after reset, responsible for checking, loading and starting the main firmware and often for installing updates.

The bootloader is a small, rarely changed program that lives at the start of flash memory. Its job is to find the application firmware, make sure it is valid and jump to it. In IoT devices it typically also manages update slots: a new image is downloaded into a second partition, the bootloader verifies it on the next reset, swaps it in, and rolls back if the new firmware fails to confirm it booted correctly.

That position makes the bootloader the foundation of secure boot. If it checks the firmware’s signature against a key it trusts, an attacker cannot run modified code; if it does not, every later protection can be bypassed. Because the bootloader itself is hard to update safely in the field, it is kept minimal and tested heavily.

Part of the IoT Glossary. Spotted an error or a missing term? Tell us.