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.
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.
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?
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
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
Thanks and Regards
#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
This come from Spectrum Digital.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.