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.

RTOS: audioAnalogLoopbackTest project problem

Other Parts Discussed in Thread: 66AK2G02, TIDEP-0088, AUDK2G

Tool/software: TI-RTOS

Hi , thank you for your help 

 From TI Designs: TIDEP-0088 Audio Pre-Processing System Reference Design for Voice-Based Applications Using 66AK2G02. We know that  in the pdk_k2g_1_0_7 ,there is a  audioAnalogLoopbackTest Project source ,as is show in the picture :

                           

                           

   We want use them to test CMB board ,but there is no a single ccs project  in the loopback file ,we can not open them as a complete  project .we can use pdkProjectCreate.bat instructions to create project ,as is show in the picture.But when we put the  loopback source files in the project ,there are mistakes in them ;

                    

 

       how can we use the loopback source files and  pdkProjectCreate.bat to make a right ccs project  or  is  there a project for the  audioAnalogLoopbackTest ? How can we get them. Thank you for your help .

 

 

 

  • The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Wujun,

    While you can build a CCS project for this example, the default build for this analog loopback example for the audio daughtercard is to use the makefile approach.

    the instructions to build the demo for the K2G EVM is provided here:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_CMB_AddOn

    We don`t provide a CCS project for the out of box expereince but if you prefer to have the build in CCS then you can look the makefile compiler setting and re-create the build in CCS. Let us know if you need some help with that.

    Regards,
    Rahul
  • Hi,Rahul !

     Thank you for  your help . when  I use CCS to make a audioAnalogLoopback Test .there are some mistakes,  the mistakes are as in the follow picture .

                                        

    The problem confused me for one day . I think it is difficulty for me to solve . can provide me with some suggestions to solve this problem ?the whole project is as follows.

    audioAnalogLoopbackTest1.zip

      Thank you  for your help !

     

      Wujun He .

     

     

     

  • Wujun He,

    It apears that in your project, you have selected platform as evmTCI66AK2G02Custom but not added the location where the custom platform defintiion is created to the XDCPATH. Check your Build Settings for XDCtools and add the path where evmTCI66AK02Custom platform directory is present. I am assuming that you meant to use the custom platform that is located at "audio-preprocessing-fw/browse/realtime_demo_bios/platforms/packages". If the assumption is correct then you need to add that path to XDCPATH package search path.

    Did you want to intend to change this confguration and use the custom platform? I checked the makefile for the analogLoopbackTest in addon/audk2g and noticed that the makefile is using the default evmTCI66AK2G02 configuration :

    "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(EDMA3LLD_BIOS6_INSTALLDIR)/packages;$(BIOS_INSTALL_PATH)/packages;$(UIA_INSTALL_PATH)/packages;$(PDK_INSTALL_PATH);" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evmTCI66AK2G02 -r debug -c "$(C6X_GEN_INSTALL_PATH)"

    Let us know if the issue is not resolved even after updating the XDCPATH in your project.

    Regards,

    Rahul

  •  hi, Rahul.

     After updating the XDCPATH in your project. The third error disappeared, but the first two were still in.Some details are  showing  in the follow picture.


     

      l do not know how to correct the error . could you help me ? the CCS project is as follow .

    audioAnalogLoopbackTest2.zip

     

  • Instead of just providing the screenshot. Can you copy the log of the build from the CCS console when you select Rebuild Project and attach it here for our analysis. The minimal description in the Problems tab doesn`t provide full description of the issue that you are running into.

    I will try to reproduce this issue from the CCS project that you have shared and get back to you on this issue.

    Regards,
    Rahul
  • hi, Rahul

    The log from CCS console is as follow.

    **** Build of configuration Debug for project audioAnalogLoopbackTest1 ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/Users/HePu-He/workspace_v7/audioAnalogLoopbackTest1/Debug'
    'Building file: ../audioAnalogLoopbackTest.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_02_20_core/xs" --xdcpath="C:/ti/ccsv7/ccs_base;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/processor_sdk_rtos_k2g_4_01_00_06/demos/audio-preprocessing/realtime_demo_bios/platforms/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p evmTCI66AK2G02Custom -r debug -c "C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.5" "../audioAnalogLoopbackTest.cfg"
    subdir_rules.mk:12: recipe for target 'build-1566828161-inproc' failed
    "evmTCI66AK2G02Custom/Platform.xdc", line 8: can't resolve name (ti.platforms.generic.Platform.Instance)
    js: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: InternalError: parser failed
    gmake[1]: *** [build-1566828161-inproc] Error 1
    gmake[1]: Leaving directory 'C:/Users/HePu-He/workspace_v7/audioAnalogLoopbackTest1/Debug'
    subdir_rules.mk:9: recipe for target 'build-1566828161' failed
    gmake: *** [build-1566828161] Error 2
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****



    Thank you !
    Wujun He .