21.10.7 export_spiflash_image

Description

This Tcl command exports a SPI Flash image file to a specified directory.

export_spiflash_image \
            [-file_name {name of file}] \
            [-export_dir {absolute path to folder location}]

Arguments

ParameterTypeDescription
file_namestringThe name of the image file. This parameter is optional.
export_dirstringFolder/directory location. This parameter is optional.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneParameter 'export_dir' has illegal value.
NoneParameter 'file_name' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'export_spiflash_image [-file_name "file_name"] [-export_dir "export_dir"]'.

Supported Families

PolarFire®
PolarFire SoC

Example

This example exports SPI Flash image in {.src/top.bin} file.

export_spiflash_image -file_name {top} -export_dir {./src}