ccs3.3 + simulink trouble

7 views (last 30 days)
Dennis
Dennis on 17 Nov 2011
Hello,
have a problem with ccs3 + simulink
i work with Piccolo MCU controlStick [TMS320C2000 (f28027)] and i want to link matlab simulink r2011b with ccs3.3
operating system: windows xp, 32bit
after "incrementel build" i get the following problem:
1.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.Error while creating the project.
3.Code generation cannot proceed because the following file or folder could not be found: $(DSP2802x_INSTALLDIR)\DSP2802x_common\include
>>the "ccsboardinfo" command shows me the right processor!
>> checkEnvSetup('ccs','f28027')
1. Checking CCS (Code Composer Studio) version Required version: 3.3.82.13 Required for : Automation and Code Generation Your Version : 3.3.83.19 Incompatible version detected. CCS version does not satisfy product requirements!
2. Checking CGT (Texas Instruments C2000 Code Generation Tools) version Required version: 5.2.1 Required for : Code generation Your Version : 5.2.1
3. Checking DSP/BIOS (Real Time Operating System) version Required version: 5.33.05 Required for : Real-Time Data Exchange (RTDX) Your Version : 5.33.05
4. Checking 2802x C/C++ Header Files version Required version: 1.28 or later Required for : Code generation Your Version : ### Setting environment variable "DSP2802x_INSTALLDIR" to "D:\Dokumente und Einstellungen\Mechlabor\Eigene Dateien\MATLAB\piccolo_led_test_ticcs"
5. Checking Flash Tools (TMS320F2802x Piccolo™ Flash API) version Required version: 1.00 Required for : Flash Programming Your Version : Incompatible version detected. Flash Tools version does not satisfy product requirements! Following environment variables required for code generation could not be set: ### "FLASH_2802X_API_INSTALLDIR"
>> cc = ticcs
TICCS Object: Processor type : TMS320C28xx Processor name : TMS320C2800_0 Running? : No Board number : 0 Processor number : 0 Default timeout : 10.00 secs
RTDX channels : 0
please help me i already read the similar posts in this forum, but it didn't works.
thank you
Dennis
  1 Comment
Kaustubha Govind
Kaustubha Govind on 17 Nov 2011
Do you see that the directory $(DSP2802x_INSTALLDIR)\DSP2802x_common\include exists in your machine? The error message seems to suggest that it can't find it. ("DSP2802x_INSTALLDIR" was set to "D:\Dokumente und Einstellungen\Mechlabor\Eigene Dateien\MATLAB\piccolo_led_test_ticcs" on your machine)

Sign in to comment.

Answers (2)

Dennis
Dennis on 17 Nov 2011
hallo,
thanks for comment.
i cant find this directory $(DSP2802x_INSTALLDIR)\DSP2802x_common\include
and i think that matlab cant find the headerfiles for project. because by writing command
>> checkEnvSetup('ccs','F28027','check') matlab return....
4. 2802x C/C++ Header Files
Your version :
Required version: 1.28 or later
Required for : Code generation
DSP2802x_INSTALLDIR="D:\Dokumente und Einstellungen\Mechlabor\Eigene Dateien\MATLAB\sumdiff_ccsdemo_ticcs"
5. Flash Tools (TMS320F2802x Piccolo™ Flash API)
Your version : 1.00
Required version: 1.00
Required for : Flash Programming
FLASH_2802X_API_INSTALLDIR=""
i hope you can help me
thanks for your help

Gurudev
Gurudev on 10 Dec 2012
There is a very good video that shows how to interact between Matlab and CCSv3.3
I found it a bit long but it has all the steps from installation to generating code for a simple model in Simulink. Definitely worth spending the time watching. The same exists for CCSv4/v5: http://youtu.be/7ed1NLD817s

Community Treasure Hunt

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

Start Hunting!