15. Hex Conversion Utility Description¶
The Arm assembler and linker create object files which are in binary formats that encourage modular programming and provide powerful and flexible methods for managing code segments and target system memory.
Most EPROM programmers do not accept object files as input. The hex conversion utility converts an object file into one of several standard ASCII hexadecimal formats, suitable for loading into an EPROM programmer. The utility is also useful in other applications requiring hexadecimal conversion of an object file (for example, when using debuggers and loaders).
The hex conversion utility can produce these output file formats:
ASCII-Hex, supporting 16-bit addresses (see ASCII-Hex Object Format (--ascii Option))
Binary file in 8-bit format (see Specifying the Memory Width)
Extended Tektronix (Tektronix) (see Extended Tektronix Object Format (--tektronix Option))
Intel MCS-86 (Intel) (see Intel MCS-86 Object Format (--intel Option))
Motorola Exorciser (Motorola-S), supporting 16-bit addresses (see Motorola Exorciser Object Format (--motorola Option))
Texas Instruments SDSMAC (TI-Tagged), supporting 16-bit addresses (see Texas Instruments SDSMAC (TI-Tagged) Object Format (--ti_tagged Option))
Texas Instruments TI-TXT format, supporting 16-bit addresses (see TI-TXT Hex Format (--ti_txt Option))
C arrays
- 15.1. The Hex Conversion Utility’s Role in the Software Development Flow
- 15.2. Invoking the Hex Conversion Utility
- 15.3. Understanding Memory Widths
- 15.4. The ROMS Directive
- 15.5. The SECTIONS Directive
- 15.6. The Load Image Format (--load_image Option)
- 15.7. Excluding a Specified Section
- 15.8. Assigning Output Filenames
- 15.9. Image Mode and the --fill Option
- 15.10. Array Output Format
- 15.11. Building a Table for an On-Chip Boot Loader
- 15.12. Using Secure Flash Boot on TMS320F2838x Devices
- 15.13. Controlling the ROM Device Address
- 15.14. Control Hex Conversion Utility Diagnostics
- 15.15. Description of the Object Formats
- 15.15.1. ASCII-Hex Object Format (--ascii Option)
- 15.15.2. Intel MCS-86 Object Format (--intel Option)
- 15.15.3. Motorola Exorciser Object Format (--motorola Option)
- 15.15.4. Extended Tektronix Object Format (--tektronix Option)
- 15.15.5. Texas Instruments SDSMAC (TI-Tagged) Object Format (--ti_tagged Option)
- 15.15.6. TI-TXT Hex Format (--ti_txt Option)
- 15.16. Hex Conversion Utility Examples