21.11.5 configure_flashpro6_prg

Description

This Tcl command changes FlashPro6 programmer settings. You can configure FlashPro6 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 JTAG (Joint Test Action Group) or SPI (Serial Peripheral Interface bus) clock from the TCK (JTAG clock) or SCK (SPI clock) drop down list of frequencies you want to use for the programming. Similarly other programmer such as FlashPro5/4/3 can also selected and related options can be set.

configure_flashpro6_prg [-vpump {ON | OFF} ] \
[-force_freq {ON | OFF}] \
[-freq "freq"] \
[-force_sck_freq {ON | OFF} \
[-sck_freq "sck_freq"]

Arguments

ParameterTypeDescription
vpumpstringEnables FlashPro5 programmer to drive VPUMP. Set to ON to drive VPUMP. Valid value is ON (default) or OFF.
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, OFF(default).
freqintegerSpecifies the TCK frequency in MHz. TCK is used with a maximum frequency of 20 MHz, and the default frequency is 4 MHz. It can takes the value between 1 MHz to 6 MHz or it can be 10,15 or 30 MHz.
force_sck_freqstringForces the FlashPro software to use the SCK frequency. Valid values are ON, OFF(default).
sck_freqfloatingSpecifies the SCK frequency in MHz. SCK is used with a maximum frequency of 40 MHz, and the default frequency is 20 MHz. Limitation of the SCK frequency for the selected programmer: 1.00, 2.00, 2.50, 3.33, 4.00, 5.00, 6.67, 8.00, 10.00, 13.33, 20.00 MHz
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'parameter_name' is not defined. Valid command formatting is
configure_flashpro6_prg [-vpump "ON | OFF"] \
[-force_freq "ON | OFF"] \
[-freq "freq"] \
[-force_sck_freq "ON | OFF"] \
[-sck_freq "sck_freq"]'
NoneInvalid 'freq' argument value: '4' (expecting 1000000, 2000000, 3000000, 4000000, 5000000, 6000000, 7000000, 8000000, 9000000, 10000000, 11000000, 12000000, 13000000, 14000000, 15000000, 16000000, 17000000, 18000000, 19000000 or 20000000).
NoneInvalid 'sck_freq' argument value: '2' (expecting 400000, 500000, 600000, 700000, 800000, 1000000, 2000000, 2500000, 3330000, 4000000, 5000000, 6670000, 8000000, 10000000, 13330000, 20000000 or 40000000)

Supported Families

PolarFire®

PolarFire SoC

SmartFusion® 2

Example

The following example sets TCK at a frequency of 4 MHz and sets force_freq to OFF:

configure_flashpro6_prg -force_freq {OFF} -freq {4}

The following example sets SCK at a frequency of 2 MHz and sets force_sck_freq to ON:

configure_flashpro6_prg -force_sck_freq {ON} -sck_freq {2}

See Also

  • configure_flashpro3_prg
  • configure_flashpro4_prg
  • configure_flashpro5_prg