Chapter 33 Boot Assist Module (BAM)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
817
Chapter 33
Boot Assist Module (BAM)
33.1
Overview
The Boot Assist Module is a block of read-only memory containing VLE code that is executed according
to the boot mode of the device.
The BAM allows downloading boot code via the FlexCAN or LINFlex interfaces into internal SRAM and
then executing it.
33.2
Features
The BAM provides the following features:
•
MPC5602P in static mode if internal flash is not initialized or invalid
•
Programmable 64-bit password protection for serial boot mode
•
Serial boot loads the application boot code from a FlexCAN or LINFlex bus into internal SRAM
•
Censorship protection for internal flash module
33.3
Boot modes
The MPC5602P device supports the following boot modes:
•
Single Chip (SC) — The device boots from the first bootable section of the Flash main array.
•
Serial Boot (SBL) — The device downloads boot code from either LINFlex or FlexCAN interface
and then execute it.
If booting is not possible with the selected configuration (e.g., if no Boot ID is found in the selected boot
location) then the device enters the static mode.
33.4
Memory map
The BAM code resides in a reserved 8 KB ROM mapped from address 0xFFFF_C000. The address space
and memory used by the BAM application is shown in
The RAM location where to download the code can be any 4-byte-aligned location starting from the
address 0x4000_0100.
Table 33-1. BAM memory organization
Parameter
Address
BAM entry point
0xFFFF_C000
Downloaded code base address
0x4000_0100