Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Manual Capture

The settings from an INI file Preset can be captured by using the “Log” dialog in DevWareX.

  1. Start DevWareX and Probe. When the “Startup Wizard” dialog appears, select “Cancel”.

  2. Open the “Log” dialog, and select “Enable Log”.

  3. Open the “Presets” dialog, and run “Demo Initialization” or the specific Preset you are interested in.

  4. When the preset completes, in the “Log” dialog select the output format.

    1. Most likely this will be “Hex” and “Hex” for Address and Data values (the 2 pull-downs).

  5. Then select “Save to Ini…”.

  6. The resulting INI file contains “REG=<addr>, <data>” pairs.

Note; this method does NOT account for read/modify/write operations.
It shows up in the INI file as a “REG=” – a full register write.
But from a power-on perspective, that won’t matter.

To see the read/modify/write operations, enable “Ini Debug” to see if there are “BITFIELD=” commands.
That doesn’t mean it is an issue unless there are multiple of those to the same register.

Scripted Capture

Generating and saving Log window logs can be automated.

DevWareX can be invoked from the command line or .bat file with command line parameters to load an XSDAT file and INI file and run an INI file preset, without need of a camera.

The INI preset invoked from the command can be a special one that enables the Log, runs a sensor setting preset, and saves the Log.

This technique has been in use for some time for SOCs and ISPs to generate a sequence of register writes from INI settings that are mostly written in Python.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.