摘要 |
A system and method for automatic booting based on a single flash ROM includes a flash ROM ( 130 ) and an address map circuit ( 120 ). The flash ROM is stored with a main boot code ( 1301 ) in a first address section ( 1303 ) and with a backup boot code ( 1302 ) in a second address section ( 1304 ). The address map circuit connects to a CPU ( 100 ) and the flash ROM, and includes a counter ( 1202 ) and an address decoder ( 1201 ). A related method includes the steps of: (a) a computer being powered on; (b) a CPU of the computer retrieving the main boot code and checking whether the main boot code is corrupted; and (c) the CPU retrieving the backup boot code if the main boot code is checked as corrupted.
|