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/TIDEP-0088: 66AK2G12 DEMO issue

Part Number: TIDEP-0088
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi TI suooprts,

I installed CCS at D:\TI\CCS930 and SDK RTOS at D:\TI\CCS930\SDK. I built my Demo as follow:

1. d:\ set TOOLS_INSTALL_PATH=D:\TI\CCS930

2. d:\ set SDK_INSTALL_PATH=D:\TI\CCS930\SDK

3.d:\ cd \set SDK_INSTALL_PATH=D:\TI\CCS930\SDK\processor_sdk_rtos_k2g_6_03_00_106

4.d:\TI\CCS930\SDK\processor_sdk_rtos_k2g_6_03_00_106 > setupenv.bat

5.d:\TI\CCS930\SDK\processor_sdk_rtos_k2g_6_03_00_106 > gmake audio_preproc_clean

6.d:\TI\CCS930\SDK\processor_sdk_rtos_k2g_6_03_00_106 > gmake audio_preproc

But showing as follow:

PLATFORM=66AK2G \
XDC_INSTALL_DIR="D:\ti\CCS930\SDK/xdctools_3_55_02_22_core" \
BIOS_INSTALL_DIR="D:\ti\CCS930\SDK/bios_6_76_03_01" \
IPC_INSTALL_DIR="D:\ti\CCS930\SDK/ipc_3_50_04_08" \
PDK_INSTALL_DIR="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages" \
gnu.targets.arm.A15="D:\ti\CCS930\SDK/gcc-arm-none-eabi-7-2018-q2-update" gnu.targets.arm.A15F="D:\ti\CCS930\SDK/gcc-arm-none-eabi-7-2018-q2-update" ti.targets.elf.C66="D:\ti\CCS930\SDK/ti-cgt-c6000_8.3.2"
C:/Users/ADMINI~1/AppData/Local/Temp/make1068-1.sh: 1: C:/Users/ADMINI~1/AppData/Local/Temp/make1068-1.sh: D:tiCCS930SDK/xdctools_3_55_02_22_core/gmake: not found
gmake: *** [makefile:184: audio_preproc_clean] Error 127

Could you tell me how to fix this issue please?

