SLAU131V October 2004 – February 2020
To invoke the hex conversion utility, enter:
hex430[options] filename |
hex430 | is the command that invokes the hex conversion utility. |
options |
supplies additional information that controls the hex conversion process. You can use options on the command line or in a command file. Table 12-1 lists the basic options.
|
filename | names an object file or a command file (for more information, see Section 12.2.2). |
Option | Alias | Description | See |
---|---|---|---|
General Options | |||
--byte | -byte | Number output locations by bytes rather than by target addressing | -- |
--exclude={fname(sname) |
sname} |
-exclude | If the filename (fname) is omitted, all sections matching sname will be excluded. | Section 12.7 |
--fill=value | -fill | Fill holes with value | Section 12.9.2 |
--help | -options, -h | Display the syntax for invoking the utility and list available options. If the option is followed by another option or phrase, detailed information about that option or phrase is displayed. | Section 12.2.2 |
--image | -image | Select image mode | Section 12.9.1 |
--linkerfill | -linkerfill | Include linker fill sections in images | -- |
--map=filename | -map | Generate a map file | Section 12.4.2 |
--memwidth=value | -memwidth | Define the system memory word width (default 16 bits) | Section 12.3.2 |
--order={LS|MS} | -order | Specify data ordering (endianness) | Section 12.3.4 |
--outfile=filename | -o | Specify an output filename | Section 12.8 |
--quiet | -q | Run quietly (when used, it must appear before other options) | Section 12.2.2 |
--romwidth=value | -romwidth | Specify the ROM device width (default depends on format used). This option is ignored for the TI-TXT and TI-Tagged formats. | Section 12.3.3 |
--zero | -zero, -z | Reset the address origin to 0 in image mode | Section 12.9.3 |
Diagnostic Options | |||
--diag_error=id | Categorizes the diagnostic identified by id as an error | Section 12.12 | |
--diag_remark=id | Categorizes the diagnostic identified by id as a remark | Section 12.12 | |
--diag_suppress=id | Suppresses the diagnostic identified by id | Section 12.12 | |
--diag_warning=id | Categorizes the diagnostic identified by id as a warning | Section 12.12 | |
--display_error_number | Displays a diagnostic's identifiers along with its text | Section 12.12 | |
--issue_remarks | Issues remarks (nonserious warnings) | Section 12.12 | |
--no_warnings | Suppresses warning diagnostics (errors are still issued) | Section 12.12 | |
--set_error_limit=count | Sets the error limit to count. The linker abandons linking after this number of errors. (The default is 100.) | Section 12.12 | |
Output Options | |||
--array | Select array output format | Section 12.10 | |
--ascii | -a | Select ASCII-Hex | Section 12.13.1 |
--intel | -i | Select Intel | Section 12.13.2 |
--motorola=1 | -m1 | Select Motorola-S1 | Section 12.13.3 |
--motorola=2 | -m2 | Select Motorola-S2 | Section 12.13.3 |
--motorola=3 | -m3 | Select Motorola-S3 (default -m option) | Section 12.13.3 |
--tektronix | -x | Select Tektronix (default format when no output option is specified) | Section 12.13.4 |
--ti_tagged | -t | Select TI-Tagged (Must have memory width of 16 bits.) | Section 12.13.5 |
--ti_txt | Select TI-Txt (Must have memory width of 8 bits.) | Section 12.13.6 | |
Load Image Options | |||
--load_image | Select load image | Section 12.6 | |
--section_name_prefix=string | Specify the section name prefix for load image object files | Section 12.6 |