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.

Errors during compilation

Hello all,

I am getting the following errors when i am building my program. I just wanted to profile a project to check the the time taken by cache and Sram. i am using 6670 processor. Please guide me.


1)#10234-D unresolved symbols remain    memory_read             C/C++ Problem

2)unresolved symbol _CSL_tscRead, first referenced in ./cycle_measure.obj    memory_read             C/C++ Problem

Regards,

Denzil.

  • Hi Denzil, 

    you have missed to add/link CSL files for 6670.

    You can do something like following.

    void main() {
    ...
    TSCL = 0; // Initiate CPU timer by writing any val to TSCL
    ...
    t1 = TSCL; // benchmark snapshot of free-running ctr
    my_code_to_benchmark();
    t2 = TSCL; // benchmark snapshot of free-running ctr
    printf(“# cycles == %d\n”, (t2-t1));
    }

  • Hello Radesh,

    I would like to know what are the include file necessary to open a new project and run it on the c6670 processor.

    Today i faced another problem with the include files. Should i include the xdc tools also.

    please guide

    Thankyou,

    Regards,

    Denzil.

  • HI Denzil,

    If your development environment is non-BIOS based, then xdc tools are not required. 

    You can share more details so that it is easy to address your issues.

  • Hello Radhesh,

          I am currently using simulator version that is available in the CCS V5.2. I created a new project with configuration "Empty RTSC Project" I created a .c file and added to the project and compiled it, i found the following errors.

    1) can't locate the package 'ti.wbi.lte.ltelib' along the path: 'C:/ti/pdk_C6670_1_0_0_21/packages;C:/ti/ccsv5/ccs_base;C:/ti/xdctools_3_23_03_53/packages;..;'. Ensure that the package path is set correctly.    unittest_c66x.cfg    /DUMMY    26    C/C++ Problem

    2)option --include_path is missing its parameter 'dir'    DUMMY             C/C++ Problem

    Also found the following warnings,

    1)Build variable 'LTELIB_INSTALL_PATH' cannot be resolved.     DUMMY        properties    TI Problem Marker

    2)Build variable 'PDK_INSTALL_PATH' cannot be resolved.     DUMMY        properties    TI Problem Marker

    3)Build variable 'PDK_INSTALL_PATH' cannot be resolved.     DUMMY        properties    TI Problem Marker

    "unittest_c66x.cfg" this file was taken from an already available example project under "ltelib_2_00_00_06_generic" provided by TI itself. Is it right to use that file..?

    Please Guide in resolving the above issues.

      Regards,

    Denzil.



  • Hi Denzil,

    I will check and get back. In the meantime, can you check whether you face any tool dependency issue with "Empty C project" instead of RTSC?