IEEE 1149.1 Test Access Port (JTAG)
Freescale Semiconductor
32-4
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
32.2.5
Test Reset/Development Serial Clock (TRST/DSCLK)
The TRST pin is an active low asynchronous reset input with an internal pull-up resistor that forces the
TAP controller to the test-logic-reset state.
The DSCLK pin clocks the serial communication port to the debug module. Maximum frequency is 1/5
the processor clock speed. At the rising edge of DSCLK, data input on DSI is sampled and DSO changes
state.
32.2.6
Test Data Output/Development Serial Output (TDO/DSO)
The TDO pin is the lsb-first data output. Data is clocked out of TDO on the falling edge of TCLK. TDO
is tri-stateable and actively driven in the shift-IR and shift-DR controller states.
The DSO pin provides serial output data in BDM mode.
32.3
Memory Map/Register Definition
The JTAG module registers are not memory mapped and are only accessible through the TDO/DSO pin.
All registers described below are shift-in and parallel load.
32.3.1
Instruction Shift Register (IR)
The JTAG module uses a -bit shift register with no parity. The IR transfers its value to a parallel hold
register and applies an instruction on the falling edge of TCLK when the TAP state machine is in the
update-IR state. To load an instruction into the shift portion of the IR, place the serial data on the TDI pin
before each rising edge of TCLK. The msb of the IR is the bit closest to the TDI pin, and the lsb is the bit
closest to the TDO pin. See
Section 32.4.3, “JTAG Instructions”
for a list of possible instruction codes.
32.3.2
IDCODE Register
The IDCODE is a read-only register; its value is chip dependent. For more information, see
Section 32.4.3.1, “IDCODE Instruction”
.
IR[4:0]: 0_0001 (IDCODE)
Access: User read-only
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
PRN
DC
PIN
JEDEC
ID
W
Reset
See note
See note
See note
0
0
0
0
0
0
0
1
1
1
0
1
1
The reset values for PRN and PIN are device-dependent.
2
Varies, depending on design center location.
Figure 32-2. IDCODE Register
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60