This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Why not state hex6x.exe -b option in assembly tools user guide?
Customer often ask how to convert .out to .bin, and we always point them to google for hex2bin tools, in fact TI hex6x.exe has this feature.
The term "binary file" is not standardized. While the general concept is fairly clear, the details are not. And how the hex utility -b option handles some of those details does not work for all users.
The cg_xml package includes a method for converting TI object files to what most users consider to be a flat binary. These details are copied from the readme file.
Convert TI Executable to .bin Format
------------------------------------
The Windows batch file tiobj2bin.bat converts a TI executable file, COFF
or ELF, to a "binary" file. This binary format is the one defined by the
"objcopy" Unix command. Here is a description of the format from the
objcopy man page ...
When objcopy generates a raw binary file, it will essentially produce
a memory dump of the contents of the input object file. All symbols
and relocation information will be discarded. The memory dump will
start at the load address of the lowest section copied into the output
file.
This batch file makes use of a new script mkhex4bin.pl to create a hex
utility command file. The hex utility does the heavy lifting. Documentation
on how to use tiobj2bin.bat is contained in comments at the top of the
file. To see a command invocation summary, run tiobj2bin.bat with no
parameters.
Thanks and regards,
-George