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.

Not able to create sample speech decoder for TMS320C6678 by ccsV5

Hi,

I am trying to create a sample speech decoder G711 for device c6678 in ccsV5

but not able to do so. There are some example application given in CD with the card

they are working fine like IPC ,DDR3 example

Now i want to create my own .I have search the forum a lot but not get ant speech codec example.

If i try to make sample application by my own how can do this in ccsV5.

Please share some useful links for this.

Thanks ,

Ajita

  • Dear Ajita,

    But if i try to make a sample application in ccsV5 its gives error "tconf not found".
    I want to compile speech decoder/encoder (G711,G729) and run on this card.
    I have source code of speech codec (downloaded from ti side).

    Can you please attach the screen shot of the error ?

    1)
    You can create a CCS project with the following files.
    C:\ti\c64xplus_g711_2_00_00_000_production\ti\sdo\codecs\g711adec\app\Client\Test\Src
    alg_create.c
    alg_malloc.c
    g711Decodermain.c

    And linker command should be "g711_c6455_elf.cmd"
  • Hi Stalin

    Now I am facing very strange problem

    After adding the files and .cmd (as you mention) i am able to compile the code successfully .And log shows that .out created

    but i am not found any .out in the designated location 

    I have attach my log file .Please check

    Thanks,

    Ajita

    **** Build of configuration DSPC8681E for project demo_evmc6678l ****
    
    /home/user/ti_audio/ccsv5/utils/gmake/gmake -k all 
    Building file: ../alg_create.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_create.pp"  "../alg_create.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../alg_create.c
     
    Building file: ../alg_malloc.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_malloc.pp"  "../alg_malloc.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../alg_malloc.c
     
    Building file: ../g711Decodermain.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="g711Decodermain.pp"  "../g711Decodermain.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../g711Decodermain.c
     
    Building file: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/main.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/main.pp" --obj_directory="src"  "/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/main.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/main.c
     
    Building file: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/serial_printf.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/serial_printf.pp" --obj_directory="src"  "/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/serial_printf.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/serial_printf.c
     
    Building file: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/shared_mem_serial.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/xdais/ --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/xdc/ --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --include_path="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/../include" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/shared_mem_serial.pp" --obj_directory="src"  "/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/shared_mem_serial.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: /home/user/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/src/shared_mem_serial.c
     
    Building target: ../bin/DSPC8681E/demo_evm6678l.out
    Invoking: C6000 Linker
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/ti_audio/Lightning_PCIE_0_7/examples/ipc/dsp/evmc6678l/g711_c6455_elf.cmd"  -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --diag_warning=225 --abi=eabi -z -m"../bin/DSPC8681E/demo_evm6678l.map" --warn_sections -i"/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/lib" -i"/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" -i"/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform/dspc8681/platform_lib/lib/debug" -i/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform/dspc8681/platform_lib/lib/debug -i"/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/csl/lib" -i/home/hcl/ti_audio/pdk_C6678_1_1_2_6/packages/ti/csl/lib --reread_libs --rom_model -o "../bin/DSPC8681E/demo_evm6678l.out"  "./g711Decodermain.obj" "./alg_malloc.obj" "./alg_create.obj" "./src/shared_mem_serial.obj" "./src/serial_printf.obj" "./src/main.obj" -l"ti.csl.intc.ae66" -l"ti.platform.dspc8681.lite.lib" -l"ti.csl.ae66" -l"libc.a" "../g711_c6455_elf.cmd" 
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building target: ../bin/DSPC8681E/demo_evm6678l.out
     
    

    .

  • Hi Ajita,

    I believe, you have downloaded the G711 codec from TI site. That package contains a sample CCS project, you can re-use the same.

    Or, please share your CCS project you created.


    -Venkat

  • Please do "Rebuild project"
    Attach the screen shot of the CCS project window.

    You can also get the codec from this link (latest codec) which has CCS project, so that you can import and rebuild the project.
    software-dl.ti.com/.../index_FDS.html

    Here you can find the direct example with .cproject file which is used to import the project in CCS IDE.
    C:\ti\C64xplus_G711_02_00_01_00_LE_ELF
    C:\ti\C64xplus_G711_02_00_01_00_LE_ELF\packages\ti\sdo\codecs\g711dec\App\Client\Build\Decoder

    Please let us know if you are not able to progress.
  • hi Venkat,

    I have downloaded the little older version form here http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C6X_Speech/2_00_000/index_FDS.html and does not have any ccsproject i am sharing my project file

    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
    	<name>hello_world</name>
    	<comment></comment>
    	<projects>
    	</projects>
    	<buildSpec>
    		<buildCommand>
    			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
    			<arguments>
    				<dictionary>
    					<key>?name?</key>
    					<value></value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.append_environment</key>
    					<value>true</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
    					<value>all</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.buildArguments</key>
    					<value>-k</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.buildCommand</key>
    					<value>${CCS_INSTALL_ROOT}/utils/gmake/gmake</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.buildLocation</key>
    					<value>${workspace_loc:/hello_world/Debug}</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
    					<value>clean</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.contents</key>
    					<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
    					<value>true</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
    					<value>true</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.enableFullBuild</key>
    					<value>true</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
    					<value>all</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.stopOnError</key>
    					<value>true</value>
    				</dictionary>
    				<dictionary>
    					<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
    					<value>true</value>
    				</dictionary>
    			</arguments>
    		</buildCommand>
    		<buildCommand>
    			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
    			<triggers>full,incremental,</triggers>
    			<arguments>
    			</arguments>
    		</buildCommand>
    	</buildSpec>
    	<natures>
    		<nature>org.eclipse.rtsc.xdctools.buildDefinitions.XDC.xdcNature</nature>
    		<nature>com.ti.ccstudio.managedbuild.core.ccsNature</nature>
    		<nature>org.eclipse.cdt.core.cnature</nature>
    		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
    		<nature>org.eclipse.cdt.core.ccnature</nature>
    		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
    	</natures>
    </projectDescription>
    
    <?xml version="1.0" encoding="UTF-8"?>
    <?fileVersion 4.0.0?>
    
    <cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
    	<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.124600525">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.124600525" moduleId="org.eclipse.cdt.core.settings" name="Debug">
    				<macros>
    					<stringMacro name="XDCTOOLS_JAVA_HOME" type="VALUE_TEXT" value="/home/ti_audio/xdctools_3_23_04_60/jre"/>
    				</macros>
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.124600525" name="Debug" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.124600525." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.DebugToolchain.859212531" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug.897218375">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.626688251" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.GenericC66xxDevice"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.3"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
    								<listOptionValue builtIn="false" value="XDC_VERSION=3.31.00.24.core"/>
    								<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.IPC:1.24.03.32;com.ti.rtsc.SYSBIOS:6.33.06.50;"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2022530174" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.2.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformDebug.992752641" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformDebug"/>
    							<builder buildPath="${workspace_loc:/hello_world/Debug}" id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderDebug.1429732106" name="GNU Make.Debug" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderDebug"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerDebug.1928334226" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING.397925316" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION.1652761794" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION" value="6600" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH.528066901" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.522830921" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.eabi" valueType="enumerated"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS.630815252" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS.1259934900" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS.1986477499" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS.1447537632" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug.897218375" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerDebug">
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.603116117" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE.1757808354" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY.1762756147" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY" valueType="libs">
    									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH.1605447399" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    								</option>
    							</tool>
    							<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1624735723" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.943744967" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1614150377" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.elf.C66" valueType="string"/>
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.521795158" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.sdo.ipc.examples.platforms.evm6678.core0" valueType="string"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    		</cconfiguration>
    		<cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Release.40521379">
    			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Release.40521379" moduleId="org.eclipse.cdt.core.settings" name="Release">
    				<externalSettings/>
    				<extensions>
    					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
    					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
    				</extensions>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
    			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Release.40521379" name="Release" parent="com.ti.ccstudio.buildDefinitions.C6000.Release">
    					<folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Release.40521379." name="/" resourcePath="">
    						<toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.ReleaseToolchain.13108952" name="TI Code Generation Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerRelease.449303710">
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.955023689" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
    								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.GenericC66xxDevice"/>
    								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
    								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
    								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.0.3"/>
    								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
    								<listOptionValue builtIn="false" value="XDC_VERSION=3.31.00.24.core"/>
    								<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.IPC:1.24.03.32;com.ti.rtsc.SYSBIOS:6.33.06.50;"/>
    								<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
    							</option>
    							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1219424609" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.2.1" valueType="string"/>
    							<targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformRelease.1873346836" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.targetPlatformRelease"/>
    							<builder buildPath="${workspace_loc:/hello_world/Release}" id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderRelease.4852191" name="GNU Make.Release" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.builderRelease"/>
    							<tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerRelease.1558539213" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.compilerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING.984816527" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.DIAG_WARNING" valueType="stringList">
    									<listOptionValue builtIn="false" value="225"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION.1755001339" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.SILICON_VERSION" value="6600" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH.1671572204" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.INCLUDE_PATH" valueType="includePath">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.1985133675" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.2.compilerID.ABI.eabi" valueType="enumerated"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS.410093985" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__C_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS.332731514" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__CPP_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS.1011803045" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM_SRCS"/>
    								<inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS.877757387" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.compiler.inputType__ASM2_SRCS"/>
    							</tool>
    							<tool id="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerRelease.449303710" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.exe.linkerRelease">
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE.292763725" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE.1463851477" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY.1734816331" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.LIBRARY" valueType="libs">
    									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
    								</option>
    								<option id="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH.2093017164" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.2.linkerID.SEARCH_PATH" valueType="stringList">
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
    									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
    								</option>
    							</tool>
    							<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1354171143" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.1375001044" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1355318578" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.elf.C66" valueType="string"/>
    								<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1415735812" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.sdo.ipc.examples.platforms.evm6678.core0" valueType="string"/>
    							</tool>
    						</toolChain>
    					</folderInfo>
    				</configuration>
    			</storageModule>
    			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
    			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    		</cconfiguration>
    	</storageModule>
    	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
    		<project id="hello_world.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.38020174" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/>
    	</storageModule>
    </cproject>
    
    <?xml version="1.0" encoding="UTF-8"?>
    <?ccsproject version="1.0"?>
    
    <projectOptions>
    <deviceVariant value="com.ti.ccstudio.deviceModel.C6000.GenericC66xxDevice"/>
    <deviceEndianness value="little"/>
    <codegenToolVersion value="7.2.1"/>
    <isElfFormat value="true"/>
    <rts value="libc.a"/>
    </projectOptions>
    

  • Hi Stalin,

    I am using little older version of the codec which does not have ccs project and i will download this one and build this.
    And let you know about it.

    Regards,
    Ajita
  • For older package,

    I'm able to create a new project for the codec app and build successfully.

    g711_enc_app.zip

    The following packages were installed and added the path in CCS project.

    C:\ti\bios_6_33_06_50\packages

    C:\ti\bios_6_33_06_50\packages\ti\bios\include

    C:\ti\xdctools_3_23_04_60\packages

    C:\ti\xdais_7_21_01_07\packages

    C:\ti\xdais_7_21_01_07\packages\ti\xdais

    C:\ti\xdais_7_21_01_07\packages\ti\xdais\dm

    C:\ti\framework_components_3_30_00_06\packages\ti\sdo\fc\utils\api

    To avoid the "not able open alg.h " error, I added the following location from newer package.

    "C:\ti\c674x_aaclcenc_01_00_01_00_elf\packages\ti\sdo\codecs\aaclcenc\app\Inc"

  • Hi Stalin,

    I did all steps you have mention in your post and build log shows that .out generated sucessfully (attach the build log)

    but do not get .out file in the location .

    Even I have attach the screen shot of the project .In the debug folder there is no such .out file.

    Thanks,

    Ajita

    **** Build of configuration Debug for project g711_enc_app ****
    
    /home/user/ti_audio/ccsv5/utils/gmake/gmake -k all 
    Building file: ../alg_create.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/workspace_v5_1/g711_enc_app/g711_c6455_elf.cmd"  -mv6600 -g --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages/ti/bios/include --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais/dm --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_create.pp"  "../alg_create.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../alg_create.c
     
    Building file: ../alg_malloc.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/workspace_v5_1/g711_enc_app/g711_c6455_elf.cmd"  -mv6600 -g --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages/ti/bios/include --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais/dm --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_malloc.pp"  "../alg_malloc.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../alg_malloc.c
     
    Building file: ../g711Decodermain.c
    Invoking: C6000 Compiler
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/workspace_v5_1/g711_enc_app/g711_c6455_elf.cmd"  -mv6600 -g --include_path="/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --include_path=/home/hcl/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages --include_path=/home/hcl/ti_audio/bios_6_33_06_50/packages/ti/bios/include --include_path=/home/hcl/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais --include_path=/home/hcl/ti_audio/xdais_7_20_00_07/packages/ti/xdais/dm --include_path=/home/hcl/ti_audio/codec_engine_3_21_00_19/cetools/packages/ti/sdo/fc/utils/api --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="g711Decodermain.pp"  "../g711Decodermain.c"
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building: ../g711Decodermain.c
     
    Building target: /home/user/workspace_v5_1/g711_enc_app/Debug/abc.out
    Invoking: C6000 Linker
    "/home/user/ti_audio/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/hcl/workspace_v5_1/g711_enc_app/g711_c6455_elf.cmd"  -mv6600 -g --diag_warning=225 --abi=eabi -z -m"g711_enc_app.map" --warn_sections -i"/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/lib" -i"/home/hcl/ti_audio/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "/home/hcl/workspace_v5_1/g711_enc_app/Debug/abc.out"  "./g711Decodermain.obj" "./alg_malloc.obj" "./alg_create.obj" -l"libc.a" "../g711_c6455_elf.cmd" 
      --heap_size,-heap,--heap=size 
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    Finished building target: /home/user/workspace_v5_1/g711_enc_app/Debug/abc.out
     
    

  • Please find the attached log with screen shot.

    **** Build of configuration Debug for project g711_decoder ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../alg_create.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi --include_path="C:/ti/bios_6_33_06_50/packages/ti/bios/include" --include_path="C:/ti/c674x_aaclcenc_01_00_01_00_elf/packages/ti/sdo/codecs/aaclcenc/app/Inc" --include_path="C:/ti/c64xplus_g711_2_00_00_000_production/ti/sdo/codecs/g711adec/app/Inc" --include_path="C:/Users/Inc" --include_path="C:/ti/xdctools_3_23_04_60/packages" --include_path="C:/ti/xdais_7_21_01_07/packages" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais/dm" --include_path="C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/api" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --include_path="C:/ti/bios_6_33_06_50/packages" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="alg_create.pp"  "../alg_create.c"
    'Finished building: ../alg_create.c'
    ' '
    'Building file: ../alg_malloc.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi --include_path="C:/ti/bios_6_33_06_50/packages/ti/bios/include" --include_path="C:/ti/c674x_aaclcenc_01_00_01_00_elf/packages/ti/sdo/codecs/aaclcenc/app/Inc" --include_path="C:/ti/c64xplus_g711_2_00_00_000_production/ti/sdo/codecs/g711adec/app/Inc" --include_path="C:/Users/Inc" --include_path="C:/ti/xdctools_3_23_04_60/packages" --include_path="C:/ti/xdais_7_21_01_07/packages" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais/dm" --include_path="C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/api" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --include_path="C:/ti/bios_6_33_06_50/packages" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="alg_malloc.pp"  "../alg_malloc.c"
    'Finished building: ../alg_malloc.c'
    ' '
    'Building file: ../g711Decodermain.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi --include_path="C:/ti/bios_6_33_06_50/packages/ti/bios/include" --include_path="C:/ti/c674x_aaclcenc_01_00_01_00_elf/packages/ti/sdo/codecs/aaclcenc/app/Inc" --include_path="C:/ti/c64xplus_g711_2_00_00_000_production/ti/sdo/codecs/g711adec/app/Inc" --include_path="C:/Users/Inc" --include_path="C:/ti/xdctools_3_23_04_60/packages" --include_path="C:/ti/xdais_7_21_01_07/packages" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais/dm" --include_path="C:/ti/framework_components_3_30_00_06/packages/ti/sdo/fc/utils/api" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --include_path="C:/ti/bios_6_33_06_50/packages" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="g711Decodermain.pp"  "../g711Decodermain.c"
    "../g711Decodermain.c", line 139: warning #225-D: function "exit" declared implicitly
    "../g711Decodermain.c", line 149: warning #225-D: function "exit" declared implicitly
    "../g711Decodermain.c", line 155: warning #225-D: function "exit" declared implicitly
    "../g711Decodermain.c", line 161: warning #225-D: function "exit" declared implicitly
    "../g711Decodermain.c", line 211: warning #225-D: function "ALG_create" declared implicitly
    "../g711Decodermain.c", line 217: warning #225-D: function "exit" declared implicitly
    "../g711Decodermain.c", line 378: warning #225-D: function "ALG_delete" declared implicitly
    'Finished building: ../g711Decodermain.c'
    ' '
    'Building target: g711_decoder.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6600 --abi=eabi -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"g711_decoder.map" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/lib" -i"C:/ti/c64xplus_g711_2_00_00_000_production/ti/sdo/codecs/g711uenc/lib" -i"C:/ti/c64xplus_g711_2_00_00_000_production/ti/sdo/codecs/g711adec/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="g711_decoder_linkInfo.xml" --rom_model -o "g711_decoder.out" "./alg_create.obj" "./alg_malloc.obj" "./g711Decodermain.obj" "../g711_c6455_elf.cmd"  -l"libc.a" -lg711uenc_tii_elf.l64P -lg711adec_tii_elf.l64P 
    <Linking>
    warning #10349-D: creating output section ".fardata" without a SECTIONS specification.  For additional information on this section, please see the 'C6000 EABI Migration' guide at http://processors.wiki.ti.com/index.php/C6000_EABI:C6000_EABI_Migration#C6x_EABI_Sections
    warning #10349-D: creating output section ".neardata" without a SECTIONS specification.  For additional information on this section, please see the 'C6000 EABI Migration' guide at http://processors.wiki.ti.com/index.php/C6000_EABI:C6000_EABI_Migration#C6x_EABI_Sections
    warning #10349-D: creating output section ".rodata" without a SECTIONS specification.  For additional information on this section, please see the 'C6000 EABI Migration' guide at http://processors.wiki.ti.com/index.php/C6000_EABI:C6000_EABI_Migration#C6x_EABI_Sections
    warning #10321-D: creating group "NEARDP_DATA" to co-locate output sections .neardata and .rodata with .bss 
    warning #10247-D: creating output section ".fardata" without a SECTIONS specification
    'Finished building target: g711_decoder.out'
    ' '
    
    **** Build Finished ****
    

  • Hi Stalin,

    I really sorry to bother you but donot know what else i need to do.

    Please advice.

    Thanks,
    Ajita
  • Can you attach the complete project folder ?
  • hi stalin,

    i a attaching my complete project

    please look into this.

    Regards,

    Ajitaipc.zip

  • hi stalin,

    did u get the time to have a look into this.

    Regards,
    Ajita
  • Dear Ajitha,
    I've got the same project on this below post (He is also from HCL technologies, hope he might be your colleague) and solved it.
    e2e.ti.com/.../495993

    Can you please look into that post ?
    Let me know if you have any problem.

  • hi stalin,

    thanks for reply.

    By this thread my problem also get sloved.


    Regards,
    Ajita
  • Sounds good.
    Thanks for your update.
  • Hi Stalin,

    The encoder application you have given is loaded on DSP successfully . And DSP shows Load Hex successfully.
    But if I want to generate the encoded file how can I do this .
    Please advice


    Thanks,
    Ajita
  • Hi Stalin,

    Is there any way to get the output encoded buffer into file that I access in my PC.
    Please Advice.

    Regards,
    Ajita
  • Dear Ajita,
    I'm not sure whether its possible but you can try.
    Just try to create a file using fileoperation with encoded o/p and send it to PC through any interface like serial or ethernet etc.,
  • Hi Stalin,

    I just want to explain one scenario

    If suppose I want to transcode video file I donot need any interface just plug-in the card and video mcsdk have all structure like init script, download dsp script and I need to run my video binary with dsp image and I am able to get encoded file easily.

    Donot know why speech codec does not have this type of support and also card does not have serial port.

    and I am not clear with how I get it form Ethernet port.

    Please advice.

    Regards,

    Ajita