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
Parameter | Type | Description |
---|
name | string | Specifies your device name. This parameter is mandatory. |
enable | boolean | Specifies 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 Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'name' is missing. |
None | Required parameter 'enable' is missing. |
None | The device with name 'MyDevice1' doesn't exist |
None | enable: Invalid argument value: '' (expecting TRUE, 1, true, FALSE, 0 or false). |
None | Parameter 'enable' has illegal value. |
None | Parameter 'name' has illegal value. |
None | Parameter '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}