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
Parameter | Type | Description |
---|
name | string | Specifies the device name. It is optional. |
action | string | Specifies 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 Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Required parameter 'action' is missing. |
None | You must specify the device name parameter for the command 'set_programming_action' in chain programming mode. |
None | The device with name does not exist. |
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}