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.
| Command | Action |
|---|---|
| add_actel_device | Adds an Actel device to the chain |
| add_actel_device | Adds a non-Actel device in the chain |
| add_actel_device | Performs diagnostics of the page status and data information |
| add_actel_device | Closes the FlashPro project |
| add_actel_device | Compares the content of the analog block configurations in your design against the actual values in the device |
| add_actel_device | Compares the content of the FlashROM configurations in your design against the actual values in the selected device |
| compare_memory_client | Compares the memory client in a specific device and block |
| configure_flashpro_prg | Changes FlashPro programmer settings |
| configure_flashpro3_prg | Changes FlashPro3 programmer settings |
| configure_flashproLite_prg | Changes FlashPro Lite programmer settings |
| connect_cable | Connects a parallel cable to a port |
| construct_chain_automatically | Automatically starts chain construction for the specified programmer |
| copy_device | Copies a device in the chain to the clipboard |
| cut_device | Removes one or more devices from the chain |
| dump_tcl_support | Unloads the list of supported FlashPro Tcl commands |
| enable_device | Enables or disables a device in the chain |
| enable_prg | Enables or disables one or more programmers |
| enable_prg_type | Enables or disables all programmers of a specified programmer type |
| enable_procedure | Enables/disables an optional procedure for an action |
| enable_serialization | Enables/disables serialization for a device |
| export_config | Exports a configuration file |
| export_script | Exports the history in a Tcl script |
| export_secured_pdb | Exports a single device secured PDB from the loaded PDB |
| export_single_1532 | Exports a single device 1532 file |
| export_single_dat | Exports a single device DirectC data file |
| export_single_stapl | Exports a single device STAPL file |
|
export_single_svf | Exports a single device SVF file |
| export_stapl | Exports the ChainBuilder STAPL file in chain programming mode |
| import_config | Imports a configuration file |
| new_project | Creates a new FlashPro project or converts an old ChainBuilder project into a new FlashPro project |
| open_project | Opens a FlashPro project |
|
paste_device | Pastes the devices that are on the clipboard in the chain |
| ping_prg | Pings one or more programmers |
| read_analog_block_config | Reads analog block configuration information |
| read_device_status | Compares the memory client in a specific device and block |
| read_flash_memory | Reads information from the eNVM modules |
| read_flashrom | Reads the content of the FlashROM |
| read_id_code | Reads IDCode from the device without masking any IDCode fields |
| recover_flash_memory | Removes ECC2 errors due to memory corruption by reprogramming specified flash memory (NVM) pages |
| refresh_prg_list | Refreshes the programmer list |
| remove_device | Removes the device from the chain |
| remove_prg | Removes the programmer from the programmer list |
| run_selected_actions | Runs the selected action on the specified programmer and returns the exit code from the action |
| save_log | Saves the log file |
| save_project | Saves the FlashPro project |
| save_project_as | Saves the FlashPro project under a new project name |
| scan_chain_prg | Runs scan chain on a programmer |
| select_serial_range | Selects the serialization data |
| self_test_prg | Runs Self-Test on a programmer |
| set_bsdl_file | Sets a BSDL file to a non-Actel device in the chain |
| set_chain_param | Sets the chain parameters in single programming mode |
| set_debug_device | Identifies the device you intend to debug |
| set_debug_programmer | Identifies the programmer you want to use for debugging (if you have more than one) |
| set_device_ir | Sets the IR length of a non-Actel device in the chain |
| set_device_name | Changes the user name of a device in the chain |
| set_device_order | Sets the order of the devices in the chain to the order specified |
| set_device_tck | Sets the maximum TCK frequency of a non-Actel device in the chain |
| set_device_type | Changes the family of an Actel device in the chain |
| set_main_log_file | Sets the FlashPro log file |
| set_prg_name | Changes the user name of a programmer |
| set_programming_action | Selects the action for a device |
| set_programming_file | Sets the programming file for a device |
| set_programming_mode | Sets the programming mode |
| 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 |
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 |
