Boot Assist Module (BAM)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
15-16
Freescale Semiconductor
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.
15.3.3
Interrupts
No interrupts are generated or enabled by the BAM.
Table 15-11. 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 address
+ 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.
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...