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.

Error. DTMF signal Detection using TMS320C6713.

Other Parts Discussed in Thread: CCSTUDIO

This task is about DTMF signal detection using Correlation, RTDX, and FFT. Code Composer Studio was used in this process. After loading all the files including c file, cmd file etc. 

But the following error message keeps recurring 

Please help!

*******************************************************************

------------------------------ DTMF.pjt - Debug ------------------------------
[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -q -fr"C:/Documents and Settings/Administrator/Desktop/DTMF/Debug" -d"CHIP_6713" -mv6710 -@"Debug.lkf" "c6713dskinit.c"

[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
_inputsource C:\Documents and Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj
_fs C:\Documents and Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj
>> warning: Detected a near (.bss section relative) data reference to the symbol
_DSK6713_AIC23_codecdatahandle defined in section .far. The
reference occurs in C:\Documents and
Settings\Administrator\Desktop\DTMF\Debug\c6713dskinit.obj, section
.text, SPC offset 00000074. Either make the symbol near data by
placing it in the .bss section, or make the references to the
symbol far. For C/C++ code use 'far' or 'near' modifiers on the
type definition of the symbol or compile with the --mem_model:data
switch.

>> error: symbol referencing errors - './Debug/DTMF.out' not built

>> Compilation failure

Build Complete,
2 Errors, 1 Warnings, 0 Remarks.

*******************************************************************

  • Hi Abdallah,

    I think it is due to using wrong memory model in the compiler. In the Build Properties -> C6000 Compiler -> Runtime Model Options, there is a selection for "Data access model (--mem_model:data). The default may be near, and that may be incompatible with one or more of the libraries since they use the .far section. Change this to either "far" or "far_aggregate" and see if the linker works better.

  • Thank you. But I am using Code Composer Studio 3.1. I can't seem to find these steps. Could you please give me a more detailed explanation with steps. Thanks again.
  • Hi Abdallah,

    Actually i am not sure about CCSv3.1.

    I will suggest you to use CCS latest versions.

    I am using CCSv5.5.

    Right click on project --> Select Properties --> CCS Build --> C6000 Compiler --> Advanced Options --> Run-time Model Options

    You will see a screen like this, and you can do the required changes.

  • Thanks Arvind. This issue is solved. However 2 errors still persist. The .out file gets removed whenever it is compiled. This is the error i get.

    **************************************
    undefined first referenced
    symbol in file
    --------- ----------------
    _inputsource C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
    _fs C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
    >> error: symbol referencing errors - './Debug/DTMF_Bios_FFT.out' not built

    >> Compilation failure

    Build Complete,
    2 Errors, 0 Warnings, 0 Remarks.

    **************************************
  • Hi Abdallah,

    Sound's good your issue is resolved.

    Now the error you are facing.

    undefined first referenced
    symbol in file


    It is due to libraries which may not be imported correctly.
    You need to check Properties-> CCS Build -> C6000 Linker -> File Search path
  • **************************************
    undefined first referenced
    symbol in file
    --------- ----------------
    _inputsource C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
    _fs C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
    >> error: symbol referencing errors - './Debug/DTMF_Bios_FFT.out' not built

    >> Compilation failure

    Build Complete,
    2 Errors, 0 Warnings, 0 Remarks.
    **************************************
    This error still persists. The "DTMF_Bios_FFT.out" is causing trouble. When the code is compiled the "DTMF_Bios_FFT.out" disappears from the debug file. Any idea what the reason is?
  • Would you please tell me which directory i have to add to fix the following error?

    _inputsource C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
    _fs C:\Documents and Settings\Administrator\Desktop\DSP Project\DTMF_Bios_FFT\Debug\c6713dskinit.obj
  • Hi Abdallah,

    Which example code you are referring to?
    Is it TI provided example code or is it own developed code?
    If it is TI provided sample code then share link with me.