21.13.1.55 rescan_programmer
(Ask a Question)Description
This Tcl command rescans for programmer connected to the host via the USB port.
Note:
This command does not have any arguments.
In the demo mode, this command returns "simulation".
rescan_programmer [-deviceName "device name"]Arguments
| Return Type | Description |
|---|---|
String | Displays the programmer ID. |
Error Codes
| Error Code | Description |
|---|---|
None | No programmers found. Check the programmer connection to the computer and ensure the drivers are properly installed. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'rescan_programmer [-deviceName "device name"] '. |
Supported Families
| PolarFire |
| PolarFire SoC |
| SmartFusion 2 |
| IGLOO 2 |
| RTG4 |
Example
This example rescans the programmer connection.
rescan_programmerThis example rescans and retrieves the programmer name.
set programmer_id [rescan_programmer]
puts $programmer_id