21.11.2 configure_flashpro3_prg

Description

This Tcl command changes FlashPro3 programmer settings. You can configure FlashPro programmer in Libero SoC Software or via this command in FlashPro Express software. You will be able to set VPUMP voltage for the programmer and force TCK drop down list of frequencies you want to use for the programming. Similarly other programmer such as FlashPro4/5/6 can also be selected and related options can be set.

configure_flashpro3_prg [-vpump {ON | OFF}] \
[-clk_mode {discrete_clk | free_running_clk}] \
[-force_freq {ON | OFF}] \
[-freq {freq}]

Arguments

ParameterTypeDescription
vpumpstringEnables FlashPro programmer to drive VPUMP. Set to ON to drive VPUMP. Valid values are ON or OFF.
clk_modestringSpecifies free running or discrete TCK. Valid value is "discrete_clk" or "free_running_cl".
force_freqstringForces the FlashPro software to use the TCK frequency specified by the software rather than the TCK frequency specified in the programmer file. Valid values are ON or OFF.
freqintegerSpecifies the TCK frequency in MHz. It can be between 1 MHz to 6 MHz.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'parameter_name' is not defined. Valid command formatting is
configure_flashpro3_prg [-vpump "ON | OFF"] \
[-clk_mode "free_running_clk | discrete_clk"] \
[-force_freq "ON | OFF"] \
[-freq "freq"]
NoneInvalid 'freq' argument value: (expecting 1000000, 2000000, 3000000, 4000000 or 6000000).
NoneInvalid 'clk_mode' argument value: '' (expecting free_running_clk or discrete_clk).

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example sets the VPUMP option to ON, TCK to free running, and uses the TCK frequency specified in the programmer file (force_freq is set to OFF):

configure_flashpro3_prg -vpump {ON} \
-clk_mode {free_running_clk} \
-force_freq {OFF} -freq {4}

The following example sets VPUMP to ON, TCK to discrete, forces the FlashPro software to use the TCK frequency specified in the software (-force_freq is set to ON) at a frequency of 2 MHz:

configure_flashpro3_prg -vpump {ON} \
-clk_mode {discrete_clk} \
-force_freq {ON} -freq {2}

See Also

  • configure_flashpro4_prg
  • configure_flashpro5_prg
  • configure_flashpro6_prg