DOOMSoC Bootloader¶
Back to project overview¶
[TODO]
Before the CPU can start executing application code, it must load it from flash into memory. The bootloader will hold the code that instructs the CPU what and where to load this application code.
The bootloader is a ROM that sits on the memory bus (at
). The CPU's PC is initialized to this address when reset. When the core leaves reset, instructions are fetch from the bootloaded and executed on the CPU. At the end of the boot sequence, the CPU jumps to the application code.