9.15.5 About TCL Commands - FlashPro® Tcl Command Reference

A Tcl (Tool Command Language) file contains scripts for simple or complex tasks. You can run scripts from the Windows command line or store and run a series of Tcl commands in a *.tcl batch file. The Tcl commands supported by FlashPro® are listed in the following table.

Note: Tcl commands are case sensitive. However, their arguments are not.
Table 9-24. TCL Commands
CommandAction
add_actel_deviceAdds an Actel device to the chain
add_actel_deviceAdds a non-Actel device in the chain
add_actel_devicePerforms diagnostics of the page status and data information
add_actel_deviceCloses the FlashPro project
add_actel_deviceCompares the content of the analog block configurations in your design against the actual values in the device
add_actel_deviceCompares the content of the FlashROM configurations in your design against the actual values in the selected device
compare_memory_clientCompares the memory client in a specific device and block
configure_flashpro_prgChanges FlashPro programmer settings
configure_flashpro3_prgChanges FlashPro3 programmer settings
configure_flashproLite_prgChanges FlashPro Lite programmer settings
connect_cableConnects a parallel cable to a port
construct_chain_automaticallyAutomatically starts chain construction for the specified programmer
copy_deviceCopies a device in the chain to the clipboard
cut_deviceRemoves one or more devices from the chain
dump_tcl_supportUnloads the list of supported FlashPro Tcl commands
enable_deviceEnables or disables a device in the chain
enable_prgEnables or disables one or more programmers
enable_prg_typeEnables or disables all programmers of a specified programmer type
enable_procedureEnables/disables an optional procedure for an action
enable_serializationEnables/disables serialization for a device
export_configExports a configuration file
export_scriptExports the history in a Tcl script
export_secured_pdbExports a single device secured PDB from the loaded PDB
export_single_1532Exports a single device 1532 file
export_single_datExports a single device DirectC data file
export_single_staplExports a single device STAPL file

export_single_svf

Exports a single device SVF file
export_staplExports the ChainBuilder STAPL file in chain programming mode
import_configImports a configuration file
new_projectCreates a new FlashPro project or converts an old ChainBuilder project into a new FlashPro project
open_projectOpens a FlashPro project

paste_device

Pastes the devices that are on the clipboard in the chain
ping_prgPings one or more programmers
read_analog_block_configReads analog block configuration information
read_device_statusCompares the memory client in a specific device and block
read_flash_memoryReads information from the eNVM modules
read_flashromReads the content of the FlashROM
read_id_codeReads IDCode from the device without masking any IDCode fields
recover_flash_memoryRemoves ECC2 errors due to memory corruption by reprogramming specified flash memory (NVM) pages
refresh_prg_listRefreshes the programmer list
remove_deviceRemoves the device from the chain
remove_prgRemoves the programmer from the programmer list
run_selected_actionsRuns the selected action on the specified programmer and returns the exit code from the action
save_logSaves the log file
save_projectSaves the FlashPro project
save_project_asSaves the FlashPro project under a new project name
scan_chain_prgRuns scan chain on a programmer
select_serial_rangeSelects the serialization data
self_test_prgRuns Self-Test on a programmer
set_bsdl_fileSets a BSDL file to a non-Actel device in the chain
set_chain_paramSets the chain parameters in single programming mode
set_debug_deviceIdentifies the device you intend to debug
set_debug_programmerIdentifies the programmer you want to use for debugging (if you have more than one)
set_device_irSets the IR length of a non-Actel device in the chain
set_device_nameChanges the user name of a device in the chain
set_device_orderSets the order of the devices in the chain to the order specified
set_device_tckSets the maximum TCK frequency of a non-Actel device in the chain
set_device_typeChanges the family of an Actel device in the chain
set_main_log_fileSets the FlashPro log file
set_prg_nameChanges the user name of a programmer
set_programming_actionSelects the action for a device
set_programming_fileSets the programming file for a device
set_programming_modeSets the programming mode
set_serialization_log_fileSets the FlashPro log file to be used for serialization
set_serialization_modeSets the serialization mode
signatureOptional for AFM, DIO, and FUS file types
update_programming_fileUpdates the programming file with the selected parameters

Command

Action

set_serialization_log_file

Sets the FlashPro log file to be used for serialization

set_serialization_mode

Sets the serialization mode

signature

Optional for AFM, DIO, and FUS file types

update_programming_file

Updates the programming file with the selected parameters