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.

Doubts in Acoustic Echo Removal(AER) for C6747

Hi,

I am in the process of integrating AER into CCSv4 for voip application on c6747.

1. When I went through the code, aersim.c, I found the variable: piu_getlev was used in aersim.c and aersim_setup.c. But in both the c files, the variable piu_getlev was made false. So, where is the variable piu_getlev made true? insde the library?

2. When I include the AER APIs (for example, aercontrol) into my CCS4 project, I get "undefined symbol  _aerControl , first referenced in file,   ./hello.obj  

3.When I follow the steps given in AER_Installation_Verification.pdf, section 4.4.1 : Rebuilding AER Test for C55x, C64x+, C674x in Windows: Using XDC Tools, as soon as I typr in cygwinxdc.bat bypass, I get the following error:

js: "./Sectconfig.js", line 13: Error: FIle tempcfg.bat cannot be opened for writing.

4.Also, as soon as I type the command

xdc XDCARGS="C674le"

I get the following error:

making package.mak <because of package.bld>...

Warning: no config.bld file was found along the package path. THe config.bld file specifies the location of the compiler tool-chains required to compile runtime content without this file, the XDC tools assume no targets are to be used.

js: "./package.bld" line 133: Reference Error: "C55_large" is not defined

xdc tools_3_20_05_76\gmake.exe: ***Deleting file 'package.mak' making package.make because of package.bld>...

gmake.exe : ***Deleting file 'package.mak'

gmake.exe: ***No rule to make target

'package.mak' needed by 'interfaces'. Stop

How to get rid of the above errors and how to sucessfully include AER libraries and APIs like aercontrol, aerActivate, aerGetFilter, aepControl, SetEchoPath, drcControl, etc into my project in ccsv4?

Thanks.

  • Hi Tharangini,

    Please see my answers below:

    1. When I went through the code, aersim.c, I found the variable: piu_getlev was used in aersim.c and aersim_setup.c. But in both the c files, the variable piu_getlev was made false. So, where is the variable piu_getlev made true? insde the library?

    -->This variable is supposed to be set on-the-fly when program is running. You can set a break point and change it when program stops.

    2. When I include the AER APIs (for example, aercontrol) into my CCS4 project, I get "undefined symbol  _aerControl , first referenced in file,   ./hello.obj  

    --> You probably didn't include the AER libraries in your CCS4 project.

    3.When I follow the steps given in AER_Installation_Verification.pdf, section 4.4.1 : Rebuilding AER Test for C55x, C64x+, C674x in Windows: Using XDC Tools, as soon as I typr in cygwinxdc.bat bypass, I get the following error:

    js: "./Sectconfig.js", line 13: Error: FIle tempcfg.bat cannot be opened for writing.

    --> Did you have Cygwin installed on your PC?

    4.Also, as soon as I type the command

    xdc XDCARGS="C674le"

    I get the following error:

    making package.mak <because of package.bld>...

    Warning: no config.bld file was found along the package path. THe config.bld file specifies the location of the compiler tool-chains required to compile runtime content without this file, the XDC tools assume no targets are to be used.

    js: "./package.bld" line 133: Reference Error: "C55_large" is not defined

    xdc tools_3_20_05_76\gmake.exe: ***Deleting file 'package.mak' making package.make because of package.bld>...

    gmake.exe : ***Deleting file 'package.mak'

    gmake.exe: ***No rule to make target

    'package.mak' needed by 'interfaces'. Stop

    --> The command should be: xdc XDCARGS="c674le". (Note that it is lower case of "c"). Also, make sure that all tools are installed according to sections 4.2 and 4.3 of AER_Installation_Verification.pdf.
    Regards,
    Jianzhong