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 Output format in ccs4.0

Hi
I was wondering if it is possible to obtain elf output from ccs 4.0 for C6xxx series processors.  I couldn't find the relevant switch/settings from the build settings, even though there is dwarf option in the debug options.
Thanks

  • ELD output for C6000 executables can be created using the 7.x version of the C6000 codegen tools.  You can get a version here: https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm, though for ones that integrate into CCS, you may need to use the update tool in CCS.

    See here for more details of ELF (EABI) support.

    Regards, Daniel



  •  Thanks for quick & accurate reply.

    New question : I am not using any dsp/bios or psp drivers, all my project  needs is rts6740.lib in elf format. Do you foresee any release of this file in near future (1 month or so)?

    Regards

    Update : I've found this link and will give it a shot.

     

  • The codegen tools should include versions of the rts libs compiled in ELF format using the EABI.  in the lib directory, there should libraries with _elf or _elf40 in the file name.  See the chapter 8 of the compiler user's guide about RTS lib naming conventions.

  • Former Member
    0 Former Member in reply to Daniel Allred

    Hi,
    I just chanced upon this post.
    I'm using Version: 4.1.0.02006 of CCS. And 7.2.0A10266 of the cgtools. I guess it's possible to obtain an executable for C674x core.
    The real question is can this CCS version load a elf formatted .out to target, execute and debug?

    -Somnath

  • Hi,
    The configuration I use ( 4.1.2.00027 and 7.0.3A10161 )  can load, execute and debug an 6747, so I assume your configuration can do also. The trick/ problem I encountered was in the load state. Upon starting debug, CCS somehow does not load the program as it does in Coff executables, even though I set the debug settings correctly. I need to specifically point your executable by "Target - Load program" each time I start debugging. After that, it is same as in coff .

    Regards