MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 75
Figure 5-7. BAM censorship mode detection
The first thing to be downloaded is the 64-bit password. If the password does not match the stored
password, then the BAM code pushes the microcontroller into static mode.
The way the password is compared with either the public or private password (depending on mode) varies
depending on whether censorship is enabled as described in the following subsections.
5.2.1.3.1 Censorship disabled (private or public passwords):
1. If the public password is used, the BAM code does a direct comparison between the serial password
and 0xFEED_FACE_CAFE_BEEF.
2. If the private password is used, the BAM code does a direct comparison between the serial
password and the private password in flash memory, {NVPWD0, NVPWD1}.
3. If the password does not match, the BAM code immediately terminates the download and pushes
the microcontroller into static mode.
Yes
BAM code is being
executed
(serial boot mode)
No
No
PUB = 1
?
Yes
Start serial download
with password
SSCM_STATUS register
PUB and SEC
bits are read
SEC = 1
?
Public password,
Uncensored,
BAM can directly
check password
Private password,
Censored,
SSCM needed to
check password
Private password,
Uncensored,
BAM can directly
check password
Public password
mode
Is censorship
enabled
BAM tasks Applicable password
?
?