21.11.7 enable_prg

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

ParameterTypeDescription
namestringSpecify the programmer ID.
enablebooleanSpecify 1 or TRUE to enable the programmer, specify 0 or FALSE to disable the programmer. This is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneProgrammer 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