21.10.14 select_programmer
(Ask a Question)Description
This Tcl command enables the specified programmer and disables all other connected programmers. This command is useful when multiple programmers are connected.
select_programmer -programmer_id {programmer id} \
[-host_name {host name}] \
[-host_port {host port}]
Arguments
Parameter | Type | Description |
---|---|---|
programmer_id | string | The programmer to be enabled. This parameter is mandatory. |
host_name | string | The host name or IP address. This argument is required for a remote programmer and optional for a local programmer. For local programmer, if specified it must be “localhost”. This parameter is optional. |
host_port | string | This argument is required for a remote programmer and optional for a local programmer. If omitted, the default port is used (currently, the default is 80). For a local host, both “localhost” and its port should be specified or omitted. This parameter is optional. Note: The def variable “LOCAL_PROGRAM_DEBUG_SERVER_PORT” is used to set a different default local hostport. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'programmer_id' is missing. |
None | Parameter 'host_port' has illegal value. |
None | Parameter 'host_name' has illegal value. |
None | Unable to select programmer 'value'. |
None | Parameter 'programmer_id' has illegal value. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'select_programmer -programmer_id "programmer_id" [-host_name "host_name"] [-host_port "host_port"]'. |
Supported Families
PolarFire® |
SmartFusion® 2 |
RTG4™ |
IGLOO® 2 |
PolarFire SoC |
Example
This example selects the programmer with {00557} id, {localhost} host name and {80} host port.
select_programmer -programmer_id {00557} \
-host_name {localhost} \
-host_port {80}
This example selects the programmer with {00557} id.
select_programmer -programmer_id {00557}