53
11054A–ATARM–27-Jul-11
SAM9X25
53
11054A–ATARM–27-Jul-11
SAM9X25
11. Boot Strategies
The system always boots at address 0x0. To ensure maximum boot possibilities, the memory
layout can be changed thanks to the BMS pin. This allows the user to layout the ROM or an
external memory to 0x0. The sampling of the BMS pin is done at reset.
If BMS is detected at 0
, the controller boots on the memory connected to Chip Select 0 of the
External Bus Interface.
In this boot mode, the chip starts with its default parameters (all registers in their reset state),
including as follows:
• the main clock is the on-chip 12 MHz RC oscillator
• the Static Memory Controller is configured with its default parameters
The user software in the external memory performs a complete configuration:
• Enable the 32,768 Hz oscillator if best accuracy is needed
• Program the PMC (main oscillator enable or bypass mode)
• Program and Start the PLL
• Reprogram the SMC setup, cycle, hold, mode timing registers for EBI CS0, to adapt them to
the new clock
• Switch the system clock to the new value
If BMS is detected at 1
, the boot memory is the embedded ROM and the Boot Program
described below is executed. (
11.1
ROM Code
The ROM Code is a boot program contained in the embedded ROM. It is also called “First level
bootloader”.
The ROM Code performs several steps:
• basic chip initialization: XTal or external clock frequency detection
• attempt to retrieve a valid code from external non-volatile memories (NVM)
• execution of a monitor called SAM-BA Monitor, in case no valid application has been found
on any NVM
Summary of Contents for SAM9X25
Page 26: ...26 11054A ATARM 27 Jul 11 SAM9X25...
Page 138: ...138 11054A ATARM 27 Jul 11 SAM9X25 138 11054A ATARM 27 Jul 11 SAM9X25...
Page 162: ...162 11054A ATARM 27 Jul 11 SAM9X25 162 11054A ATARM 27 Jul 11 SAM9X25...
Page 216: ...216 11054A ATARM 27 Jul 11 SAM9X25 216 11054A ATARM 27 Jul 11 SAM9X25...
Page 266: ...266 11054A ATARM 27 Jul 11 SAM9X25 266 11054A ATARM 27 Jul 11 SAM9X25...
Page 330: ...330 11054A ATARM 27 Jul 11 SAM9X25 330 11054A ATARM 27 Jul 11 SAM9X25...
Page 374: ...374 11054A ATARM 27 Jul 11 SAM9X25...
Page 468: ...468 11054A ATARM 27 Jul 11 SAM9X25 468 11054A ATARM 27 Jul 11 SAM9X25...
Page 532: ...532 11054A ATARM 27 Jul 11 SAM9X25 532 11054A ATARM 27 Jul 11 SAM9X25...
Page 692: ...692 11054A ATARM 27 Jul 11 SAM9X25 692 11054A ATARM 27 Jul 11 SAM9X25...
Page 777: ...777 11054A ATARM 27 Jul 11 SAM9X25 777 11054A ATARM 27 Jul 11 SAM9X25...
Page 886: ...886 11054A ATARM 27 Jul 11 SAM9X25 886 11054A ATARM 27 Jul 11 SAM9X25...
Page 962: ...962 11054A ATARM 27 Jul 11 SAM9X25 962 11054A ATARM 27 Jul 11 SAM9X25...
Page 1036: ...1036 11054A ATARM 27 Jul 11 SAM9X25 1036 11054A ATARM 27 Jul 11 SAM9X25...
Page 1128: ...1128 11054A ATARM 27 Jul 11 SAM9X25 1128 11054A ATARM 27 Jul 11 SAM9X25...
Page 1130: ...1130 11054A ATARM 27 Jul 11 SAM9X25...
Page 1132: ...1132 11054A ATARM 27 Jul 11 SAM9X25...
Page 1144: ...xii 11054A ATARM 27 Jul 11 SAM9X25...