MSC8113 Reference Manual, Rev. 0
18-10
Freescale Semiconductor
Debugging
The number of bits in this stream, that is, the number of clocks in this state, is equal to the number
of selected SC140 cores in the cascade, which is three. This state is indicated by the
CHOOSE_CLOCK_DR
signal. For example, for the three SC140 cores on the MSC8113, to activate
the third core in the cascade, which is the closest to
TDO
and the farthest from
TDI
, the data is
1,0,0,0 (first a one, then three zeros). If the data is 1,0,1,0, then both the second and the fourth
cells are selected.
Only the EOnCE command register (ECR) should be accessed in cascaded mode. To do this, first
enter the CHOOSE_EONCE instruction and set ENABLE_ONCE to 1 for all cores. Then shift in
the cascaded value for all ECRs in series. When the shift is ended and the controller issues a
SHIFT_UPDATE, all registers are updated in parallel. However, it is not guaranteed that this
occurs in the same SC140 clock cycle for all cores.
Note:
Accessing any other EOnCE register in cascaded mode may fail. Always select a
single core at a time to access any other EOnCE register.
18.4.2 DEBUG_REQUEST and ENABLE_EOnCE Commands
After completing the CHOOSE_EOnCE instruction, you can execute DEBUG_REQUEST and
ENABLE_EOnCE instructions. More than one such instruction can execute, and other
instructions can be placed between them, as well as between them and the CHOOSE_EOnCE
instruction. The EOnCE modules selected in the CHOOSE_EOnCE instruction remain selected
until the next CHOOSE_EOnCE instruction. The DEBUG_REQUEST or ENABLE_EOnCE
instruction is shifted in during the
SHIFT
-
IR
state, as are all JTAG instructions.
18.4.3 Reading/Writing EOnCE Registers Through JTAG
An external host can read or write almost every EOnCE register through the JTAG interface by
performing the following steps:
1.
Execute the CHOOSE_EOnCE command in the JTAG.
2.
Send the data showing which EOnCE module is chosen. This command enables the
JTAG to manage multiple EOnCE modules in a device.
3.
Execute the ENABLE_EOnCE command in the JTAG.
4.
Write the EOnCE command into the EOnCE Command register (ECR); that is, enter the
JTAG TAP state machine into the
SHIFT
-
DR
state and then give the required command
on the
TDI
input signal.
After the command is shifted in, the JTAG TAP state machine must enter the
UPDATE
-
DR
state.
The data shifted via the
TDI
is sampled into the ECR. If, for example, the command written into
the ECR is Write EDCA0_CTRL, then the host must again enter the JTAG into
SHIFT
-
DR
and
shift the required data, which is to be written into the EDCA0_CTRL, via
TDI
. If the command is
read some register, then the DR chain must be passed again and the contents of the register are
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 ...