MPC563XM Reference Manual, Rev. 1
608
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
21.3.3
Internal Boot Mode
This mode of operation is intended for systems that boot from internal flash memory. The internal flash
memory is used for all code and all boot configuration data.
21.3.4
Serial Boot Mode
This mode of operation is intended to load a user program into internal SRAM, using either the eSCI or
CAN serial interface, then to execute that program. The program can then be used to control the download
of data and erasing/programming of the internal or external flash memory.
21.3.5
Calibration Bus Boot Mode
This boot mode is intended for parts packaged in to the CSP package.
21.4
Memory Map
The BAM occupies 16 Kbytes of memory space, 0xFFFF_C000 to 0xFFFF_FFFF. The actual code size of
the BAM program is less than 4 Kbytes and starts at 0xFFFF_F000, repeating itself down every
4Kilobytes in the BAM address space. The CPU starts the BAM program execution at its reset vector from
address 0xFFFF_FFFC.
The BAM exits to the user code at 0xFFFF_FFF8 address. The last BAM executed instruction is a BLR.
The link register is preloaded with the user application start address. When booting from internal or
external flash, the start address is taken from next to valid RCHW 32-bit word.When the device boots
serially the start address is set according the serial boot protocol.
shows the BAM address map.
21.5
Functional Description
21.5.1
BAM Program Flow Chart
The BAM program flow chart is shown in
.
Table 21-1. BAM Memory Map
Address
Description
0xFFFF_C000 - 0xFFFF_EFFF
BAM program mirrored
0xFFFF_F000 - 0xFFFF_FFFF
BAM program
0xFFFF_FFFC
Device reset vector
0xFFFF_FFF8
BAM Last executed instruction