MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 77
Figure 5-8. BAM serial boot mode flow for censorship enabled and private password
With LINFlex, any receive error will result in static mode. With FlexCAN, the host will re-transmit data
if there has been no acknowledgment from the microcontroller. However there could be a situation where
the receiver configuration has an error which would result in static mode entry.
Censorship enabled,
private password,
BAM running
Yes
BAM reads
SSCM_STATUS[SEC]
Serial password
received
Is SEC bit
cleared
BAM tasks SSCM tasks
serial boot mode
BAM writes received
password to SSCM
registers
Upper 32-bits to
SSCM_PWCMPH
Lower 32-bits to
SSCM_PWCMPL
Start address
and data
Data download
received
and copied to SRAM
?
BAM code pushes
microcontroller into
static mode
If any frame
is received
incorrectly,
BAM code
pushes
device into
static mode
If passwords match,
un-censor device
until next POR
Update SSCM_STATUS[SEC]
bit with
censorship state
SSCM compares
registers to private
password in flash
SSCM_PWCMPH to NVPWD1
SSCM_PWCMPL to NVPWD0
No
BAM code transfers
execution to user
code in SRAM
length received