Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Discussion Groups

Discussion Groups | TMS320C28x | Error while compiling in CCS

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

Error while compiling in CCS - naay...@gmail.com - Apr 9 8:29:27 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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Error while compiling in CCS - aclo...@gmail.com - Apr 9 19:42:39 2008

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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Error while compiling in CCS - naay...@gmail.com - Apr 11 7:01:08 2008

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"
<Linking>
>> 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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Error while compiling in CCS - Xiang Chao - Apr 22 8:11:24 2008

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"
> <Linking>
> >> 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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )