...
flashtool.exe -0 -bin <flash-image-path> [-flash_size flashsize <flash-device-size>] [-max_size maxsize <max-image-size>] [-startaddr <start-address>] [-erase] [-memory <type>] [-pagesize <pagesize>] [-blocksize <blocksize>] [-sdat <sensor-data-file-path>] [-farsdat <far-sensor-data-file-path>]
-bin <flash-image-path>
The path to the file where the flash image will be stored for subsequent programming.
-flash_size flashsize <flash-device-size>
The size of Flash device.
This parameter is optional, default is 0x200000
-max_size maxsize <max-image-size>
The maximum binary size that can be generated.
This parameter is optional, default is 0x200000
...
Example
flashtool.exe -0
-bin \ "C:\Aptina Imaging\flashtool\A-0356SOC_files\sample_command_list.bin" -erase
OUTPUT: Program the specified binary file to SPI Device.
...
flashtool.exe -1 -fcfg <config-file-path> -sdat <sensor-data-file-path> [-farsdat <far-sensor-data-file-path>] -bin <flash-image-path> [-flash_size flashsize <flash-device-size>] [-max_size maxsize <max-image-size>] [-extension | -base <address>] [-spaces] [-mapping]
...
-bin <flash-image-path>
The path to the file where the flash image will be stored for subsequent programming.
-flash_size flashsize <flash-device-size>
The size of Flash device.
This parameter is optional, default is 0x200000
-max_size maxsize <max-image-size>
The maximum binary size that can be generated.
This parameter is optional, default is 0x200000
...
Example
flashtool.exe -1
-fcfg \ "C:\Aptina Imaging\flashtool\A-0356SOC_files\sample_command_list.fcfg"
-sdat \ "C:\Aptina Imaging\sensor_data\MT9V126-REV1.sdat\"
-bin \ "my_flash_image.bin\"
OUTPUT: Generates flash image my_flash_image.bin, with input file sample_command_list.fcfg.