English
Language : 

K60P100M100SF2RM Datasheet, PDF (218/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
The Debug Port
TDO
TDI
TCK
TMS
TRACESWO
IR==BYPASSor IDCODE
4’b1111 or 4’b0000
jtag_updateinstr[3:0]
A
TDI
nTRST
JTAGC
TCK
TMS
TDO
To Test
Resources
TDO
TDI
SWCLKTCK
SWDITMS
JTAGNSW
SWDO
SWDOEN
(1’b1 = 4-pin JTAG)
(1’b0 = 2-pin cJTAG)
1’b1
CJTAG
TDI TDO PEN
TDO
TDI
nTRST
nSYS_TDO
nSYS_TDI
nSYS_TRST
TCK
TMS_OUT
nSYS_TCK
TMS_OUT_OE nSYS_TMS
TMS_IN
IR==BYPASSor IDCODE
A
4’b1111 or 4’b1110
JTAGir[3:0]
DAP Bus
AHB-AP
MDM-AP
SWD/ JTAG
SELECT
Figure 9-2. Modified Debug Port
The debug port comes out of reset in standard JTAG mode and is switched into either
cJTAG or SWD mode by the following sequences. Once the mode has been changed,
unused debug pins can be reassigned to any of their alternative muxed functions.
9.2.1 JTAG-to-SWD change sequence
1. Send more than 50 TCK cycles with TMS (SWDIO) =1
2. Send the 16-bit sequence on TMS (SWDIO) = 0111_1001_1110_0111 (MSB
transmitted first)
3. Send more than 50 TCK cycles with TMS (SWDIO) =1
NOTE
See the ARM documentation for the CoreSight DAP Lite for
restrictions.
9.2.2 JTAG-to-cJTAG change sequence
1. Reset the debug port
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
218
Freescale Semiconductor, Inc.