21.11.13 remove_prg

Description

This Tcl command removes the programmer from the programmer list. Right-click a programmer to Ping, Self-Test, Scan, Check Chain or Remove it from the list.

remove_prg -name { name }

Arguments

ParameterTypeDescription
namestringSpecifies the programmer to be removed. You can repeat this argument for multiple programmers.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'name' is missing.
NoneThe programmer with name 'prg_name' does not exist.
NoneParameter 'param_name' is not defined. Valid command formatting is 'remove_prg [-name "name"]+'

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example removes the programmer '03178' from the programmer list:

set prg_name "03178"
remove_prg -name "$prg_name"