Chapter 33 Boot Assist Module (BAM)
MPC5602P Microcontroller Reference Manual, Rev. 4
824
Freescale Semiconductor
Then, the initial device configuration is restored and the code jumps to the address of downloaded code.
At this point BAM has just finished its task.
If an error occurs, (e.g., communication error, wrong boot selected, etc.), the BAM restores the default
configuration and puts the device into static mode. Static mode means the device enters the low power
mode SAFE and the processor executes a wait instruction. This is needed if the device cannot boot in the
selected mode. During BAM execution and after, the mode reported by the field S_CURRENT_MODE of
the register ME_GS in the module ME Module is “DRUN”.
33.5.5.3
BAM resources
BAM uses/initializes the following MCU resources:
•
ME and CGM modules to initialize mode and clock sources
•
CAN_0, LINFlex_0, and their pads when performing serial boot mode
•
SSCM to check the boot mode and during password check (see
•
External oscillator
The following hardware resources are used only when autobaud feature is selected:
•
STM to measure the baud rate
•
CMU to measure the external clock frequency related to the internal RC clock source
•
FMPLL to work with system clock near the maximum allowed frequency (this to have higher
resolution during baud rate measurement).
As already mentioned, the initial configuration is restored before executing the downloaded code.
When the autobaud feature is disabled, the system clock is selected directly from the external oscillator.
Thus the oscillator frequency defines baud rates for serial interfaces used to download the user application
(see
Table 33-6. Fields of SSCM STATUS register used by BAM
Field
Description
BMODE
[2:0]
Device Boot Mode
000
Test Flash/autobaud_scan
001
CAN Serial Boot Loader
010
SCI Serial Boot Loader
011
Single Chip
100–111Reserved
This field is updated only during reset.
Table 33-7. Serial boot mode without autobaud—baud rates
Crystal frequency
(MHz)
LINFlex baud rate
(baud)
FlexCAN bit rate
(bit/s)
f
extal
f
extal
/ 833
f
extal
/ 40
8
9600
200 K
12
14400
300 K
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...