![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 829](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898829.webp)
Chapter 33 Boot Assist Module (BAM)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
829
Figure 33-7. LINFlex bit timing in UART mode
33.5.6.2
UART boot mode download protocol
summarizes the download protocol and BAM action during the UART boot mode.
33.5.7
Bootstrap with FlexCAN—autobaud disabled
33.5.7.1
Configuration
Boot from FlexCAN protocol is implemented by the FlexCAN_0 module. Pins used are:
•
CAN_TX corresponds to pin B[0]
•
CAN_RX corresponds to pin B[1].
Boot from FlexCAN with autobaud disabled uses system clock driven by the external oscillator.
The FlexCAN controller is configured to operate at a baud rate equal to the system clock frequency/40 (see
for examples of baud rate).
It uses the standard 11-bit identifier format detailed in the FlexCAN 2.0A specification.
FlexCAN controller bit timing is programmed with 10 time quanta, and the sample point is 2 time quanta
before the end, as shown in
Table 33-8. UART boot mode download protocol (autobaud disabled)
Protoco
l
step
Host sent
message
BAM response
message
Action
1
64-bit password
(MSB first)
64-bit password
Password checked for validity and compared against stored
password.
2
32-bit store address
32-bit store address
Load address is stored for future use.
3
VLE bit +
31-bit number of
bytes (MSB first)
VLE bit +
31-bit number of
bytes (MSB first)
Size of download is stored for future use.
Verify if VLE bit is set to 1.
4
8 bits of raw binary
data
8 bits of raw binary
data
8-bit data are packed into 32-bit word. This word is saved
into SRAM starting from the “Load address”.
“Load address” increments until the number of data
received and stored matches the size as specified in the
previous step.
5
none
none
Branch to downloaded code.
Start
bit
D0
D7
Stop
bit
Byte Field
D1
D2
D3
D4
D5
D6