Boot Assist Module (BAM)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
15-9
15.3.2.2.4
Read the Reset Configuration Halfword
The BAM program reads the first location in external memory, i.e address 0x2000_0000, for a valid reset
configuration halfword (RCHW, refer to
). If the BAM program does not find a valid RCHW,
it uses serial boot mode.
If the BAM program finds a valid RCHW, the data pins are configured and the CS[0] port size according
to the RCHW[PS0] bit and the e200z6 core watchdog according to the RCHW[WTE] bit. According to
RCHW[VLE], the MMU boots using PowerPC Book E code or Freescale VLE code. The watchdog
timeout is set to 2.5
×
2
17
system clock periods. Then the BAM program reads the reset vector
(
) from the address 0x2000_0004 and branches to that reset vector address, starting application
program execution.
15.3.2.3
Serial Boot Mode Operation
Serial boot mode downloads:
•
64-bit password
•
32-bit start address
•
32-bit download consisting of 1-bit VLE flag followed by a 31-bit length field
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.
In serial boot operating mode, the following occurs:
•
FlexCAN A and the eSCI A GPIO signals are reconfigured
•
Unused message buffers in FlexCAN A are used as scratch pad RAM
•
MMU is setup
•
Watchdog timer is enabled
No exceptions are used in serial boot mode.
15.3.2.3.1
Serial Boot Mode MMU and EBI Configuration
The BAM program sets up the MMU for all peripheral and memory regions in one of two different modes
and sets up the EBI in one of three different modes; depending on how serial boot mode was entered.
If serial boot mode is entered directly by choosing the mode with the BOOTCFG signals, or was entered
indirectly from internal boot mode because no valid RCHW was found, then the MMU is configured the
same way as for internal boot mode. The EBI is disabled and all bus pins function as GPIO.
If serial boot mode is entered indirectly from external boot/single-master because no valid RCHW was
found, then the MMU and EBI are configured the for an external boot mode with a 16-bit data bus.
Refer to
for more information.
Содержание 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...