
Boot Assist Module (BAM)
MPC5566 Microcontroller Reference Manual, Rev. 2
16-18
Freescale Semiconductor
in memory matches the number specified in the previous step. For each valid eSCI message
received, the BAM transmits the same data on the TXDA signal.
NOTE
Internal SRAM is protected by 64-bit wide error correction coding hardware
(ECC). All writes to uninitialized internal SRAM must be 64 bits wide, or
an ECC error occurs. The BAM buffers download data until 8-bytes are
received, and then executes a single 64-bit wide write. Only internal SRAM
supports 64-bit writes. Downloading data to RAM other than internal
SRAM causes errors.
If the start address of the downloaded data is not on an 8-byte boundary, the
BAM writes 0x00 beginning at the preceding 8-byte boundary memory
location to the start address (4 byte maximum). The BAM also writes 0x00
to all memory locations from the last data byte downloaded to the following
8-byte boundary (7 byte maximum).
4. Execute the code.
The BAM waits for the last eSCI message transmission to complete and then disables the eSCI.
TXDA and RXDA revert to general-purpose inputs. The BAM branches to the starting address
where the downloaded code is stored (specified in step 2) and executes the code.
NOTE
The code that downloads and executes must periodically refresh the e200z6
watchdog timer or change the timeout period to a value that does not cause
resets during normal operation.
Table 16-12. eSCI Serial Boot Mode Download Process
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. e200z6 watchdog timer is
refreshed if the password check is successful
2
32-bit store a
32-bit number of bytes
MSB first
32-bit store a
32-bit number of bytes
Load address and size of download are stored for
future use
3
8 bits of raw binary data
8 bits of raw binary data Each byte of data received is stored in MCU
memory, starting at the address specified in the
previous step and incrementing until the number of
data bytes received and stored matches the number
of data bytes specified in the preceding step.
4
None
None
The BAM returns I/O pins and the eSCI module to
their reset state, except it asserts
ESCI_A_CR2[MDIS] instead of negates. Then the
BAM branches to the starting address of the stored
data specified in step 2.
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...