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.

Problem using C6713 DSK BSL: LEDs

Other Parts Discussed in Thread: CCSTUDIO

Hello all,

I am trying to use the LEDs on the C6713 DSK. When I use the LED example in the TI built-in example list, it works fine and I can toggle LEDs using the DIP switches. 

I coppied some parts of the code and pasted into my program. This is my include list:

 

#include <std.h>

#include <hst.h>

#include <log.h>

#include <sts.h>

#include <string.h>

#include <stdlib.h>

#include <csl_emif.h>

#include "dsk6713.h"

#include "dsk6713_led.h"

#include "dc_conf.h"

#include "t8364_fn.h"

#include "main.h"

My build command is:

"C:\CCStudio_v3.1\c6000\cgtools\bin\cl6x" -g -q -fr"./Debug" -i"." -i"C:/CCStudio_v3.1/c6000/dsk6713/include" -d"_DEBUG" -d"CHIP_6713" -ml3 -mv6700 -@"Debug.lkf" "main.c"

I get the following error when the debugger is linking files:
<Linking>
undefined                        first referenced
 symbol                              in file
---------                        ----------------
_DSK6713_init                    U:\KTP Work\Practical Workspace\Mine\test6\Debug\main.obj
>>   error: symbol referencing errors - './Debug/test6.out' not built
>> Compilation failure
Can anyone help???

 

  • Bendous said:
    I get the following error when the debugger is linking files:
    <Linking>
    undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _DSK6713_init                    U:\KTP Work\Practical Workspace\Mine\test6\Debug\main.obj
    >>   error: symbol referencing errors - './Debug/test6.out' not built
    >> Compilation failure
    Can anyone help???

    Hi Bendous,

    Please make sure that you have included the BSL library (dsk6713bsl.lib) in your project. By default you can find it in the C:\CCStudio_v3.3\c6000\dsk6713\lib folder. You are receiving the error because the linker is attempting to associate the function call with the actual function which is inside an object file in the BSL Library.