21.12.5 enable_device

Description

This Tcl command enables or disables a device in the chain (if the device is disabled, it is bypassed). Chain programming mode must be set. The device must be a Microchip device.

enable_device -name {device name} -enable {TRUE | FALSE}

Arguments

ParameterTypeDescription
namestringSpecifies your device name. This parameter is mandatory.
enablebooleanSpecifies whether the device is to be enabled or disabled. If you specify multiple devices, this argument applies to all specified devices. Specify 1 or "TRUE" to enable device, specify 0 or "FALSE" to enable device.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'name' is missing.
NoneRequired parameter 'enable' is missing.
NoneThe device with name 'MyDevice1' doesn't exist
Noneenable: Invalid argument value: '' (expecting TRUE, 1, true, FALSE, 0 or false).
NoneParameter 'enable' has illegal value.
NoneParameter 'name' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'enable_device -name "name" -enable "TRUE | FALSE"'.

Supported Families

Supported Families
PolarFire®
PolarFire SoC
RTG4
SmartFusion® 2
IGLOO® 2

Example

The following example disables the device 'MyDevice' in the chain.

enable_device -name {MyDevice} -enable {FALSE}