12.2 Invoking the Hex Conversion Utility
There are two basic methods for invoking the hex conversion utility:
- Specify the options and filenames on the command line. The following example converts the file firmware.out into TI-Tagged format, producing two output files, firm.lsb and firm.msb.
hex430 -t firmware -o firm.lsb -o firm.msb
- Specify the options and filenames in a command file. You can create a file that stores command line options and filenames for invoking the hex conversion utility. The following example invokes the utility using a command file called hexutil.cmd:
hex430 hexutil.cmd
In addition to regular command line information, you can use the hex conversion utility ROMS and SECTIONS directives in a command file.