![NXP Semiconductors MPC5605BK Reference Manual Download Page 84](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852084.webp)
Chapter 5 Microcontroller Boot
MPC5606BK Microcontroller Reference Manual, Rev. 2
84
Freescale Semiconductor
Figure 5-6. BAM logic flow
The initial (reset) device configuration is saved including the mode and clock configuration. This means
that the serial download software running in the BAM can make changes to the modes and clocking, and
then restore these to the default values before running the newly downloaded application code from the
SRAM.
The SSCM_STATUS[BMODE] field indicates which boot mode is to be executed (see
). This
field is only updated during reset.
There are two conditions where the boot mode is not considered valid and the BAM pushes the
microcontroller into static mode after restoring the default configuration:
•
BMODE = 011 (flash memory boot mode). This means that the SSCM has been unable to find a
valid BOOT_ID in the boot sectors so has called the BAM
•
BMODE = reserved
In static mode a wait instruction is executed to halt the core.
For the FlexCAN and LINFlex serial boot modes, the respective area of BAM code is executed to
download the code to SRAM.
No
Restore default
configuration
configuration
Save default
BAM Entry
0xFFFF_C000
Boot mode valid?
Download new
code and save in
SRAM
Restore default
configuration
Execute new
code
STATIC mode
Yes
Check boot
mode at
SSCM_STATUS[BMODE]
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...