Versions Compared

Key

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

...

The Flashtool application provides the user with the ability to create, modify, and write flash content ON Semiconductor onsemi Imaging devices that support SPI flash and EEPROM memory.

...

This page allows the user to define the Memory Device parameters,  produce a binary image for the current configuration, and program the flash with a previously created flash image.

Image RemovedImage Added

Note: "Generate Configuration from Image" is available only to onsemi employees; please contact them if you need these features.

4.1 Configure Memory Device

...

Use the "Reset Sensor" button to perform a Reset procedure on the attached device.

4.4

...

Advanced

The Advanced area contains a couple of useful features.These are internal-only due to their detailed nature of their usage and/or resulting files, the operation of which is best left to ON Semiconductor personnel.

4.4.1 Read Image 4.4.1 Read Image from Flash

Select the button to read the flash memory image and save it to a binary (.bin) file.

4.4.2 Generate Configuration from Image

These features are internal-only due to their detailed nature of their usage and/or resulting files, the operation of which is best left to onsemi personnel.

There are 2 options here;

  • Convert .bin to .fcfg File; this operation will decode the information in the given binary file and create an associated FCFG file.
    Note that resulting file will not be an exact match to the original FCFG file; comments, original patch file names, and other items are not stored in the binary , and other items are not stored in the binary file.
    And if an STE Transform was present, an XML file will be created but the FW Variables will be placed in the FCFG and not in the XML file.
  • Convert current .fcfg to DevWare .ini File; this operation converts the FCFG commands in to the associated INI file commands.
    The resulting INI file can then be used within DevWare with the product.
    Note: This option is for debugging purpose only. The programming structure between FCFG and INI file is different. Not all Host command is supported by flashtool. User should use the converted INI file together with DevWare Host Command Interface plugin to get the correct results.

...

  1. Start DevWareX and "Probe" to identify the part. When the "Startup Wizard" dialog appears, deselect all options and select "Finish".
  2. In the Registers dialog, select the "SYSCTRL Registers" page.
  3. Set Register 0x20 bit 5 to 1; this will disable access to the Flash/EEPROM.
  4. Toggle Register 0x1A bit 0 on/off; this preforms a soft reset on the sensor.
  5. Verify that Register 0x1C = 0x3000; indicates a successful reboot.  Leave DevWareX running.
    Note: Register 0x1C is "Reserved" and can only be read via "View / Register All Access (Peek & Poke) / Simple Register".
  6. Run FlashTool and attempt to program the Flash/EEPROM.
  7. Select "Verify" to ensure the binary was programmed correctly.
  8. Go back to DevWareX and clear Register 0x20 bit 5 and toggle Register 0x1A bit 0 on/off.
  9. From the Command Menu item, select "Check Sensor State", then select "Play" - you should see a stream image.

...

Follow the regular programming settings, and select blank.bin as the file to program.

8 Manual Updates to the FCFG FIle

You can manually update the FCFG file, but it it best to use the GUI to ensure proper format and data.

For Linux users, add data must be in HEX format.