MSC8113 Reference Manual, Rev. 0
6-10
Freescale Semiconductor
Boot Program
6.4.2.2 Operation
The MSC8113 slave device logic layer implements the following algorithm:
1.
Synchronize to the preamble (PRM) field of the BTM.
2.
If an error is detected in the HCRC field, return to step 1.
3.
If the DCID field identifies the MSC8113 slave device CHIP-ID or a broadcast
message, write the payload data (PLD) to the destination address (DA).
4.
Send a BTAM as follows:
a. If the CRC field is received with an error, send BTAM with the current RN value and
the MSC8113 slave device CHIP-ID in the SCID field.
b. If the CRC field is received with no error and the RN value does not equal the that of the
received SN field, send BTAM with the current RN value and the
MSC8113
slave device
CHIP-ID in the SCID field.
c. If the CRC field is received with no error and the RN value equals that of the received SN
field, update RN to be RN plus one modulo 256 and send BTAM with the updated RN value
and the
MSC8113
slave device CHIP-ID in the SCID field.
5.
If the CRC field is received with no error, the RN value is correct, and the end block
(EB field) flag is set, the MSC8113 slave device finishes the TDM boot session, and all
its SC140 cores jump to address 0x0 of their M1 memory. Otherwise, return to step 1.
The TDM boot master device works in two modes:
Handshake mode. Use the stop-and-wait technique to send the BTM messages and wait
for the BTAM message or to time out equal to a 32-frame time of the TDM Tx port.
Non-Handshake mode. Do not wait for the BTAM message because BTM messages can
be sent in a sequence without any wait time. The BTAM messages are sent by the
MSC8113 slave devices, but their correctness is not guaranteed.
Note:
The MSC8113 slave device RN value is initialized to zero at the start of the TDM boot
session. When the HCRC field is received with no error and the CRC field is received
with error, corrupt data is written to the MSC8113 slave device memory. When a
broadcast message is sent by the TDM boot master device, all MSC8113 slave devices
send back acknowledge messages.
Figure 6-7 shows the MSC8113 slave device logic layer algorithm. Figure 6-7 shows how a
TDM master sends blocks of data to MSC8113 devices.
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...