Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    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]

...

-sdat <sensor-data-file-path>
The path and name of the far sensor XSDAT file. Skip this option when the device does not have a far sensor.
This parameter is optional; if sensor is connected it will automatically load XSDAT.

-farsdat <sensor-data-file-path>
The path and name of the XSDAT file.
This parameter is optional; if sensor is connected it will automatically load the far XSDAT.

-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.