
Boot Assist Module (BAM)
MPC5644A Microcontroller Reference Manual, Rev. 6
628
Freescale Semiconductor
21.5.3.1
Reset boot vector
The boot vector, shown in
, has to be programmed by the user to the user application code
memory device (internal or external flash) to the next 32-bit word after the RCHW. The value from this
location is used by the BAM program as a start address of the user application to switch to.
Figure 21-5. Reset boot vector
21.5.4
Internal boot mode
When the BAM program detects internal Flash boot mode, it sets up a machine check exception handler
because it will be accessing Flash memory locations that may be corrupted and cause a bus error. Then the
BAM program tries to find a valid RCHW in six predefined locations. If a valid RCHW is not found, the
BAM program proceeds to check of possibility of booting to the serial boot mode.
21.5.4.1
Finding reset configuration half word
The BAM searches the internal Flash memory for a valid reset configuration half word (RCHW). Possible
RCHW locations are shown in
BOOT_BLOCK_ADDRESS is the address from
where the BAM finds a valid RCHW. If the
BAM program finds a valid RCHW, the core watchdog is enabled if the RCHW[WTE] bit is programmed
BOOT_BLOCK_A 0x0000_0004
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
A16
A17
A18
A19
A20
A21
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31
Table 21-6. Possible RCHW locations in the internal flash
Block
Address
0
0x0000_0000
1
0x0000_4000
2
0x0000_8000
3
0x0000_C000
4
0x0001_0000
5
0x0001_4000
6
0x0001_8000
7
0x0001_C000
8
0x0002_0000
9
0x0003_0000
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...