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.

TMS320C6678 hello example error on CCS v5.5

Other Parts Discussed in Thread: TMS320C6678

Hi All,

I am new on DSPs and Code Composer Studio and as a start with I'm trying to build hello example on CCS v5.5 (Example Projects--> SYS/BIOS-->C6000-->C66xx Multicore DSP--> TMS320C6678-->Generic Examples-->Hello Example). Firstly the error was about "could not open source file ti/targets/select.h", I manually added include paths to the include options under the project properties and this problem was solved. After that I received 3 error, these are:

#10234-D unresolved symbols remain

#10010 errors encountered during linking; "hello_TMS320C6678.out" not built

#10008-D cannot find file "./configPkg/linker.cmd"

I am using TMS320C6678 EVM and a Blackhawk XDS560v2-USB Mezzazine Emulator. I think, I should add some paths to linker options or somewhere else but I don't know which path or where I should add? What do you suggest me more?

If you can help me about this, I will be very glad. Thanks in advance.

Duygu

  • Duygu,
    can you post the complete output from the command console when you clean and rebuild the project. But first remove the include paths that you added. You shouldn't have to do that when a SYS/BIOS project is created.

  • Please go through the BIOS Getting Started Guide.  I have attached it for your convenience.

    5344.Bios_Getting_Started_Guide.pdf

    Judah

  • Sasha,

    I removed the include paths from include options, clean the project and than build it again. Here is the complete output on the console:

    **** Build of configuration Debug for project hello_TMS320C6678 ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../hello.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_03_72/xs" --xdcpath="C:/ti/bios_6_35_04_50/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.4" --compileOptions "-g --optimize_with_debug"
    xdc.tools.configuro: missing input config script
    Usage: xs xdc.tools.configuro [--help]
    [-v | -q]
    [-@ optionsfile]
    [-o outdir]
    [-b config_bld | -c codegen_dir | --cb]
    [-t target] [-p platform[:instance]] [-r profile]
    [-Dname=value]
    [-w | -x regexp]
    [--rtsName pkg_name]
    [--cfgArgs args_string]
    [--linkTemplate linker_template]
    [--pkg] [--generationOnly]
    [--compileOptions compile_options_string]
    [--oc compiler.opt] [--ol linker.cmd]
    infile.cfg
    'Finished building: ../hello.cfg'
    ' '
    'Building file: ../hello.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="hello.pp" --cmd_file="./configPkg/compiler.opt" "../hello.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/xdc/std.h", line 86: fatal error #5: could not open source file "ti/targets/select.h"
    1 fatal error detected in the compilation of "../hello.c".
    Compilation terminated.

    >> Compilation failure
    gmake: *** [hello.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    I am waiting your reply, thanks.

    Duygu

  • Duygu,
    I saw that problem before, here is one of the threads -http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/148875.aspx. There is a file subdir_rules.mk in the directory Debug (or Release) in your project. The command line that runs configuro looks like this:
    "C:/ccsproducts/xdctools_3_23_04_60/xs" --xdcpath="..." xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evm6747 -r release -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.4" --compileOptions "-g --optimize_with_debug" "$<"
    In your case, the part "$<" is probably missing. And, if that's the case, you can't just add that missing part because makefiles get rebuilt every time you build a project. But, you can try adding ../hello.cfg at the of the text field Command-line pattern in Project Properties->CCS Build->XDCtools.

    I noticed that the error shows up mostly with users from Turkey, so it might be related to language settings in Windows. I don't know if setting the language in Control Panel to English would help, but you could try that too, and then clean and rebuild.

    You may also post the question about the missing script in the CCS forum because someone may know more there about CCS and language settings.