![Freescale Semiconductor PXR4030 Reference Manual Download Page 288](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_2330660288.webp)
Boot Assist Module (BAM)
9-8
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
9.5.3.1
Application Start Address Register
Application Start Address Register (
) is the 32-bit word after the RCHW in the application code
memory device (internal or external flash). The BAM uses the value from this location as a start address
of the user application to pass control to.
Figure 9-5. Application Start Address Register
9.5.4
Internal Boot Mode
When the BAM program detects internal flash boot mode, the BAM:
1. Configures a machine check exception handler, since it will be accessing flash memory locations
that may be corrupted and cause a bus error
2. Searches for a valid RCHW in six pre-defined locations, as shown in
3. If a valid RCHW is not found, the BAM program switches to serial boot mode
4. If the BAM program finds a valid RCHW:
— BOOT_BLOCK_ADDRESS is the address (from
) of the valid RCHW
— The BAM program fetches the application start address from
BOOT_BLOCK_A 0x4
— The BAM branches to this start address (shown in
— The core watchdog is enabled (if RCHW[WTE] = 1) and/or SWT is disabled (if
RCHW[SWT] = 0)
— The MMU TLB entries 1,2,3 are programmed with VLE attribute if the RCHW[VLE] = 1.
9.5.5
Serial Boot Mode
When serial boot mode is detected, either because of the BOOTCFG configuration or because a valid
RCHW word was not found in any of the expected locations in the Flash, the BAM program does the
following:
BOOT_BLOCK_A 0x0000_0004
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
A16
A17
A18
A19
A20
A21
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31
Table 9-6. Possible RCHW Locations in the Internal Flash
Block
Address
0
0x0000_0000
1
0x0000_4000
2
0x0001_0000
3
0x0001_C000
4
0x0002_0000
5
0x0003_0000
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...