2.4 On-Chip ROM Code Boot Process
When the chip is powered on, the processor clock (CPU_CLK) and main system bus clock (MCK) source is the main clock (MAINCK).
The ROM code performs a low-level initialization as follows:
- The PLLA is initialized at a frequency of 396 MHz.
- The main system bus clock is selected: when the PLLA is stabilized, the main system bus clock source switches from the internal RC 12 MHz main clock to the PLLA clock. Note that the CPU_CLK clock and the PLLA clock have the same frequency, while the MCK frequency is a quarter of the PLLA clock frequency.
Note: No external crystal or clock is needed during the external boot
memory sequence. An external clock source is checked before the launch of the SAM-BA® Monitor to obtain a more accurate clock for USB.
| Clock | Frequency (MHz) |
|---|---|
| PLLA | 396 |
| CPU-CLK | 396 |
| MCK | 99 |
After the chip initialization, the ROM code evaluates the Boot Configuration Packet and Secure Boot Configuration Packet, if provisioned, to select the boot flow as shown in the figure above.
