EmbeddedRelated.com
Forums

Error while compiling in CCS

Started by naay...@gmail.com April 9, 2008
Hi all,

I just tried to compile my sample programme in code composer studio. I have included header files. It shows the following error.

"DSP281x_CpuTimers.c", line 23: fatal error: could not open source file "DSP281x_Device.h"
1 fatal error detected in the compilation of "DSP281x_CpuTimers.c".
Compilation terminated.

I have also included DSP281x_globalVariablesDefs.c and cputimers.c,defaultisr.c,piectrl.c,pievect.c,sysctrl.c. But it shows error that all these files couldnot open source file DSP281x_Device.h.

Should I include these files in to my source folder of my project or how can i solve this?

Thanks in advance.

regards


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
hello,
you must configure the build options in your project. ccs don´t knows where to look for the .h. Then you should include the search paths for your project in the build options. I hope that helps
regards, Ana
Hi all,
>
>I just tried to compile my sample programme in code composer studio. I have included header files. It shows the following error.
>
>"DSP281x_CpuTimers.c", line 23: fatal error: could not open source file "DSP281x_Device.h"
>1 fatal error detected in the compilation of "DSP281x_CpuTimers.c".
>Compilation terminated.
>
>I have also included DSP281x_globalVariablesDefs.c and cputimers.c,defaultisr.c,piectrl.c,pievect.c,sysctrl.c. But it shows error that all these files couldnot open source file DSP281x_Device.h.
>
>Should I include these files in to my source folder of my project or how can i solve this?
>
>Thanks in advance.
>
>regards
>


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi,

Thanks very much.I have included the search path. but i am getting the following warnings. Actually,i am compiling and building the programme with out connecting my DSP. Is the warning due to that? I didn't understand the following warning messages. I have included the F2812_EzDSP_RAM_lnk.cmd file in my project, but the warning araises from linking.
---------------------------- Testpwm.pjt - Debug ----------------------------
[Linking...] "C:\CCStudio_v3.1\C2000\cgtools\bin\cl2000" -@"Debug.lkf"

>> warning: creating output section FlashRegsFile without SECTIONS specification
>> warning: creating output section CsmPwlFile without SECTIONS specification
>> warning: creating output section CpuTimer0RegsFile without SECTIONS
specification
>> warning: creating output section ScibRegsFile without SECTIONS specification
>> warning: creating output section SciaRegsFile without SECTIONS specification
>> warning: creating output section CsmRegsFile without SECTIONS specification
>> warning: creating output section SpiaRegsFile without SECTIONS specification
>> warning: creating output section XIntruptRegsFile without SECTIONS
specification
>> warning: creating output section PieCtrlRegsFile without SECTIONS
specification
>> warning: creating output section AdcRegsFile without SECTIONS specification
>> warning: creating output section SysCtrlRegsFile without SECTIONS
specification
>> warning: creating output section XintfRegsFile without SECTIONS specification
>> warning: creating output section GpioMuxRegsFile without SECTIONS
specification
>> warning: creating output section GpioDataRegsFile without SECTIONS
specification
>> warning: creating output section McbspaRegsFile without SECTIONS
specification
>> warning: creating output section EvbRegsFile without SECTIONS specification
>> warning: creating output section EvaRegsFile without SECTIONS specification
>> warning: creating output section ECanaRegsFile without SECTIONS specification
>> warning: creating output section ECanaLAMRegsFile without SECTIONS
specification
>> warning: creating output section ECanaMOTSRegsFile without SECTIONS
specification
>> warning: creating output section ECanaMOTORegsFile without SECTIONS
specification
>> warning: creating output section DevEmuRegsFile without SECTIONS
specification
>> warning: creating output section PieVectTableFile without SECTIONS
specification
>> warning: creating output section ECanaMboxesFile without SECTIONS
specification

Build Complete,
0 Errors, 24 Warnings, 0 Remarks.
could you please calrify me?

regards


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
That is due to the problem in your link command file.
You didn't specify physical address for these
sections.

Chao

--- n...@gmail.comд

> Hi,
>
> Thanks very much.I have included the search path.
> but i am getting the following warnings. Actually,i
> am compiling and building the programme with out
> connecting my DSP. Is the warning due to that? I
> didn't understand the following warning messages. I
> have included the F2812_EzDSP_RAM_lnk.cmd file in my
> project, but the warning araises from linking.
> ---------------------------- Testpwm.pjt - Debug
> ----------------------------
> [Linking...]
> "C:\CCStudio_v3.1\C2000\cgtools\bin\cl2000"
> -@"Debug.lkf"
>
> >> warning: creating output section FlashRegsFile
> without SECTIONS specification
> >> warning: creating output section CsmPwlFile
> without SECTIONS specification
> >> warning: creating output section
> CpuTimer0RegsFile without SECTIONS
> specification
> >> warning: creating output section ScibRegsFile
> without SECTIONS specification
> >> warning: creating output section SciaRegsFile
> without SECTIONS specification
> >> warning: creating output section CsmRegsFile
> without SECTIONS specification
> >> warning: creating output section SpiaRegsFile
> without SECTIONS specification
> >> warning: creating output section XIntruptRegsFile
> without SECTIONS
> specification
> >> warning: creating output section PieCtrlRegsFile
> without SECTIONS
> specification
> >> warning: creating output section AdcRegsFile
> without SECTIONS specification
> >> warning: creating output section SysCtrlRegsFile
> without SECTIONS
> specification
> >> warning: creating output section XintfRegsFile
> without SECTIONS specification
> >> warning: creating output section GpioMuxRegsFile
> without SECTIONS
> specification
> >> warning: creating output section GpioDataRegsFile
> without SECTIONS
> specification
> >> warning: creating output section McbspaRegsFile
> without SECTIONS
> specification
> >> warning: creating output section EvbRegsFile
> without SECTIONS specification
> >> warning: creating output section EvaRegsFile
> without SECTIONS specification
> >> warning: creating output section ECanaRegsFile
> without SECTIONS specification
> >> warning: creating output section ECanaLAMRegsFile
> without SECTIONS
> specification
> >> warning: creating output section
> ECanaMOTSRegsFile without SECTIONS
> specification
> >> warning: creating output section
> ECanaMOTORegsFile without SECTIONS
> specification
> >> warning: creating output section DevEmuRegsFile
> without SECTIONS
> specification
> >> warning: creating output section PieVectTableFile
> without SECTIONS
> specification
> >> warning: creating output section ECanaMboxesFile
> without SECTIONS
> specification
>
> Build Complete,
> 0 Errors, 24 Warnings, 0 Remarks.
> could you please calrify me?
>
> regards
>


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467