![NXP Semiconductors MPC5605BK Reference Manual Download Page 78](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852078.webp)
Chapter 5 Microcontroller Boot
MPC5606BK Microcontroller Reference Manual, Rev. 2
78
Freescale Semiconductor
Figure 5-3. Flash memory boot mode sequence
5.1.1.2
Alternate boot sectors
Some applications require an alternate boot sector so that the main boot code can be erased and
reprogrammed in the field. When an alternate boot is needed, you can create two bootable sectors:
•
The valid boot sector located at the lowest address is the main boot sector.
•
The valid boot sector located at the next available address is the alternate boot sector.
This scheme ensures that there is always one active boot sector even if the main boot sector is erased.
5.1.2
Serial boot mode
Serial boot provides a mechanism to download and then execute code into the microcontroller SRAM.
Code may be downloaded using either FlexCAN or LINFlex (RS232). After the SSCM has detected that
serial boot mode has been requested, execution is transferred to the BAM, which handles all of the serial
boot mode tasks. See
Section 5.2, Boot Assist Module (BAM)
5.1.3
Censorship
Censorship can be enabled to protect the contents of the flash memory from being read or modified. In
order to achieve this, the censorship mechanism controls access to the:
•
JTAG debug interface
•
Serial boot mode (which could otherwise be used to download and execute code to query or modify
the flash memory)
SSCM searches flash
boot sectors for valid
Valid
BOOT_ID found?
SSCM reads reset
vector address
Yes
No
BOOT_ID (0x5A)
SSCM transfers
execution to e200z0h core,
which runs BAM code
BAM code executes
wait instruction
System in static mode
e200z0h core starts
executing code at
vector address
(requires reset to recover)
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...