SPRU513Z August 2001 – October 2023 SM320F28335-EP
The hex conversion utility has options that identify each format. Table 12-5 specifies the format options. They are described in the following sections.
Option | Alias | Format | Address Bits | Default Width |
---|---|---|---|---|
--ascii | -a | ASCII-Hex | 24 | 6 |
--intel | -i | Intel | 32 | 8 |
--motorola=1 | -m1 | Motorola-S1 | 16 | 8 |
--motorola=2 | -m2 | Motorola-S2 | 24 | 8 |
--motorola=3 | -m3 | Motorola-S3 | 32 | 8 |
--ti-tagged | -t | TI-Tagged | 16 | 16 |
--ti_txt | TI_TXT | 8 | 8 | |
--tektronix | -x | Tektronix | 32 | 8 |
Address bits determine how many bits of the address information the format supports. Formats with 16-bit addresses support addresses up to 64K only. The utility truncates target addresses to fit in the number of available bits.
The default width refers to the default romwidth if one is not specified. Note that the default width is not necessarily the same as the length of the hex value printed in the address record. You can change the default width by using the --romwidth option or by using the romwidth parameter in the ROMS directive. You cannot change the default width of the TI-Tagged format (16-bit width only) or the TI-TXT format (8-bit width only).