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.

ARM-CGT: Combine two binaries

Part Number: ARM-CGT

How can one combine two

  • elf,
  • bin and
  • hex

files using the tools that come with CCS?

Thanks and best regards,

Stefan

  • You can combine two elf files by using the hex utility armhex.  For the details, please search the TI ARM assembly tools manual for the sub-chapter titled The Load Image Format.  The typical file extension for ELF files created by TI tools is .out.  This is a typical command ...

    armhex --load_image f1.out f2.out -o combined.out

    I'm not aware of a method for combining bin files.

    TI has no tools which can combine hex files.  I understand there is a tool named srec_cat which can do it.  However, I have never used it.  I'm unable to make further comments on it.

    Thanks and regards,

    -George