EasyManua.ls Logo

NXP Semiconductors MPC5566 - Read the Reset Configuration Halfword

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Boot Assist Module (BAM)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 16-11
16.3.2.2.5 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 Figure 16-4). If the BAM program finds a valid RCHW, the
following occurs:
The CS[0] port size and data pins are configured according to the RCHW[PS0] bit
The e200z6 core watchdog timeout is enabled or disabled using the RCHW[WTE] bit.
The watchdog timeout interval is 2.5 × 2
17
system clock periods when using the RCHW.
MMU boots using PowerPC Book E code or Freescale VLE code according to the RCHW[VLE]
setting.
Then the BAM program reads the reset vector shown in Figure 16-4 from the address 0x2000_0004 and
branches to that reset vector address, starting application program execution.
16.3.2.3 Serial Boot Mode Operation
Serial boot operating mode configures:
FlexCAN A and the eSCI A GPIO signals
Unused message buffers in FlexCAN A are designated as scratch pad SRAM
Flash memory map unit (MMU) TLB entries
Watchdog timer is enabled and set to 2.5 × 2
27
system clock cycles
Serial boot mode downloads:
64-bit password
32-bit start address
32-bit download consisting of a 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 configures these components:
External bus interface (EBI) signals and port size
SRAM structure
VLE attribute is set in flash memory map unit (MMU) TLB entries 1, 2, and 3
Clear the VLE bit to 0 for devices that use the PowerPC Book E or Power Architecture instruction set
mode.
16.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.

Table of Contents

Related product manuals