Problem creating a project with Matlab 2011a and DSP28035

Hello,
I have a problem. I need to build a Matlab model in which I have used the blocks from the library for Texas Instruments F28035 DSP. To do this I use Matlab 2011a, Code Composer Studio v3.3 and 28035 Control Card from Texas Instruments (based on F28035 DSP). The problem appears when I try to build the model and Matlab shows me a window to browse the 2803x C/C++ header files installation directory. Header files, together with the source files, are needed to create the project in CCS v3.3.
These files should be in the following directory: C:\Program Files\MATLAB\R2011a\toolbox\idelink\extensions\ticcs\inc. And the source files directory is C:\Program Files\MATLAB\R2011a\toolbox\idelink\extensions\ticcs\src.
But when I select the directory you get the following error message:
"Invalid Folder. One of the following file(s) could not be located in the installation directory: DSP2803x_headers\include\DSP2803x_SysCtrl.h"
In these directories that I mentioned before are the header and source files for DSP280x, DSP281x and DSP2833x, but not for the DSP2803x.
Anyone know if these files exist in the version 2011B? Can you help?
Thanks in advance,
Carlos

 Accepted Answer

The 2803x C/C++ header files installation should be separate from your MATLAB installation. So I don't think C:\Program Files\MATLAB\R2011a\toolbox\idelink\extensions\ticcs\ is the right location, unless you have indeed installed the TI files manually to this location. I would recommend running checkEnvSetup to make sure that you have installed all third-party software that is required by Simulink.

More Answers (1)

Thanks Kaustubha.
I was able to get the header and source files from Texas Instruments support. But now there are multiple errors when Matlab is creating the project. These are the errors:
1. Model Error. Source: Simulink. The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error: Error while creating the project. The build process will terminate as a result.
2. Model Error. Source: unknown. Error while creating the project.
3. Model Error. Source: unknown. Code generation cannot proceed because the following file or folder could not be found: $(DSP2803x_INSTALLDIR)\DSP2803x_common\include
4. Parse Log. Source: c28xdmclib. Parsing successful for chart: "Ramp Generator/Convert Param To fix-pt with floor rounding mode/Embedded MATLAB Function"(#21)
Thanks in advance,
Carlos

5 Comments

Carlos: It seems to be a similar error as before:
Code generation cannot proceed because the following file or folder could not be found: $(DSP2803x_INSTALLDIR)\DSP2803x_common\include
Could you check if the $(DSP2803x_INSTALLDIR)\DSP2803x_common\include folder exists? The DSP2803x_INSTALLDIR environment variable should have been set by checkEnvSetup. Execute "getenv DSP2803x_INSTALLDIR" in MATLAB to see what it is set to.
Hello,
I am working with this same target, and getting the same error. I can't find the "idelinklib_ticcs" library block to get the boardproc for checkEnvSetup. Carlos/Kaustubha, would you mind sending me what you entered for the checkEnvSetup?
Thanks,
Mark
Not sure, but could you try checkEnvSetup('ccs', 'TI F28035', 'check')
I am having the same problem as Carlos on CCSv4. I have ran getenv DSP2803x_INSTALLDIR and it returns ' '. Do you know how I should go about fixing this? I have tried looking for these directories in the TI folder but have had no luck.
Thanks,
Adam
Adam: Sorry, don't really know much about CCS installations, but I found this discussion from a web search that might be useful: http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/65958/315798.aspx

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!