Description
This Tcl command changes FlashPro4 programmer settings. You can configure FlashPro programmer in Libero SoC Software or wia 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 FlashPro3/5/6 can also be selected and related options can be set
configure_flashpro4_prg [-vpump {ON|OFF}] \
[-clk_mode {discrete_clk | free_running_clk}] \
[-force_freq {ON|OFF}] \
[-freq {freq}]
Arguments
Parameter | Type | Description |
---|
vpump | string | Enables FlashPro4 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_flashpro4_prg [-vpump "ON | OFF"] \
[-clk_mode "free_running_clk | discrete_clk"] \
[-force_freq "ON | OFF"] \
[-freq "freq"]
|
None | Invalid argument value: (expecting 1000000, 2000000, 3000000, 4000000, 5000000 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 and uses a free running TCK at a frequency of 4 MHz (force_freq is set to OFF):
configure_flashpro4_prg -vpump {ON} \
-clk_mode {free_running_clk} \
-force_freq {OFF} \
-freq {4}
The following example sets the VPUMP option to ON, uses a discrete TCK and sets force_freq to ON at 2 MHz:
configure_flashpro4_prg -vpump {ON} \
-clk_mode {discrete_clk} \
-force_freq {ON} \
-freq {2}
See Also
- configure_flashpro3_prg
- configure_flashpro5_prg
- configure_flashpro6_prg