Description
"PROGRAM_SPI_FLASH_IMAGE" is a command tool used in
configure_tool and run_tool to program SPI Flash Image with configured
parameters.
Important: If the Device ID does not
match when running any action, the action will fail.
configure_tool -name {PROGRAM_SPI_FLASH_IMAGE} \
-params {spi_flash_prog_action:procedure}
run_tool -name {PROGRAM_SPI_FLASH_IMAGE}
Arguments
Parameter | Type | Description |
---|
spi_flash_prog_action | string | The acceptable values for this argument are the following: |
Return Type | Description |
---|
None | None |
Error Codes
Error Code | Description |
---|
None | Illegal SPI Flash programming action: action_name. |
Example
The following
example configures "PROGRAM_SPI_FLASH_IMAGE" tool and
runs:
configure_tool -name {PROGRAM_SPI_FLASH_IMAGE} \
-params {spi_flash_prog_action: PROGRAM_SPI_FLASH}
run_tool -name {PROGRAM_SPI_FLASH_IMAGE}