21.11.10 enable_prg_type
(Ask a Question)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
| Parameter | Type | Description | 
|---|---|---|
| prg_type | string | Specify one of the following programmer type: FP | FP3 | FP4 | FP5 | FP6 | FP6Lite | PP.  This is mandatory.  | 
| enable | boolean | Specifies 1 or TRUE to enable programmer, specifies 0 or FALSE to disables programmer. This is mandatory.  | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Required 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 TRUESee Also
enable_prg
ping_prg
