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.

Compiler/TMS570LS3137: How to generate .COFF format files

Part Number: TMS570LS3137

Tool/software: TI C/C++ Compiler

Hi,

I am working on code composer studio 8.2.0 and using ti-cgt-arm_18.1.1.LTS compiler.

Can anyone please tell me which is the application i need to use to generate .COFF files?

or is there any way to convert the .out files to .coff???

Quick Response appreciated.

Regards,

Shivam Kakad

  • Hi,

    I read that there is sectti.pl  perl sript which is used to get the symbol table file from the .xml file.

    From where should i access that?

    Can anyone please provide me the link for the same?

    Regards,

    Shivam Kakad

  • Shivam Kakad said:
    Can anyone please tell me which is the application i need to use to generate .COFF files?

    You need to install ARM compiler version 5.2.9 and build with the option --abi=ti_arm9_abi.  That compiler release is 2.5 years old.  But it is the last release to support the ABI ti_arm9_abi.  Among other details, ti_arm9_abi uses COFF object file format.

    The only way to obtain release 5.2.9 is by using the compiler update feature built-in to CCS.  Choose Help | Install Code Generation Compiler Tools.  Use the screen shot below as a guide.

    Note you need to rebuild everything in the entire system.  If you have any object code libraries, you need to either rebuild them from source or obtain COFF variants of them.

    Shivam Kakad said:
    is there any way to convert the .out files to .coff???

    No.

    Thanks and regards,

    -George

  • Shivam Kakad said:
    I read that there is sectti.pl  perl sript which is used to get the symbol table file from the .xml file.

    There is such a script.  But that is not what it does.  sectti.pl produces a report on all the sections in the executable .out file.  Their names, starting address, size, etc.  

    If you want the symbol table, consider using the utility armnm, which is documented in the ARM assembly tools manual.

    Shivam Kakad said:
    Can anyone please provide me the link for the same?

    sectti.pl, and several other scripts like it, are in the cg_xml package.

    Thanks and regards,

    -George

  • Hey! Thanks for your help and the detailed information.

    Using the armnm i could able to generate the file. but the generated file is not exact the way i wanted.

    I wanted to have the all global symbols with its address, item size as well as byte size.

    But using this application i could able to generate the symbols with the address.

    Is it possible somehow for me to generate in that way, using this application?

    Regards,

    Shivam Kakad

  • Shivam Kakad said:
    I wanted to have the all global symbols with its address, item size as well as byte size.

    Unfortunately, TI has no utility which generates all of that information.

    Thanks and regards,

    -George