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
Parameter | Type | Description |
---|
file_name | string | The name of the image file. This parameter is optional. |
export_dir | string | Folder/directory location. This parameter is optional. |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Parameter 'export_dir' has illegal value. |
None | Parameter 'file_name' has illegal value. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'export_spiflash_image [-file_name "file_name"] [-export_dir "export_dir"]'. |
Example
This example exports SPI Flash image in {.src/top.bin} file.
export_spiflash_image -file_name {top} -export_dir {./src}