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.

Combine boot loader and app into one .out file

Other Parts Discussed in Thread: TM4C129ENCPDT

I am needing to combine two different .out files into a single combined .out file.

My target device is a TM4C129ENCPDT and I am trying to combine boot loader (boot.out) with my application (app.out) so that it can be programmed from a single .out file.

The boot loader resides at the base of flash, and the application starts at an offset above the boot loader.  

I intend to use "LM Flash Programmer" to program the device over Ethernet.  This method erases all of flash memory so reprogramming the application results in the boot loader being erased.  

I want to combine the two .out files into a single file that will reprogram the boot loader and application at the same time.

Thanks, Troy

  • This wiki article discusses your situation.

    Thanks and regards,

    -George

  • Thank you George.

    I have read through that article and they using "hex470" to combine the .out files into a .obj file.

    In my case using theTM4C129ENCPDT I assume the tool would be "armhex" not "hex470"

    Also will the LM Flash Programmer be happy with a .obj file, or will this require another layer of conversion back into an ".out" or ".bin" file?

  • Troy Alexander said:
    In my case using theTM4C129ENCPDT I assume the tool would be "armhex" not "hex470"

    Correct.

    Troy Alexander said:
    Also will the LM Flash Programmer be happy with a .obj file, or will this require another layer of conversion back into an ".out" or ".bin" file?

    I don't know.  I am not familiar with any flash programmer.  If it can accept an .out file, then I expect it can also accept an .obj file.  But I'm not certain.

    Thanks and regards,

    -George