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/CCSTUDIO-C2000: how to convert .out to .txt for CCS with newer version than CCS6

Part Number: CCSTUDIO-C2000

Tool/software: TI C/C++ Compiler

Hi,

Customer used to get .out file with COFF format in this page:

and then get .txt from this .out file with COFF format.

but in the newer version of CCS, this page cannot be found. so how to convert .out to .txt for  CCS with newer version?

thank you!

Best regards,

Yuan

  • Even though the term COFF is used, this is not an object file format, but a format for debug information.  The C2000 compiler stopped supporting COFF debug format several years ago.  That's why this part of the build dialog no longer appears.

    You don't say how your customer gets a .txt file from the .out file.  But whatever it is, it does not depend on the debug format, but on the object file format.  The C2000 compiler continues to support COFF object file format.  So, the method used to create the .txt file will continue to work.

    Recent releases of the C2000 compiler introduce a new ABI named EABI.  When EABI is used, the object file format is not COFF but ELF.  While the transition will take years, support for COFF object file format will eventually end.  Please start thinking about how to make this transition.  If you create this .txt file by using the hex utility hex2000 that comes with the compiler, then there is nothing more to do.  That utility already supports both COFF and ELF.

    For some general background on object file formats and debug information formats, please see the article A Brief History of TI Object File Formats.

    Thanks and regards,

    -George

  • Hi George

    i'm the guy who asked this question, i want that symbol table in the debug object file can be showed in txt file, here is the tool and the result using COFF

    could you give some suggestion?

    thanks

    example using COFF

    it seem that i can't post pictures, the tool is as below

    CoffConverter_Ary.exe
    DWARF2Reader.dll
    ELF Master.dll
    IconLoader.dll
    Interface.dll
    OutputData.xml
    TI Master.dll

    the result is as below

    00007770 02 ScicRegs.SCICCR.all
    00007771 02 ScicRegs.SCICTL1.all
    00007772 02 ScicRegs.SCIHBAUD
    00007773 02 ScicRegs.SCILBAUD
    00007774 02 ScicRegs.SCICTL2.all
    00007775 02 ScicRegs.SCIRXST.all
    00007776 02 ScicRegs.SCIRXEMU
    00007777 02 ScicRegs.SCIRXBUF.all
    00007778 02 ScicRegs.rsvd1

    0000D5D6 04 pcm_dwRecWritePtr
    0000D5DA 04 pcm_dwRecEndBuffPtr
    0000D5E2 02 pcm_pRecVarSize[0]
    0000D5E3 02 pcm_pRecVarSize[1]
    0000D5E4 02 pcm_pRecVarSize[2]
    0000D5E5 02 pcm_pRecVarSize[3]
    0000D5E6 02 pcm_pRecVarSize[4]
    0000D5E7 02 pcm_pRecVarSize[5]
    0000D5E8 02 pcm_pRecVarSize[6]
    0000D5E9 02 pcm_pRecVarSize[7]

  • bin yu said:
    it seem that i can't post pictures

    The usual problem with posting pictures is described in the FAQ Why are the links to my images broken?

    I am not familiar with any of these ...

    bin yu said:
    CoffConverter_Ary.exe
    DWARF2Reader.dll
    ELF Master.dll
    IconLoader.dll
    Interface.dll
    OutputData.xml
    TI Master.dll

    This output ...

    bin yu said:
    00007770 02 ScicRegs.SCICCR.all
    00007771 02 ScicRegs.SCICTL1.all
    00007772 02 ScicRegs.SCIHBAUD
    00007773 02 ScicRegs.SCILBAUD

    ... is similar to the output of the names utility nm2000.  This utility is part of the C28x compiler installation.  Please search for it in the C28x assembly tools manual.

    Thanks and regards,

    -George