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.

evmk2h get started 2

Other Parts Discussed in Thread: SYSBIOS

hi,

is there an example somewhere how to get started with ccs and the board making the first projects on dsp and arm going through every steps, a screensho ideally for every step one must do to be able to see every setting?

i am using win7 64bit and ccs 6.0.1

  • Hi Lars,

    The answer to your other is still valid here as well however there are plenty of wiki pages available to get start about CCS.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/385516/1360021.aspx#1360021

    Please refer the below link from CCS forum to get start.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/3131.aspx

    Thank you.

  • I imported from mcsdk the "hello world" example for evmk2h, copy into workspace
    I tried to build ( click on hammer). but it fails:

    **** Clean-only build of configuration Debug for project helloWorld_evmk2h ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F  "helloWorld_evmk2h.out"  "configPkg\linker.cmd" "configPkg\compiler.opt"
    RMDIR /S/Q  "configPkg\"
    DEL /F "helloWorld.pp" "platform_osal.pp" "resourcemgr.pp" "udpHello.pp"
    DEL /F "helloWorld.obj" "platform_osal.obj" "resourcemgr.obj" "udpHello.obj"
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug for project helloWorld_evmk2h ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    gmake: *** No rule to make target `D:/ti_workspace/helloWorld.c', needed by `helloWorld.obj'.
    'Building file: ../helloWorld.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_06_96/xs" --xdcpath="C:/ti/ndk_2_22_02_16/packages;C:/ti/bios_6_41_00_26/packages;C:/ti/pdk_keystone2_3_01_01_04/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evmTCI6636K2H -r debug -c "C:/ti/ccsv6/tools/compiler/c6000_7.4.11" "../helloWorld.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring helloWorld.xe66 from package/cfg/helloWorld_pe66.cfg ...
    generating custom ti.sysbios library makefile ...
    js: "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xs", line 661: Error: template generation of 'D:\ti_workspace\helloWorld_evmk2h/src/sysbios/makefile' failed: InternalError: XDC runtime error: ti.sysbios.family.c64p.EventCombiner/common$: no property named 'outPolicy'
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt#143(eval)", line 1
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt", line 143
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt", line 192
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xdt", line 67
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xdt", line 77
    gmake.exe: *** [package/cfg/helloWorld_pe66.xdl] Error 1
    gmake.exe: *** [package/cfg/helloWorld_pe66.xdl] Deleting file `package/cfg/helloWorld_pe66.c'
    js: "C:/ti/xdctools_3_25_06_96/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: *** No rule to make target `D:/ti_workspace/platform_osal.c', needed by `platform_osal.obj'.
    gmake: *** No rule to make target `D:/ti_workspace/resourcemgr.c', needed by `resourcemgr.obj'.
    gmake: *** No rule to make target `D:/ti_workspace/udpHello.c', needed by `udpHello.obj'.
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    what to do?

  • Hi,

    Please import the mcsdk "hello world" example with default path, Don't copy the example into workspace. If you copy the MCSDK example to workspace means you need to modified the project properties.

    Thanks,

  • Hi,

    i imported the example helloWorld_evmk2h. I  compiled it and have this error:

    **** Clean-only build of configuration Debug for project helloWorld_evmk2h ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F  "helloWorld_evmk2h.out"  "configPkg\linker.cmd" "configPkg\compiler.opt"
    RMDIR /S/Q  "configPkg\"
    DEL /F "helloWorld.pp" "platform_osal.pp" "resourcemgr.pp" "udpHello.pp"
    DEL /F "helloWorld.obj" "platform_osal.obj" "resourcemgr.obj" "udpHello.obj"
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug for project helloWorld_evmk2h ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../helloWorld.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_06_96/xs" --xdcpath="C:/ti/ndk_2_22_02_16/packages;C:/ti/bios_6_41_00_26/packages;C:/ti/pdk_keystone2_3_01_01_04/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evmTCI6636K2H -r debug -c "C:/ti/ccsv6/tools/compiler/c6000_7.4.11" "../helloWorld.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring helloWorld.xe66 from package/cfg/helloWorld_pe66.cfg ...
    generating custom ti.sysbios library makefile ...
    js: "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xs", line 661: Error: template generation of 'C:\ti\mcsdk_bios_3_01_01_04\examples\ndk\helloWorld\evmk2h/src/sysbios/makefile' failed: InternalError: XDC runtime error: ti.sysbios.family.c64p.EventCombiner/common$: no property named 'outPolicy'
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt#143(eval)", line 1
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt", line 143
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/makefile.xdt", line 192
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xdt", line 67
        "C:/ti/bios_6_41_00_26/packages/ti/sysbios/Build.xdt", line 77
    gmake.exe: *** [package/cfg/helloWorld_pe66.xdl] Error 1
    gmake.exe: *** [package/cfg/helloWorld_pe66.xdl] Deleting file `package/cfg/helloWorld_pe66.c'
    js: "C:/ti/xdctools_3_25_06_96/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    what to do?

    settings:

    i adjusted the hardware selection here:

  • The cause of that problem is incompatibility of XDCtools and SYS/BIOS versions. SYS/BIOS 6.41 requires XDCtools 3.30 or later.
  • Hi Lars,


    Go to Project properties--> CCS general --> RTSC --> choose the appropriate XDC tool version.