Texas Instruments CC2650DK ユーザーズマニュアル

ページ / 1570
cJTAG
Table 5-4. cJTAG Commands (continued)
OPCODE
CCE Conditional Command Enable
Operand: miiii
m
00111
CGM bit of the targeted controller is set
0
CGM bit of a non-targeted controller is cleared
CGM bit of the targeted controller is set
1
CGM bit of a non-targeted controller is not affected
SCNB Scan Bit
Operand: yyyyy + CR Scan
yyyyy
00
SGC, Scan Group Candidate, write
01000
01
CGM, Conditional Group Member, write
02-05
CNFG0-3, TAP.7 Controller class, read
06-31
Reserved
01001–11111
Reserved
5.2.1.1
Mandatory Commands
Three mandatory commands are used to manage command processing. These commands are sub-
commands of STMC and are Exit Command Level, Suspend, and ZBSINH. The last two commands can
be used if the device uses ZBSs for its own purposes.
Exit Command Level terminates command processing.
Suspend inhibits command detection until a special sequence is detected.
ZBSINH inhibits command detection until reset occurs.
5.2.2 Programming Sequences
5.2.2.1
Opening Command Window
Before the cJTAG module accepts any commands, the control level must be set to 2 and locked.
1. Scan IR (bypass, end in Pause DR)—Load benign opcode into the instruction register.
2. Goto Scan (Through Update DR, end in Pause DR)—This is the first ZBS.
3. Goto Scan (Through Update DR, end in Pause DR)—This is the second ZBS.
4. Scan DR (1 bit, end in Pause DR)—This locks the control level at 2.
Opening the command window decouples the device TAP; the decoupling occurs when the second ZBS
occurs.
5.2.2.2
Changing to 4-pin Mode
When the command window is open, commands can be issued. To change to 4-pin mode, APFC must be
written to 1 (using STC2 command), which assumes the TAP state is starting from Pause DR.
1. Scan DR (2 bits of 1, end in Pause DR)—Load CP0 with 2.
2. Goto Scan (Through Update DR to Pause DR)—Complete CP0 by going through update.
3. Scan DR (9 bits of 1, end in Pause DR)—Load CP1 with 9.
4. Goto Scan (Through Update DR to Pause DR)—Complete CP1 by going through update.
396
JTAG Interface
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated