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.

CCS: C674x

Tool/software: Code Composer Studio

Hi Support team,

I am working on a audio project and i am new to CCSTool.

Problem is that

first i built my library and application in ELF format which is working fine and done profiling using builtin functions TSC_read() and TSC_enable(). 

When i change  library and application to COFF Format, TSC_read() and TSC_enable() functions are unable to link. Which libraries should i use for  linking TSC_read() and TSC_enable(). 

Ca i use these functions TSC_read() and TSC_enable() when profiling in COFF Format?

Thanks in advance,

Kranti

  • Hi,

    I am not sure which library you used for the TSC_read() and TSC_enable() function. Is it from CSL and if you have that library in COFF format? I think the most direct way is to directly access them TSCL/TSCH from register, avoiding the library linking format problem.

    See this: 

    • Enable is writing any value into TSCL,
    • Read is (TSCH<<32)|TSCL if you want to 64-bit.
    • TSCL and TSCH can be included in <c6x.h>

    Regards, Eric