21.11.18 self_test_prg

Description

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

Note: You must connect the programmer to the self-test board that comes with your programmer before performing a self-test. Self-test is not supported with FlashPro5/4 programmers. These programmers are rigorously tested at the factory during production.
self_test_prg -name { name }

Arguments

ParameterTypeDescription
namestringSpecifies the programmer name to run Self-Test. 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 'self_test_prg [-name "name"]+'
Noneprogrammer 'prg_name' : Self Test FAILED. Make sure the programmer is connected to the Loopback Test Board.

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example runs Self-Test on a '03A178' programmer from the programmer list:

set prg_name "03A178"
self_test_prg -name "$prg_name"