ChipScope Pro Software and Cores User Guide www.xilinx.com 145
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_target lock
This subcommand attempts to obtain an exclusive lock on a previously opened JTAG
target device.
Syntax
::chipscope::csejtag_target lock handle msWait
Arguments
Returns
The lock status in the form of one of the following:
- $CSEJTAG_LOCKED_ME
- $CSEJTAG_LOCKED_OTHER
- $CSEJTAG_UNKNOWN
An exception is thrown if the subcommand fails.
Example
Attempt to obtain an exclusive target lock and wait at least 1000 milliseconds. Obtains the
status of the lock.
%set lockStatus [::chipscope::csejtag_target lock $handle 1000]
Back to list of all CseJtag Tcl Commands
Table 5-17: Arguments for Subcommand ::chipscope::csejtag_target lock
Argument Type Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create.
msWait Wait time in milliseconds before giving up (-1 means
wait until lock is gained).