21.13.1.53 rescan_programmer

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 TypeDescription

String

Displays the programmer ID.

Error Codes

Error CodeDescription

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_programmer

This example rescans and retrieves the programmer name.

set programmer_id [rescan_programmer]
puts $programmer_id