21.11.7 enable_prg
(Ask a Question)Description
This Tcl command enables or disables the programmer specified. It will give error if the programmer specified for the -name option is not connected to that machine.
enable_prg \
-name {programmer_id} \
-enable {value}
Arguments
Parameter | Type | Description |
---|---|---|
name | string | Specify the programmer ID. |
enable | boolean | Specify 1 or TRUE to enable the programmer, specify 0 or FALSE to disable the programmer. This is mandatory. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Programmer mentioned in the -name parameter is not connected to the machine |
None | The programmer with name 'programmer ID' does not exist. |
None | Required parameter 'enable' is missing. |
None | Required parameter 'name' is missing. |
None | Parameter 'param_name' is not defined. Valid command formatting is enable_prg [-name "name"]+ -enable "TRUE | FALSE". |
Supported Families
PolarFire® |
SmartFusion® 2 |
Example
The following command enables the programmer with programmer ID 13802A15:
enable_prg -name {13802A15} -enable 1