Embedded Systems & Firmware
What is the role of a bootloader in an embedded device?
- AIt runs first at power-on, starting the main firmware or updating it with new firmware
- BA part for fixing the device's casing
- CIt automatically fixes bugs in the program
Show answer and explanation
Answer: A. It runs first at power-on, starting the main firmware or updating it with new firmware
A bootloader is a small program stored at a fixed location in flash that runs first at power-on. Normally it verifies the main firmware and starts it, but it can also receive new firmware over UART, USB, radio and so on and write it to flash. It is usually excluded from updates and protected so that the bootloader itself is never corrupted.
- A. Correct. It is essential for firmware updates.
- B. It is software, not a mechanical part.
- C. It does not fix bugs automatically.