2.7. Boot Sequence
Several components of the RP2040 work together to get to a point where the processors are out of reset and able to run the bootrom (Section 2.8). The bootrom is software that is built into the chip, performing the "processor controlled" part of the boot sequence. We will refer to the steps before the processor is running as the "hardware controlled" boot sequence.
The hardware controlled boot sequence is as follows:
- • Power is applied to the chip and the RUN pin is high. (If RUN is low then the chip will be held in reset.)
- • The On-Chip Voltage Regulator (Section 2.10) waits until the digital core supply (DVDD) is stable
- • The Power-On State Machine (Section 2.13) is started. To summarise the sequence:
- ◦ The Ring Oscillator (Section 2.17) is started, providing a clock source to the clock generators. clk_sys and clk_ref are now running at a relatively low frequency (typically 6.5MHz).
- ◦ The reset controller (Section 2.14), the execute-in-place hardware (Section 2.6.3), memories (Section 2.6.2 and Section 2.6.1), Bus Fabric (Section 2.1), and Processor Subsystem (Section 2.3) are taken out of reset.
- ◦ Processor core 0 and core 1 begin to execute the bootrom (Section 2.8).