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
Parameter | Type | Description |
---|
vpump | string | Enables FlashPro programmer to drive VPUMP. Set to ON to drive VPUMP. Valid values are ON or OFF. |
clk_mode | string | Specifies free running or discrete TCK. Valid value is "discrete_clk" or "free_running_cl". |
force_freq | string | Forces 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. |
freq | integer | Specifies the TCK frequency in MHz. It can be between 1 MHz to 6 MHz. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Parameter '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"]
|
None | Invalid 'freq' argument value: (expecting 1000000, 2000000, 3000000, 4000000 or 6000000). |
None | Invalid 'clk_mode' argument value: '' (expecting free_running_clk or discrete_clk). |
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