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.

  • Resolved

CCS/TMS320C5515: #10010 errors encountered during linking;

Part Number: TMS320C5515

Tool/software: Code Composer Studio

Dear Friends

i use this Library for using DSP 

http://www.ti.com/tool/sprc133

But i have problem to using this Library 

how can i add library and header file to my project 

when i add header file to my project i get this error 

#10010 errors encountered during linking;

please guide me to use this library thank you 

  • Part Number: TMS320C5515

    I try to many way to use example and lib and src sorce of CLS Library (v3.08)

    But I cant run it and use it 

    any one can guide me about how can i use csl file???

  • Hamid,

    Could you please provide more details on which project/example that you are trying to build?
    do you have the correct platform marco for the C5515 defined in the csl_general.h?

    Lali
  • In reply to Lalindra Jayatilleke:

    /* ============================================================================
    * Copyright (c) 2008-2016 Texas Instruments Incorporated.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the
    * distribution.
    *
    * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    *
    */


    /** @file csl_general.h
    *
    * @brief CSL general header file
    *
    * This file contains the general CSL macros or definitions that are required
    * to enable few functionalities specific to the chip revision. This file is
    * included in all the cslr files. All the CSL applications should include
    * this file.
    *
    * Path: \(CSLPATH)\ inc
    */

    /* ============================================================================
    * Revision History
    * ================
    * 07-Jan-2009 Created
    * 28-Apr-2010 Added new macro definitions
    * 30-Jun-2010 Added new macro definitions for platforms
    * 13-Aug-2010 CSL v2.10 release
    * 06-Jul-2011 CSL v2.50 release
    * 20-Jun-2012 Removed VC5504/05 chip versions and added C5517 chip version
    * 13-Sep-2012 CSL v3.00 release
    * 20-Dec-2012 CSL v3.01 release
    * 23-Feb-2016 CSL v3.05 release
    * 04-Apr-2016 CSL v3.06 release
    * ============================================================================
    */

    #ifndef _CSL_GENERAL_H_
    #define _CSL_GENERAL_H_

    #ifdef __cplusplus
    extern "C" {
    #endif

    /*
    ******************************************************
    * CAUTION: DEFINE EITHER THE MACROS IN PART1 OR PART2.
    * DO NOT DEFINE MACROS IN BOTH PARTS.
    ******************************************************
    */

    /** ***************************************************************************
    * --------------------------------------------------
    * PART1: CHIP VERSION MACRO DEFINITION FOR PG2.1 CSL
    * --------------------------------------------------
    *
    * Below macros are used to enable the source code specific to chip version
    * TMS320C5517.
    *
    * 'CHIP_C5517' indicates TMS320C5517 DSP.
    *
    * Defining the macro below will enable the code for the DSP TMS320C5517.
    */

    /* TMS320C5517 */
    #define CHIP_C5517


    /******************************* END OF PART1 *******************************/


    /** ***************************************************************************
    * --------------------------------------------------
    * PART2: CHIP VERSION MACRO DEFINITION FOR PG2.0 CSL
    * --------------------------------------------------
    *
    * Below macros are used to enable the source code specific to chip versions
    * TMS320C5505, TMS320C5515, TMS320C5504, and TMS320C5514.
    * Design revision(DesignRev) of the DIE ID regsiter(0x1C43 & 0x1C44) will have
    * the value '5' for this chip set.
    *
    * 'CHIP_C5505_C5515' indicates TMS320C5505 and TMS320C5515.
    * 'CHIP_C5504_C5514' indicates TMS320C5504 and TMS320C5514.
    *
    * DSPs TMS320C5505 and TMS320C5515 are similar but certain LDOs not bonded out
    * for TMS320C5505 DSP.
    * DSPs TMS320C5504 and TMS320C5514 are similar but certain LDOs not bonded out
    * for TMS320C5504 DSP.
    *
    * DSPs TMS320C55x5 and TMS320C55x4 are having the same peripherals but
    * they differ in the internal memory available. 'x' stands for 0 or 1.
    *
    * Defining any of the below macros will enable the code for all the DSPs
    * TMS320C5504, TMS320C5505, TMS320C5514 and TMS320C5515.
    * Current CSL software does not have the code that is specific to TMS320C5504
    * and TMS320C5514 DSPs.
    */

    #ifndef CHIP_C5517

    /* TMS320C5505 and TMS320C5515 */
    #define CHIP_C5505_C5515

    /** TMS320C5504 and TMS320C5514 */
    //#define CHIP_C5504_C5514

    #if ((!defined(CHIP_C5505_C5515))&&(!defined(CHIP_C5504_C5514)))

    /* TMS320C5535 or TMS320C5545 */
    #define CHIP_C5535

    #if (!defined(CHIP_C5535))
    #define CHIP_C5545
    #endif
    #endif

    #endif

    /******************************* END OF PART2 *******************************/


    /** ***************************************************************************
    * -----------------------------------------------------------
    * PART3: EVM VERSION MACRO DEFINITION FOR PG2.0 and PG2.1 CSL
    * -----------------------------------------------------------
    *
    * Below macros are used to enable the source code specific to EVM versions
    */

    #if (defined(CHIP_C5517))
    /** Macro to define platform as C5517 */
    #define C5517_EVM

    #else // (!defined(CHIP_C5517))
    #if (defined(CHIP_C5505_C5515)||defined(CHIP_C5504_C5514))
    /** Macro to define platform as C5515 */
    #define C5515_EVM

    #if (!(defined(C5515_EVM)))
    /** Macro to define platform as C5515 eZdsp */
    #define C5515_EZDSP

    #endif // !(defined(C5515_EVM))
    #else // (!(defined(CHIP_C5517)||defined(CHIP_C5505_C5515)||(defined(CHIP_C5504_C5514))

    #if (defined(CHIP_C5535))
    /** Macro to define platform as C5535 eZdsp */
    #define C5535_EZDSP
    #endif

    #if (!defined(C5535_EZDSP))
    /** Macro to define platform as C5545 BoosterPack */
    #define C5545_BSTPCK
    #endif // !(defined(C5535_EZDSP))
    #endif // ((defined(CHIP_C5505_C5515))||(defined(CHIP_C5504_C5514)))

    #endif // (defined(CHIP_C5517))
    /******************************* END OF PART3 *******************************/

    #ifdef __cplusplus
    }
    #endif

    #endif // _CSL_GENERAL_H_

  • In reply to hamid khatib shahidi:

    Dear Lali
    this is my csl_general and i think it's ok
  • In reply to hamid khatib shahidi:

  • In reply to hamid khatib shahidi:

    what should u do for using CSL?
    can guide me step by step or give me PDF or some information
    thank you very much
  • In reply to hamid khatib shahidi:

    Hamid,

    Ensure you have C:\ti\c55_lp\c55_csl_3.08\ccs_v6.x_examples\C55XXCSL_LP imported in your CCS workspace as well.

    That's the reason for the error that it cannot find C55XXCSL_LP.lb.

    Lali

  • In reply to Lalindra Jayatilleke:

    thank you but I have another question if I want open new project and use csl should I copy C55XXCSL_LP & in & src folders to my project?
  • In reply to hamid khatib shahidi:

    Hamid,
    It would be best to link to the files from your CCS project properties rather than copying things over.

    Lali

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.