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/PROCESSOR-SDK-C6748: unable to build example projects for C6748

Part Number: PROCESSOR-SDK-C6748
Other Parts Discussed in Thread: OMAPL138, CCSTUDIO

Tool/software: Code Composer Studio

2. Install processor SDK RTOS for OMAPL138, selecting C6000 support

3. Run CCS to register components installed in step 2

4. In processor_sdk_rtos_omapl138_5_03_00_07 directory, run setupenv.bat/sh, then (g)make

5. In pdk_omapl138_1_0_8\packages directory, run/source pdsetupenv.bat/sh, then (g)make

6. In pdk_omapl138_1_0_8\packages directory, run pdkProjectCreate.bat/sh with arguments "C6748 all little all example dsp"

On Windows, I get <pastebin.com/K3yrsAPg>. On Linux, I get <pastebin.com/74Rj5i47>. Both platforms are failing to find something. On Linux it helped to manually create the MyExampleProjects directory. I didn't notice any errors earlier in the process.

Any ideas why this is failing? We really need the MCASP example for C6748 to get started with development and catch up to competitors we're also evaluating.


  • It looks like my post got cut off. I'm trying to build the example projects for C6748 / OMAPL138. We're especially interested in the MCASP example. The procedure I'm following is:

    1. Install CCS 9.0.1

    .... (original post)

  • Hey Jake,

    From logs, it looks like the script is looking for CCSv8 (which it does by default if not exported previously) and you have installed CCSv9

    Run the following command before executing the script

    export CCS_INSTALL_PATH= '~/ti/ccsv9'

    Regards,

    Sudhanshu

  • That got me going the right direction on Linux. I set CCS_INSTALL_PATH to /home/jake/ti/ccs910/ccs and it worked.

    Unfortunately, I'm the only person at my small company who knows Linux, so I need to get Windows working too, and after fixing that error on Windows, now I'm getting something like this for each project:

    C:\ti\pdk_omapl138_1_0_8\packages>pdkProjectCreate.bat C6748 all little all example dsp
    =========================================================================
    Configuration:
       SOC             :   C6748
       BOARD           :   all
       ENDIAN          :   little
       MODULE          :   all
       PROJECT_TYPE    :   example
       PROCESSOR       :   dsp
       PDK_SHORT_NAME  :   C:\ti\PDK_OM~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
       PDK_PARTNO         : OMAPL138
       PDK_ECLIPSE_ID     : com.ti.pdk.omapl138
       RTSC_PLATFORM_NAME : ti.platforms.evmOMAPL138
       RTSC_TARGET        : ti.targets.elf.C674
       CCS_DEVICE         : "com.ti.ccstudio.deviceModel.C6000.GenericC674xDevice"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_OM~1\packages\\MyExampleProjects
    Detected Test Project: MCASP_Audio_lcdkOMAPL138_c674xExampleProject

    --------------------------------------------------------------------------------
    Creating project 'MCASP_Audio_lcdkOMAPL138_c674xExampleProject'...

      !ERROR: No TI C6000 compilers, supporting device 'Generic C674x Device', are currently installed!
    Copying macros.ini
    The system cannot find the path specified.
            0 file(s) copied.
    Detected Test Project: MCBSP_DigLpbk_lcdkOMAPL138_c674xExampleProject

    --------------------------------------------------------------------------------

    ...


    I picked C6000 during the CCS Windows install and only C6000, the same as on Linux where I'm not getting this error. Do I need to install with more options? Do anything else?

  • I got the example projects to create on Windows by installing more CCS components. I'm not sure which one made the difference.

    Now I'm trying to get it to build in CCS and getting:


    **** Build of configuration Debug for project MCASP_Audio_lcdkOMAPL138_c674xExampleProject ****

    "C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
     
    subdir_rules.mk:51: recipe for target 'build-1877599745' failed
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/i2c/soc/omapl138/I2C_soc.c', needed by 'I2C_soc.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/lcdkOMAPL138/c674/bios/audiosample.cfg', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/src/aic31.c', needed by 'aic31.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/src/aic3106_if.c', needed by 'aic3106_if.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/src/audioSample_io.c', needed by 'audioSample_io.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/src/audioSample_main.c', needed by 'audioSample_main.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/lcdkOMAPL138/src/audio_evmInit.c', needed by 'audio_evmInit.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/src/codec_if.c', needed by 'codec_if.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/lcdkOMAPL138/src/mcasp_cfg.c', needed by 'mcasp_cfg.obj'.
    gmake: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/soc/omapl138/mcasp_soc.c', needed by 'mcasp_soc.obj'.
    gmake[1]: *** No rule to make target 'C:/ti/ccs901/ccs/eclipse/PDK_INSTALL_PATH/ti/drv/mcasp/example/lcdkOMAPL138/c674/bios/audiosample.cfg', needed by 'build-1877599745-inproc'.
    gmake[1]: Target 'build-1877599745-inproc' not remade because of errors.
    gmake: *** [build-1877599745] Error 2
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


  • setting PDK_INSTALL_PATH as a path variable fixed the above gmake errors