Customizing Your ConfigurationChapter —5
254 TE 2000
5250 Terminal Emulation Programmer’s Guide
Converting Files from ASCII to Binary
To convert an ASCII parameter file into binary format before download-
ing it to a terminal, use the following command line:
checkcfg <input config file>cfglit.dat<output config file>
S <input config file> is the name of your ASCII text parameter file
S <output config file> is the name of the file that you must append to your
TEhexfile.TheoutputfilemustbenamedCONFIG.DAT.
Converting Files from B inary to ASCII
To convert a binary parameter file back into its ASCII equivalent, use the
following command line:
checkcfg -r <config file> cfglit.dat <output file>
S <config file> is the name of your binary parameter file
S CFGLIT.DATisthenameofyourterminalliteralfile
S <output file> is the name of the file that will contain the converted
ASCII output
Listing Parameters and Values
To display a list of all possible setup parameters and their values, use the
following command line:
checkcfg -p cfglit.dat
Note: The output from this command is about seven hundred lines long.
You may want to r edirect it into another file for viewing.
Using FLSHCONV.EXE to Build Customized HEX Files
FLSHCONV.EXE is a utility program that creates Intel-hex files in the
proper format for downloading to an 11XX, 17XX, or 59XX Terminal.
FLSHCONV can do the following:
S Locate and append .EXE programs for download in an Intel-hex file
S Append data and configuration files to an existing Intel-hex file
(FLSHCONV cannot locate and append .EXE programs to an existing
hex file)
To display the program version number and a short message that lists com-
mand line formats, type:
flshconv
The following lists FLSHCONV command line options, where <hexnum>
represents a hexadecimal segment address and <number> represents a deci-
mal number.
S –f<hexnum>
<hexnum> is the starting address of Flash memory for the terminal. De-
fault: 8000 (absolute address 0x80000).
S –e<hexnum>
<hexnum> is the ending address of Flash. If you omit this parameter,
FLSHCONV does not report an error if your Flash image is too big.
S –d<hexnum>
<hexnum> is the starting address of memory space for .EXE programs.
Default: 200 (absolute address 0x2000). You should ordinarily use 60
(absolute address 0x600).