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.

Trying to get started, examples do not build

Hi,

 

I'm trying to get started with an C6748LCDK. I've loaded the facedetect demo in CCS and when I hit build, I get the following short output:

***************************************

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all

'Building file: ../facedetect_lcdk.cfg'

'Invoking: XDCtools'

"C:/Program Files (x86)/Texas Instruments/xdctools_3_23_00_32/xs" --xdcpath="C:/Program Files (x86)/Texas Instruments/bios_6_33_01_25/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p ti.platforms.evmOMAPL138 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.1" --compileOptions "-g --optimize_with_debug" "../facedetect_lcdk.cfg"

The current directory is invalid.

gmake: *** [configPkg/compiler.opt] Error 1

gmake: Target `all' not remade because of errors.

**************************************

I've no idea which directory it refers to nor what should be wrong.

When I try to load the mcasp example (from starterware) I get a lot of the following error:

***********************

warning: library

   "../../../../../../../binary/c674x/cgt_ccs/c6748/system_config/Debug/system_

   config.lib" contains ELF object files which are incompatible with the

   TI-COFF output file.  Ensure you are using the proper library.

**************************

And of course the resulting "unresolved symbols" error.

Finally I tried creating a new project in CCS, based on the "Hello World" example. It compiles fine, but when I try to load in on the board I get this error:

********************

Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).

*********************

I've no idea how to continue from here.

It seems though that the board is working fine, as I can load the binary pre-compiled mcasp example and it works great (loaded over the UART)

 

Thanks in advance.

 

Kind regards,

 

Remco Poelstra

 

  • I go the luminious idea to change the output format of the mcasp exmple to eabi, as it noted "ELF". I do know get the following errors:

    ***************

    "../mcaspPlayBk.cmd", line 18: error: L1P memory range overlaps existing memory range SHDSPL1PRAM

    "../mcaspPlayBk.cmd", line 19: error: L1D memory range overlaps existing memory range SHDSPL1DRAM

    "../mcaspPlayBk.cmd", line 20: error: L2 memory range overlaps existing memory range SHDSPL2RAM

    "../mcaspPlayBk.cmd", line 21: error: DDR2 memory range has already been specified

    "../mcaspPlayBk.cmd", line 21: error: DDR2 memory range overlaps existing memory range DDR2

    ***********************

    I've not changed anything in the mcaspPlayBk.cmd, as I assumed it would be setup correctly as an example.

    Where can I find information on how to setup this memory configuration?

     

    Regards,

     

    Remco Poelstra

     

  • Hi Remco,

                Kindly take a look at the following thread which talks about the same issue and upgrading the CCS to latest version resolves the issue.

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

    If the problem persists, let us know the CCS version you are using to build the project.

    Regards,

    Iyshwarya

    If this answers your question, please click the Verify Answer button below. If not, please reply back with more information.