21.11.26 set_spi_flash_file

Description

This Tcl command specifies SPI Flash programming file(.bin) to be associated with the device.

set_spi_flash_file [-name {name}] \
-file {path and the name of the programming file} \
-no_file

Arguments

ParameterTypeDescription

name

string

This argument must be specified only in chain programming mode. It is optional.

file

string

Specifies the SPI Flash programming file *.bin.

no_file

none

Specifies to unload/unspecify the SPI Flash programming file.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Required parameter 'action' is missing.

None

The device with name does not exist.

Supported Families

PolarFire®
SmartFusion® 2

Example

The following example sets the "VERIFY_SPI_IMAGE" SPI Flash programming action in single programming mode:

set_spi_flash_file -name {MPFS250T_ES} \
                   -spi_flash_action {VERIFY_SPI_IMAGE}