
Boot Assist Module (BAM)
MPC5644A Microcontroller Reference Manual, Rev. 6
622
Freescale Semiconductor
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
Calibration bus boot is not supported. External bus boot is supported instead.
21.4
Memory map
The BAM occupies 16 KB of memory space, 0xFFFF_C000 to 0xFFFF_FFFF. The actual code size of the
BAM program is less than 4 KB and starts at 0xFFFF_F000, repeating itself down every 4 kilobytes 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
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...