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.

Help for c6713 and ccs 5.2 on windows 7



Hello All,

This is Vanitha. I have been facing issues while working with C6713 board, CCS5.2 on windows 7 machine. I have followed the steps provided by another community member to compile source code for the C6713 using CCS_v5.2 on Windows 7. http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/215890.aspx

I am getting these errors , please check the image and I have also mentioned them below,

Here are the errors (the highlighted ones),

Description Resource Path Location Type

Description Resource Path Location Type
#10010 errors encountered during linking; "C:/Users/vanitha/Desktop/DSP sine8_LED C/C++ Problem
#10234-D unresolved symbols remain sine8_LED C/C++ Problem
#5 could not open source file "csl.h" sine8_LED line 18, external location: C:\Users\vanitha\Desktop\DSP LABS\Week 2\sine8_LED\dsk6713_aic23.h C/C++ Problem
unresolved symbol _DSK6713_DIP_on, first referenced in C:/Users/vanitha/Desktop/DSP sine8_LED C/C++ Problem

warnings:
#10210-D creating ".stack" section with default size of 0x400; use the sine8_LED C/C++ Problem
#225-D function declared implicitly Sine8_LED.c /sine8_LED line 22 C/C++ Problem
#225-D function declared implicitly Sine8_LED.c /sine8_LED line 29 C/C++ Problem
#225-D function declared implicitly c6713dskinit.c /sine8_LED line 9 C/C++ Problem
Build variable 'C6000_CSL_CG_ROOT' cannot be resolved. sine8_LED properties TI Problem Marker
Build variable 'C6000_CSL_CG_ROOT' cannot be resolved. sine8_LED properties TI Problem Marker
Invalid project path: Include path not found (\include). sine8_LED pathentry Path Entry Problem

Please help me.

Regards,

Vanitha

  • Vanitha,

    I see you are probably missing the variable below that correctly points to your CSL install:

    Build variable 'C6000_CSL_CG_ROOT' cannot be resolved

    What hinted me to reach this conclusion is the error:

    #5 could not open source file "csl.h" sine8_LED line 18

    To learn how to set this environment variable, check section 3 of the page below.

    http://processors.wiki.ti.com/index.php/Portable_Projects

    This other error indicates you are missing a library - more specifically the DSK6713 Board Support Library (BSL) that probably contains the code of the function DSK6713_DIP_on().

    unresolved symbol _DSK6713_DIP_on

    The thread you referenced has instructions how to download the BSL package and correctly include it in your project.

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thank you for your help.

    I created the project again with all the instructions you have given me , I don't see the previous errors , but I got the new ones which I have listed below

    Description Resource Path Location Type

    Errors:
    #10010 errors encountered during linking; "Sine8_LED.out" not built Sine8_LED C/C++ Problem
    #10056 symbol "_main" redefined: first defined in "./main.obj"; Sine8_LED C/C++ Problem

    Warnings:
    #10210-D creating ".stack" section with default size of 0x400; use the Sine8_LED C/C++ Problem
    #10247-D creating output section ".vectors" without a SECTIONS Sine8_LED C/C++ Problem
    #225-D function declared implicitly Sine8_LED.c /Sine8_LED line 23 C/C++ Problem
    #225-D function declared implicitly Sine8_LED.c /Sine8_LED line 30 C/C++ Problem
    #225-D function declared implicitly c6713dskinit.c /Sine8_LED line 9 C/C++ Problem

    I have included all the necessary library files and all. Below I have attached the screenshot of my project,

    Please help me.

    Thanks & Regards,

    Vanitha

  • Vanitha,

    I can see from your project that you have <Sine8_LED.c> and <main.c>. I would remove <main.c> as it was probably included when the project was created (selecting Empty project usually helps with that).

    Cheers,

    Rafael

  • Rafael,

    I removed the main.c , and still I see the erros. I have included the screenshot 

    Thanks and regards,

    Vanitha

  • Vanitha,

    I downloaded the DSK6713 package from Spectrum, and found out the function call DSK6713_DIP_on() does not exist in the included files (I see a DSK6713_DIP_get() in <dsk6713_dip.h>).

    Therefore, double-check the example code you are using and see why this function does not exist. It may be a typo or part of a file that should have been included with the example code. 

    Regards,

    Rafael

     

  • Rafael,

    Initially DSK6713_DIP_on() was not there in the code when I downloaded. As I was following the steps provided by another community member , which are listed here
    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/215890.aspx

    It said to include  

    DSK6713_DIP_on() ;

    DSK6713_LED_on(0); in the code to make it work.

    Now when i remove it I still see the same errors. What do you suggest me to do? Shall I try to close the CCS and start over ?

     

    Thanks and Regards,

    Vanitha