Reply by Gabriel Donaire March 22, 20062006-03-22
Hi

I dont use the CCS for develop, only for debug.
I use a makefile to create the *.pjt file, the project file that you load
into the CCS environment.
The structure for this file is very simple, the files must be in the source
files paragraph, for example my pjt looks like this

[Source Files]
Source="..\..\modules\adc\5509\adc.c"
Source="..\..\modules\boot\5509\boot.asm"
Source="..\..\modules\buffer\5509\buffer.c"
...
...

You can verify is the DSP281x_Device.h is in this source files.
Also in the ["Compiler" Settings: "Debug"] paragraph you can specify the
directories for include searchs.
For example...

["Compiler" Settings: "Debug"]
Options=-g -qq -ea.asm -eo.obj -fr"D:\targets\mainFor5509\" -fs"D:\targets\m
ainFor5509\"
-i"D:/modules/include" -i"D:/modules" -i"D:/toolSet/c5500/cgtools/include" -
i"D:/toolSet/c5500/bios/include"
-i"D:/toolSet/c5500/dsplib/include"

Check this settings are correct in this *.pjt an after try to open the
project inside CCS.

Best regards, Gabriel.
----- Original Message -----
From:
To:
Sent: Tuesday, March 21, 2006 3:27 PM
Subject: [code-comp] could not open source file DSP281x_Device.h
> Hi,
> i have tested the Matlab demo PWM Duty Cycle Control via Period Change, on
> an F2812 eZdsp board. I've built the simulink model, and it creates
> a Code Composer Studio Project. But when I build the project doesn't find
the file DSP281x_Device.h. I copy this file from
Matlab\toolbox\rtw\target\tic2000\tic2000\ and after building the project i
get the same error.
> I use Matlab 7.1 and Code Composer Studio 3.1.
> I need help.
> Tank you.
>
Reply by March 22, 20062006-03-22
Hi,

In the ccs, project>build options, compiler, or linker tab, you can add library search paths. (the folder, where the file is)
Do you have the DSP281x header files? (spru...something)
But maybe the origin of the problem is anywhere else.

I.N.
----- Original Message -----
From: r...@yahoo.com
To: c...
Sent: Tuesday, March 21, 2006 3:27 PM
Subject: [code-comp] could not open source file DSP281x_Device.h
Hi,
i have tested the Matlab demo PWM Duty Cycle Control via Period Change, on
an F2812 eZdsp board. I've built the simulink model, and it creates
a Code Composer Studio Project. But when I build the project doesn't find the file DSP281x_Device.h. I copy this file from Matlab\toolbox\rtw\target\tic2000\tic2000\ and after building the project i get the same error.
I use Matlab 7.1 and Code Composer Studio 3.1.
I need help.
Tank you.

a..
------
Reply by radu...@yahoo.com March 21, 20062006-03-21
Hi,
i have tested the Matlab demo PWM Duty Cycle Control via Period Change, on
an F2812 eZdsp board. I've built the simulink model, and it creates
a Code Composer Studio Project. But when I build the project doesn't find the file DSP281x_Device.h. I copy this file from Matlab\toolbox\rtw\target\tic2000\tic2000\ and after building the project i get the same error.
I use Matlab 7.1 and Code Composer Studio 3.1.
I need help.
Tank you.