
Boot Assist Module (BAM)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
16-3
16.1.3.5
Serial Boot Mode
This mode of operation can load a user program into internal SRAM using either the eSCI or FlexCAN
serial interface, then execute the downloaded program. The program can then control the downloading of
data, as well as erasing and programming the internal or external flash memory.
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.
16.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.
16.3
Functional Description
16.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.
Table 16-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
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...