Thanks for helps!!

  • Please note that in the newer SDKs like the one you are using, there is no need to set SDK_INSTALL_PATH and TOOLS_INSTALL_PATH. If you are referring to instructions in some TI design, the instructions may not have been updated.

    In newer releases, the installer will detect the path where the SDK is installed and will set the SDK_INSTALL_PATH in the Rules.make and setenv.bat file in the root directory. Also, if you notice all the toolchains required for building the SDK are now included in the SDK. 

    The only reason to set up the TOOLS_INSTALL_PATH is if you want to create CCS projects using pdkProjectCreate. In your case since you have installed CCS in the default C:\ti\ccs903 path, you don`t even need to setup the environment variables as default CCS_INSTALL_PATH is defined in pdkProjectCreate.bat file found in pdk_k2g_1_0_x\packages 

    To build, just follow the commands below:

    cd C:\ti\ccs903\SDK\processor_sdk_rtos_k2g_6_03_00_106

    setupenv.bat

    gmake audio_preproc_clean

    gmake audio_preproc

    Hope this helps. Let us know if you are still having any issues building the demo with the instructions provided here.

    Regards,

    Rahul

    PS: Please note that the demo you are building also has dependency on AER and VOLIB libraries which are not included in the SDK

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_examples_demos.html#id24

  • Hi Rahul,

    Thanks for your help first.

    Both CCS and SDK were installed in D driver.  Follow your steps, it stiil has errors. log as follow:

    D:\ti\CCS930\SDK\processor_sdk_rtos_k2g_6_03_00_106>gmake audio_preproc
    D:/ti/CCS930/SDK/xdctools_3_55_02_22_core/gmake -C ./demos/audio-preprocessing/realtime_demo_bios/k2g/build all \
    PLATFORM=66AK2G \
    XDC_INSTALL_DIR="D:/ti/CCS930/SDK/xdctools_3_55_02_22_core" \
    BIOS_INSTALL_DIR="D:/ti/CCS930/SDK/bios_6_76_03_01" \
    IPC_INSTALL_DIR="D:/ti/CCS930/SDK/ipc_3_50_04_08" \
    PDK_INSTALL_DIR="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages" \
    gnu.targets.arm.A15="D:/ti/CCS930/SDK/gcc-arm-none-eabi-7-2018-q2-update" gnu.targets.arm.A15F="D:/ti/CCS930/SDK/gcc-arm-none-eabi-7-2018-q2-update" ti.targets.elf.C66="D:/ti/CCS930/SDK/ti-cgt-c6000_8.3.2"
    gmake[1]: Entering directory 'D:/ti/CCS930/SDK/processor_sdk_rtos_k2g_6_03_00_106/demos/audio-preprocessing/realtime_demo_bios/k2g/build'
    process_begin: CreateProcess(NULL, uname, ...) failed.
    gmake[1]: makefile:53: pipe: No such file or directory
    Building file: ../K2G_bf_rt.cfg
    Invoking: XDCtools
    "D:/ti/CCS930/SDK/xdctools_3_55_02_22_core/xs" --xdcpath="D:/ti/CCS930/SDK/edma3_lld_2_12_05_30E/packages;C:/ti/ccsv6/ccs_base;D:/ti/CCS930/SDK/bios_6_76_03_01/packages;D:/ti/CCS930/SDK/uia_2_30_01_02/packages;D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages;D:/ti/CCS930/SDK/aer_c64Px_obj_17_0_0_0/packages;/packages;D:/ti/CCS930/SDK/xdais_7_24_00_04/packages;D:/ti/CCS930/SDK/xdais_7_24_00_04/examples;../../../realtime_demo_bios/platforms/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p evmTCI66AK2G02Custom -r debug -c "D:/ti/CCS930/SDK/ti-cgt-c6000_8.3.2" "../K2G_bf_rt.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring K2G_bf_rt.xe66 from package/cfg/K2G_bf_rt_pe66.cfg ...
    SoC Type is k2g
    generating custom ti.sysbios library makefile ...
    System environment LIBDIR variable defined : ./lib
    Linking with library ti.drv.uart:./lib/k2g/c66/release/ti.drv.uart.ae66
    System environment LIBDIR variable defined : ./lib
    Linking with library ti.osal:./lib/tirtos/k2g/c66/release/ti.osal.ae66
    Inside EDMA3 Drv getLibs
    will link with ti.sdo.edma3.drv:lib/66/debug/edma3_lld_drv.ae66
    Inside EDMA3 RM getLibs
    will link with ti.sdo.edma3.rm:lib/tci66ak2g02-evm/66/debug/edma3_lld_rm.ae66
    System environment LIBDIR variable defined : ./lib
    Linking with library ti.csl:./lib/k2g/c66/release/ti.csl.ae66
    Starting build of library sources ...
    making D:/ti/CCS930/SDK/processor_sdk_rtos_k2g_6_03_00_106/demos/audio-preprocessing/realtime_demo_bios/k2g/src/sysbios/sysbios.ae66 ...
    Build of libraries done.
    cle66 package/cfg/K2G_bf_rt_pe66.c ...
    Finished building: ../K2G_bf_rt.cfg

    Building file: ../../../common/components/fil.c
    Invoking: C6000 Compiler
    "D:/ti/CCS930/SDK/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --abi=eabi --opt_for_speed=5 --include_path="../../../common/components" --include_path="D:/ti/CCS930/SDK/ti-cgt-c6000_8.3.2/include" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/addon/cmb/src/evmK2G/include" --include_path="../../../realtime_demo_bios/k2g/include" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/drv/mcasp" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/board" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/board/src/evmK2G/include" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/addon/cmb" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages" --include_path="D:/ti/CCS930/SDK/pdk_k2g_1_0_16/packages/ti/csl" -g --define=DEVICE_K2G --define=SOC_K2G --define=evmK2G --define=PLATFORM_INIT_IN --define=BUILD_DSP --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="fil.d" --define=MCASP_EDMA_ENABLED --cmd_file="configPkg/compiler.opt" "../../../common/components/fil.c"
    "../../../common/components/types.h", line 378: fatal error #1965: cannot open source file "ti/mas/types/ce66/types.h"
    1 catastrophic error detected in the compilation of "../../../common/components/fil.c".
    Compilation terminated.

    >> Compilation failure
    gmake[1]: *** [subdir_rules.mk:19: fil.obj] Error 1
    gmake[1]: Leaving directory 'D:/ti/CCS930/SDK/processor_sdk_rtos_k2g_6_03_00_106/demos/audio-preprocessing/realtime_demo_bios/k2g/build'

    Bill

  • Bill as I indicated in my earlier post (highlighted in the post script). The Audio Preprocessing demo requires AER and VOLIB libraries to be installed from ti.com  The ti/mas/ce66/types.h files comes from those libraries.

    AER And VOLIB Download location:

    https://www.ti.com/tool/TELECOMLIB