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.

Combining two .out files

Other Parts Discussed in Thread: CCSTUDIO

I have a customer who would like to combine two .out files into one.  I found a utility (perl script) that handles this for .hex files, but is there one that works directly with the .out files?

The perl script is here (INT DSP Champs):  http://e2e.ti.com/support/dsp/int_etc_dsps/int-dsp_champs/f/108/t/10944.aspx

Here are a few more details.  He only has the source code for one of the binary files.  Both files have the _cinit, _STACK_SIZE, .text, etc defined.  He wants to put, for example: a.out into Sector A, and b.out into Sectors C and D, by creating and programming with a single file "c.out".  If there isn't a utility, is it possible this could be done with the linker?

Thanks, Darren

 

  • Have you found an answer to this?  I am trying to do something similar:

    I have a.out and b.out, but only have the source code to a.out.  a and b were built in such a way that there is no overlap in memory and are able to be flashed separately using CCStudio or SDFlash, being careful not to erase the sectors used by the other out file.  Ideally, I would like a single out file that is able to be flashed using SDFlash.

    Thanks, Adam

  • Adam Bass said:

    Have you found an answer to this?  I am trying to do something similar:

    I have a.out and b.out, but only have the source code to a.out.  a and b were built in such a way that there is no overlap in memory and are able to be flashed separately using CCStudio or SDFlash, being careful not to erase the sectors used by the other out file.  Ideally, I would like a single out file that is able to be flashed using SDFlash.

    Thanks, Adam

    Here is an idea to try - flash a device with both outfiles as you described.  Then in CCS save the entire memory contents of the flash off as a coff file.  If you are using CCS 4 there is a green arrow on the memory window that allows you to save data.

    I've not tried this myself but worth a try.

    -Lori

     

  • I'm going to move this thread to the compiler forum to see if they have any suggestions

    Regards

    Lori