150 www.xilinx.com ChipScope Pro Software and Cores User Guide
UG029 (v14.3) October 16, 2012
Chapter 5: ChipScope Engine Tcl Interface
::chipscope::csejtag_target set_pin
This subcommand sets the value of a JTAG TAP pin for a previously opened and locked
JTAG target device.
Note: The JTAG target must be locked by using the ::chipscope::csejtag_target lock
subcommand before calling this subcommand.
If using this function to change the JTAG TAP state, please be aware that the CseJtag Tcl
library does not keep track of the JTAG TAP state. Before using any of the
:
:chipscope::csejtag_tap subcommands, use the ::chipscope::csejtag_tap
navigate subcommand to set the JTAG TAP state machine to the
$CSEJTAG_TEST_LOGIC_RESET state.
Syntax
::chipscope::csejtag_target set_pin handle pin value
Arguments
Returns
An exception is thrown if the subcommand fails.
Example
Set the TMS pin to 1.
%::chipscope::csejtag_target set_pin $handle $CSEJTAG_TMS 1
Back to list of all CseJtag Tcl Commands
Table 5-22: Arguments for Subcommand ::chipscope::csejtag_target set_pin
Argument Type Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create.
pin JTAG TAP pin identifier {$CSEJTAG_TMS |
$CSEJTAG_TDI}. To change the $CSEJTAG_TCK pin, use the
subcommand ::chipscope::csejtag_target
pulse_pin.
value JTAG TAP pin value {1=set, 0=clear}