...
HCI commands are powerful tools to control sensor operation. In fact, Flash Tool itself uses HCI commands to write the binary image to memory. To help you create commands, there is a Host Command Interface Plug-In built into DevWare DevWareX. From this Plug-In, HCI command sequences can be copied (in .ini format) and imported into Flash Tool. Other .ini sources (such as DevWare’s preset .ini files) can also be imported into Flash Tool.
...
Depending on the particular Configuration file you have loaded, the various "Table" contents of this tab will vary and may be empty. See Help within Flash Tool for more details.
...
4) Click through the
...
Initialization Tables
When the sensor starts up, it will automatically load and run all the records within each initialization table, in the order indicated by the arrowsleft to right in the "Select Table" section. Which tables are available to you depends on your sensor, but will certainly include Global, Patch, and Calibration.
Click on several on these tables each of the Radio Buttons in the "Select Table" section to see what records have been loaded by your Configuration file.
Creating Records
1) Create a
...
Command Sequence and a
...
Record
Click the “New” button in the bottom-left under the “Sequences".
- Click the “New” button in the bottom-middle of Flash Tool to create a new record:
- For Record Type, select “Command”, and for Command select “Refresh”
- Click the “Test” button, and then the “Finish” button
2) Invoke your command sequence from an initialization table
To invoke your newly created command sequence during sensor start-up:
- Select an initialization table of your choice and create a new record of type Command->Invoke_Command_Seq
- Replace “<Sequence-ID>” with the ID shown in the Command Sequences table
- Click “Finish”
- Oops! Click on your command sequence and you will see that the Refresh Command is not allowed during initialization
...
"Command Sequence" Radio button and then the “Add New Record” button.
- Use "Select "Record Type" to select a value and then fill in the parameters.
- Click the “Finish” button; you'll see the new entry in the "List of Command Sequences" section.
2) Create other Records as required
- Select the appropriate Table via the "Select Table" Radio button.
Load HCI commands from DevWare plug-in into Flash Tool
...
- First check the “ini” radio button under Log, then click the “Copy All” button
- Switch to Flash Tool and select command sequence 0The "Command" that you created.
- Click the “Import” “Convert INI” button, and click “Load Text” in the pop-up window
- Paste (Ctrl-v) into this window and click “OK
- Click the “Convert” button
...
You should notice two records inserted into your command sequence. Select each one and you’ll see that one of them is ignored by Flash Tool because it is not supported.
Hit the “Delete” “Delete Records” button to get of remove it.
Save your Configuration to File
- Select the “Save and Program” tabHit the “Save Configuration to File” button"Save FCFG" button.
- Specify a location and file name and then hit Save.
...
To generate images and write them to Flash, you must specify the memory type/size that your image will be written to.
- Select the “Global Settings” “Generate Image and Program” tab
- Specify the Memory Type (optional)
...
Generate a Flash Image and Write to NVM
...
- Click the “Generate Flash Image” button and specify a name/location for the binary image.
- Click “Program Image Into Flash” and select the binary image file you specified in step 21.
Graduation!
You are now a successful alumni of the Flash Tool Quick Start Tutorial. Use your power wisely.
...