I'm trying to get a binary dump of whatever the debugger would write to flash (e.g. .text, .cinit, .init_array, .const), by postprocessing the ELF output of my compilation.
The application is a bootloader; I'd send it the binary data over some bus, and then it would write the binary data to whatever the application region of flash was.
It looks like hex470 is meant to do this, but it doesn't appear to have any way to write out raw binary data; it only seems to output ascii files. I can write a script to take a TI-TXT file and turn it into a binary file, but that seems silly if I'm just missing a flag somewhere. Is there a TI-recommended way to do this?