SPRU513AA July 2001 – March 2026 SM320F28335-EP
The output is a raw binary file, containing a memory image of the input file. Symbols and relocation information are discarded. The image starts at the address of the first loadable section in the output.
Holes designed to be placed in the output are ignored by default when using the binary output format.
Because the binary format supports only an 8-bit physical memory width and an 8-bit ROM width, the ROMS directive needs to have the origin and length specifications doubled when moving from a 16-bit format to an 8-bit format. If you receive a warning, check the ROMS directive.
Use a ROMS directive to work around these limitations of the binary format. First, create a file called roms_directive.txt with the following contents:
ROMS {
all_mem: o = 0x100, l = 0x28
}
Then, use the --image option to use this ROMS directive.
$ tiarmhex --romwidth=32 --binary --image roms_directive.txt file.out -o binaryFile.bin
Using a ROMS directive also prevents the hex utility from skipping holes in the input.