Texas Instruments TVP5146EVM TV Receiver User Manual


 
SLEU063
TVP5160EVM User’s Guide 21
8.5.1.1 Adding a Custom Data Set
After you program the EVM via the System Initialization tool using the factory-supplied command
file, and by using the Property Sheets tool, you can customize the device register settings to suit
your needs. To save your custom settings:
1. Reopen the System Initialization dialog via the Tools menu.
2. Click the Append Current Device Settings to Command File button. A dialog
requesting a description of the new data set appears.
3. Optionally, click the drop-down box and select one of the existing descriptions.
4. Modify the description text or type your own description.
5. Click OK. All nondefault register values from the decoder and encoder will be
appended to the current command file as an additional data set.
Now, you can select your custom data set and send it with a press of the Program button.
NOTE: The command file (.CMD) must be saved as plain text.
8.5.1.2 Command Files
The command file is a text file that can be generated using any common editor; however, it must
be saved as plain text. Command files are especially useful for quickly switching between the
various system configurations. These .CMD files are unrelated to the typical Windows
TM
.CMD
files.
A default command file has been provided on the CD. This command file should contain most of
the desired setups. This command file is located at:
c:\Program Files\Texas Instruments\WinVCC4\TVP5160\Initialization Files\Initialize.cmd
A command file can contain up to 250 data sets. A data set is a set of register settings to
initialize the video decoder and/or video encoder for a particular video mode. Each data set
includes a description that is displayed in one row of the dataset descriptions list. The register
settings may be located in the command file itself and/or may be stored in separate include
file(s) (with an .INC file extension) and be included into the command file using the INCLUDE
statement.