21.11.8 enable_prg_type

Description

This Tcl command enables or disables the programmer of the type specified in the option -prg_type. If there are multipe programmers of same type connected to the machine, then use the enable_prg TCL command.

enable_prg_type \
-prg_type {programmer_type} \
-enable <value>

Arguments

ParameterTypeDescription
prg_typestringSpecify one of the following programmer type: FP | FP3 | FP4 | FP5 | FP6 | FP6Lite | PP.

This is mandatory.

enableboolean

Specifies 1 or TRUE to enable programmer, specifies 0 or FALSE to disables programmer. This is mandatory.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'prg_type' is missing.

None

Required parameter 'enable' is missing.

None

'type' is an invalid programming type. Please specify one of the following valid programming types: (FP|FP3|FP4|FPLite|PP)

None

Parameter 'param_name' is not defined. Valid command formatting is enable_prg_type -prg_type "prg_type" -enable "TRUE | FALSE".

Supported Families

PolarFire®
SmartFusion® 2

Example

The following command enables the programmer with programmer type FP6:

enable_prg_type -prg_type FP6 -enable TRUE

See Also

  • enable_prg

  • ping_prg