![NXP Semiconductors MPC5605BK Reference Manual Download Page 77](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852077.webp)
Chapter 5 Microcontroller Boot
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
77
Figure 5-2. Boot sector structure
The RCHW fields are described in
.
The SSCM performs a sequential search of each boot sector (starting at sector 0) for a valid BOOT_ID
within the RCHW. If a valid BOOT_ID is found, the SSCM reads the boot vector address. If a valid
BOOT_ID is not found, the SSCM starts the process of putting the microcontroller into static mode.
Finally, the SSCM sets the e200z0h core instruction pointer to the reset vector address and starts the core
running.
5.1.1.1
Static mode
If no valid BOOT_ID within the RCHW was found, the SSCM sets the CPU core instruction pointer to the
BAM address and the core starts to execute the code to enter static mode as follows:
•
The core executes the “wait” instruction, which halts the core.
The sequence is illustrated in
Table 5-2. RCHW field descriptions
Field
Description
BOOT_ID
Boot identifier.
If BOOT_ID = 0x5A, the boot sector is considered valid and bootable.
32 KB
Boot sector 0
16 KB
16 KB
32 KB
0x0000_0000
0x0000_8000
0x0000_C000
0x0001_0000
Code flash memory
32 KB
0x0001_8000
Boot sector 1
Boot sector 2
Boot sector 3
Boot sector 4
Boot sector structure
Bit 0
Bit 31
Reserved
Reserved
7 8
15 16
BOOT_ID
(0x5A)
0x0
(RCHW)
0x4
32-bit reset vector (points to start address of application code)
0x8
Application code (from offset 0x8 and onward)
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...