
Boot Assist Module (BAM)
PXN20 Microcontroller Reference Manual, Rev. 1
9-2
Freescale Semiconductor
9.1.2
Modes of Operation
The BAM has the following modes of operation:
•
Normal mode
•
Debug mode
•
Internal-boot mode
•
Serial-boot mode
9.1.2.1
Normal Mode
In normal operation the BAM responds to all read requests within its address space. The e200z6 core
executes the BAM program after the negation of RESET if the CRP_Z6VEC register value is
0xFFFF_FFFC.
9.1.2.2
Debug Mode
The BAM program is not executed when the MCU comes out of reset in OnCE debug mode. The
development tool must initialize the MCU instead of BAM before starting the user application.
9.1.2.3
Internal-Boot Mode
This mode of operation is for systems that boot from internal memory. The internal flash is used for all
code and all boot configuration data. After the BAM has completed the boot process, user code may enable
the external bus interface if required.
9.1.2.4
Serial-Boot Mode
This mode of operation can load a user program into system RAM using the eSCI or FlexCAN serial
interface, then execute the downloaded program. The user program can then be used to control the
download of data and erasing/programming of the internal or external flash memory.
9.2
Memory Map and Registers
This section provides a detailed description of the BAM memory map.
9.2.1
Module Memory Map
shows the BAM memory map. The BAM ROM module occupies the last 16 KB of the MCU
memory space; however, only 4 KB is physically present. The upper 4 KB shadows the lower 4 KB. Some
important absolute addresses are presented in
Table 9-1. BAM Absolute Addresses
Address
Comment
0xFFFF_FFFC
BAM reset vector—first executed address after the reset
0xFFFF_F000
BAM start address
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...