Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

MSPM0L2228: How to merge two .elf files into a single .bin or .hex file?

Part Number: MSPM0L2228

Tool/software:

Hi teams,

I encountered an issue: I have two files, boot.elf and app.elf, both of which are necessary during flash.

Now, I need to merge these two files into a single BIN or HEX file to provide to the factory for mass production flash.

Could you kindly advise if there is any method to achieve this? Thanks.

Best Regards,

Eason Tsai

  • Hi Eason,

    From my side, I do not know how to combine two .elf files.

    While, you can combine two HEX files together directly I think. I used to open a HEX file and copy the other hex content into the one and download it to device.

    Meanwhile, another method is that:

    1. Download the boot.elf to device

    2. Download the app.elf to device (Let flash easre range not inlude boot.elf in this operation)

    3. Then boot.elf and app.elf all download into the device. Now, read the firmware from the device with all the flash memeory, which will include the boot.hex and app.hex

    As for any tools or methods to automatically combine these two, I am not sure. I could ask tools team for a help. While they are in the holiday, so the feedback will have delay.

    B.R.

    Sal