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.

Unable to Locate Header File for TMS320c6713b

I am trying to develop an application code for DSP TMS320c6713b in CCSv5.2 for MSP430 & C6000
 but I am unable to locate the header file containing the processor specific 
register declarations i.e. the .h file containing the base addresses for every register.
Kindly help me in this regard.
  • Greetings,

    I do not use CCS5.2.xxx Beta, but under CCS5.1.1.00031, you need to select the device (option -mv6710) and a predefinded symbol (option -d"CHIP_6713") for it to work.

    Good Luck,

    Sam

  • Sir,

    Where I need to write this command , in command line ?..because I am unable to find the command line where I can

    write this and moreover there is no header file as such by adding which I can access the DSP registers directly.

    Do I need to write the header file myself?

    Regards

    Gaurav

  • Greetings,

    Under CCS 5.x, and inside your project properties add as follow

    Once you do that and you have included the generic header files that your program requires, then the Code Generation tools pull in the proper header file that support your DSP.  You will have to include also the header file that came with your DSK/EVM to its custom memory map.  For all CPU specific, they get resolved by the Code Generation tool.

    The DSK6713 should have files included in your program like

    .

    #include "dsk6713.h"

    #include "dsk6713_led.h"

    #include "dsk6713_dip.h"

    .

    Good Luck,

    Sam

  • Sir,

    All these files are not added in the installation folder and therefor I am unable to add them.

    I have tried the earlier version too i.e. 5.1 but I am facing the same issue.I am attaching a 

    reference header file for which I am looking at created by me for a single module, to clarify 

    my doubt.

    Thanks and Regards

    Gaurav


    #ifndef __memory
    #define __memory

    #define Uint32 unsigned int

    #define GBLCTL 0x01800000
    #define CECTL0 0x01800008
    #define CECTL1 0x01800004
    #define CECTL2 0x01800010
    #define CECTL3 0x01800014
    #define SDCTL 0x01800018
    #define SDTIM 0x0180001c
    #define SDEXT 0x01A80020


    #define GBLCTL_REG *(Uint32 *)GBLCTL
    #define CECTL0_REG *(Uint32 *)CECTL0
    #define CECTL1_REG *(Uint32 *)CECTL1
    #define CECTL2_REG *(Uint32 *)CECTL2
    #define CECTL3_REG *(Uint32 *)CECTL3
    #define SDCTL_REG *(Uint32 *)SDCTL
    #define SDTIM_REG *(Uint32 *)SDTIM
    #define SDEXT_REG *(Uint32 *)SDEXT


    #endif



  • Greetings,

    This come from Spectrum Digital.

    Good Luck,

    Sam

    5432.dsk6713.zip