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.

Elf Binary parser in CCSv5.5

Other Parts Discussed in Thread: CODECOMPOSER

Hello,

I am using CCSv5.5 with TI 5.1.2 compiler to write applications for beaglebone. Is is possible to open the output file in the CCS ?
Opening the file  I get does not show the assembly commands. 
I know the option to keep the assembly files generated. But is there a elf binary parser I can use?

  • Hello,

    The compiler comes with several tools that can parse the out file to get information. Since you mentioned wanting to see the assembly instructions, try using 'armdis' which is in the compiler directory:

    <INSTALL DIR>\ccsv5\tools\compiler\arm_5.1.2

    Thanks

    ki

  • Thank you Ki for your reply.

    I will have a look at this. My question was mainly if there is a way by opening the executable in a CodeComposer editor window and the assembly code is visible. This is more or less what happens in Eclipse CDT, by selecting the GNU elf parser. I I tried doing that with CodeComposer as well but I get:

    architecture: UNKNOWN!, flags 0x00000112:
    And also the assembly code is not recognized 

  • Thanasis Karapatis said:
    My question was mainly if there is a way by opening the executable in a CodeComposer editor window and the assembly code is visible.

    If you have your executable loaded in the debug session in CCS, you can use the Disassembly view (View -> Disassembly)

  • Thank you Ki-Soo,

    I am aware of the particular feature. However, firstly as I mention in another post I am having problems with my board and debug session and secondly it takes too much time to start debug session. I was hoping for an easier way. 
    What I have done to solve it using the gcc compiler, is to add flags to that keep the assembly files generated

  • Note that there is also an option to keep the generated assembly files with the TI compiler. It is --keep_asm or -k. It is under 'Advanced Options -> Assembler Options' under the compiler build properties.

    ki