Public Version
www.ti.com
ICEPick Module
Bits
Field Name
Description
Type
Reset
3
FORCEACTIVE
When 0, this bit does not influence the module's power or clock
W
-
settings.
When 1, the clock for TAP's module is forced on. It is implied
that this control will also turn on the power.
The value read does not reflect the value written until the power
and clock controller has acted upon a change in the written
value.
2
CLOCK
When 0, the module clock is off (Idle).
R
-
When 1, the module clock is on.
1
TAPACCESSIBLE
When 0, the TAP cannot be accessed.
R
-
When 1, the TAP can be accessed.
0
TAPPRESENT
When 0, there is not a TAP assigned to this spot.
R
-
When 1, this TAP exists in the device.
Table 27-24. RESETCONTROL Values
Value
Command
Description
000
Normal Operation
Reset operates under the normal control of the application or device controls.
001
Wait-in-reset (extended
The module(s) controlled by this secondary TAP will remain in the reset state once the reset is
reset)
asserted. This bit alone does not reset the processor.
010
Block Reset
Warm-reset to the module is blocked. At this point, only emulation reset controls will work.
011
Block and Assert Reset
Assert and hold the reset to the module.
1xx
Cancel
Cancels reset command lockout
Table 27-25. DEBUGMODE Values
Value
Debug Mode
Description
00
Default mode
The processor will use whatever debug mode is its default mode.
01
Monitor mode
The debug features of the processor will be configured for monitor mode.
10
Halt mode
The debug feature of the processor will be configured for halt or stop mode.
11
Real-time halt mode
The debug features of the processor will be configured for real-time halt mode.
27.2.5 ICEPick Basic Programming Model
27.2.5.1 Basic Initialization
The following sequence connects the ICEPick to the debugger and configures ICEPick rtck behavior:
1. Connect ICEPick:
•
Select IR scan.
•
Send the CONNECT instruction in IR scan (000111).
•
Select DR scan.
•
Send the following value in DR scan 10001001 (write and connect key).
•
At the update DR, the ICEPick is in connected state.
2. Configure ICEPick:
•
Select IR scan.
•
Send the the ROUTER instruction in IR scan (000010).
•
Select DR scan.
•
Send the following value in DR scan (see
–
WRITE (bit 32) = 1
–
BLOCK (bit field [31:28]) = 0x0, block 0 is ICEPick control.
–
REGISTER (bit field [27:24]) = 0x0
–
ADVANCERTCKTIMING (bit 17) must be configured.
–
FREERUNNINGEMUL (bit 12) must be configured.
–
Configure other bit field if needed.
•
At the update DR, the ICEPick is properly configured.
3605
SWPU177N – December 2009 – Revised November 2010
Debug and Emulation
Copyright © 2009–2010, Texas Instruments Incorporated