ChipScope Pro Software and Cores User Guide
147
UG029 (v14.3) October 16, 2012
CseJtag Tcl Commands
::chipscope::csejtag_target get_lock_status
This subcommand retrieves the lock status for the target device.
Syntax
::chipscope::csejtag_target get_lock_status handle
Arguments
Returns
Status of the lock 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
Obtain the current lock status.
%set lockStatus [::chipscope::csejtag_target get_lock_status $handle]
Back to list of all CseJtag Tcl Commands
Table 5-19:
Arguments for Subcommand ::chipscope::csejtag_target
get_lock_status
Argument
Type
Description
handle
Required
Handle to the session that is returned by
::chipscope::csejtag_session create
.