Boot Assist Module (BAM)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
15-3
Serial boot mode downloads:
•
64-bit password
•
32-bit start address
•
32-bit download consisting of 1-bit VLE flag (most significant bit)
followed by a 31-bit length field containing the number of bytes to receive (download length)
Set the VLE flag to 1 for devices that support variable length encoding and must run in VLE mode. When
the VLE flag is set, the BAM programs the external bus interface (EBI), RAM, and the flash memory map
unit (MMU) TLB entries 1, 2, and 3 with the VLE attribute.
Clear the VLE bit to 0 for devices that use the PowerPC Book E or Power Architecture instruction set
mode.
15.2
Memory Map
The BAM has 16 KB of memory, from 0xFFFF_C000 through 0xFFFF_FFFF, which is divided into four
4 KB segments, each containing a copy of the BAM program code. The BAM code resides in the 4-KB
memory segment beginning at 0xFFFF_F000. A copy of the BAM code resides in the three preceding
4-KB segment, as shown in
. The BAM program executes from the reset vector at address
0xFFFF_FFFC.
shows the addresses for the BAM code in the memory map.
15.3
Functional Description
15.3.1
BAM Program Resources
The BAM program initializes and uses the following MCU resources:
•
BOOTCFG field in the reset status register (SIU_RSR) to determine the boot option
•
Address and contents of the reset configuration halfword (RCHW), which contains the address and
configuration options for the boot code. Refer to
RCHW.
•
DISNEX bit in the SIU_CCR register to determine if the Nexus port is enabled
•
MMU allows core access to MCU internal resources and the EBI
•
EBI registers and external bus pads, when using external boot modes
•
FlexCAN A, eSCI A and their pads, when using serial boot mode
Table 15-1. BAM Memory Map
Address
Description
0xFFFF_C000–0xFFFF_CFFF BAM
program
mirrored
0xFFFF_D000–0xFFFF_DFFF
BAM program mirrored
0xFFFF_E000–0xFFFF_EFFF
BAM program mirrored
0xFFFF_F000–0xFFFF_FFFF
BAM program
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...