21.11.22 set_programming_action

Description

This is the FlashPro-specific tcl command. Selects the action for a device. The device name parameter must be specified only in chain programming mode. A programming file must be loaded. The device must be a Microchip device.

set_programming_action [ -name {name} ] -action { action }

Arguments

ParameterTypeDescription
namestringSpecifies the device name. It is optional.
actionstringSpecifies the action. This is mandatory. Valid values are:
  • PROGRAM - Programs all selected family features: FPGA Array, targeted eNVM clients and security settings.
  • ENC_DATA_AUTHENTICATION - Encrypted bitstream authentication data. This action is only visible if every device in the chain contains encrypted bitstream files. Selecting this action causes each bitstream file to be checked for authentication.
  • ERASE - Erases the selected family features: FPGA Array and security.
  • DEVICE_INFO - Displays the IDCODE, the design name, the checksum, and device security settings and programming environment information programmed into the device.
  • READ_IDCODE - Reads the device ID code from the device.
  • VERIFY - Verifies all selected family features: FPGA Array, targeted eNVM clients and security settings.
  • VERIFY_DIGEST - Calculates the digests for the components included in the bitstream and compares them against the programmed values.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'action' is missing.
NoneYou must specify the device name parameter for the command 'set_programming_action' in chain programming mode.
NoneThe device with name does not exist.

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example sets the programming action in single programming mode::

set_programming_action -action {PROGRAM}

And in chain programming mode:

set_programming_action -name {MyDevice1} -action {ERASE}

See Also

  • set_programming_action