Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:From embedded controllers to PCs, systems require trusted code at power-on to initialize hardware, configure clocks, and load operating software. This immutable (or tightly controlled) code is typically stored in ROM or Flash and is referred to as firmware. The item checks whether learners link ROM's non-volatility to the practical need for persistent program storage.
Given Data / Assumptions:
Concept / Approach:Firmware is software stored in non-volatile memory on or near the hardware it controls. It must be available immediately at reset to bootstrap the system. ROM is ideal for this role because it retains contents without power. Even when firmware resides in Flash (reprogrammable), it still functions as ROM at runtime and remains present after power-down. The term “firmware” emphasizes its close coupling with hardware and relative infrequency of updates.
Step-by-Step Solution:
At reset, CPU fetches from a fixed address mapped to ROM/Flash.Boot code initializes memory controllers, clocks, and peripherals.Optional loader then copies or maps further code into RAM for execution.Verification / Alternative check:Examine any microcontroller datasheet: it boots from internal Flash/ROM. PC BIOS/UEFI resides in SPI Flash, persisting across power cycles and updated only via explicit flashing procedures.
Why Other Options Are Wrong:
Incorrect/PC-only/mask-only/obsolete: All conflict with widespread embedded practice.Common Pitfalls:Assuming “firmware” means “never updatable.” Many devices allow controlled updates but still rely on non-volatile storage.
Final Answer:Correct
Discussion & Comments