This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem ccs3 + simulink

Other Parts Discussed in Thread: CONTROLSUITE

Hello i 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

operation 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(TM) 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.

 

thank you

Dennis

  • Hello Dennis,

    Dennis G��tz said:
       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!

    You need to check if simulink supports the version of 3.3 you have installed. Looks like it does not. You will need Mathworks to confirm this.

    Dennis G��tz said:
    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"

    Dennis G��tz said:
    3.Code generation cannot proceed because the following file or folder could not be found: $(DSP2802x_INSTALLDIR)\DSP2802x_common\include

    Does this folder exist on your PC?

    "D:\Dokumente und Einstellungen\Mechlabor\Eigene Dateien\MATLAB\piccolo_led_test_ticcs\DSP2802x_common\include"?

    Thanks

    ki

  • Hello ki-soo,

    thank you for help.

    You are right! I dont find the folder on my PC.

    And I dont know where i can get or find it ?

    The next step after finding the folder, is how can i change the folder in matlab?

     

    thanks

     

    dennis

     

  • I believe that folder come from the 2802x peripheral examples:

    http://www.ti.com/tool/sprc832

    Dennis G��tz said:
    The next step after finding the folder, is how can i change the folder in matlab?

    I don't know simulink very well but I think once you install the examples, it will be able to find the folder using an environment variable that is set when you install the examples

    ki

     

  • Hello Ki-Soo,

    i downloaded the 2802x peripherals examples and installed them.

    now matlab find the folder but i dont have the right version: ...

    Checking 2802x C/C++ Header Files version
       Required version: 1.28 or later
       Your Version    : 1.26
       Incompatible version detected. 2802x C/C++ Header Files version does not satisfy product requirements!
       Following environment variable(s) required for code generation could not be set:
       ### "DSP2802x_INSTALLDIR"

     

    so i think i need a greater version. can you help me one more time please.

    dennis

  • Thats the answer to this problem.

    After installing the controlSUITE and linking the mathlab variable "C280x_INSTALLDIR" to the  ControlSuite_Dir\device_support\f2802x\v129

    the Program is running on the C2000 Board :)

     

    thanks

    Dennis

     

    (how can i verify your answer ?)

  • Hi,I also meet this question these days.But I don't know how to linking the mathlab variable "C280x_INSTALLDIR" to the  ControlSuite_Dir\device_support\f2802x\v129 as you said.I try to creat a new systerm variable in my computer of desktop,but it dosn't work.So I holp for a more clear answer for this question.Thank you.

     .

  • Hello , I'm really new  using this c2000  launchpad , i recently saw that  matlab can generate code  for this card , i'm trying to configure if but it seems that is not working every time i get this.

    Any help would be appreciated.

    >> checkEnvSetup('ccsv4','f2802x')

    1. Checking CCS (Code Composer Studio) version
       Required version: 4.1.0
       Required for    : Code Generation
       Your Version    :
       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 to 5.2.3
       Required for    : Code generation
       Your Version    : 6.1.0
       Incompatible version detected. CGT version does not satisfy product requirements!
       Following environment variables required for code generation could not be set:
       ### "C2000_CGT_INSTALLDIR"

    3. Checking DSP/BIOS (Real Time Operating System) version
       Required version: 5.33.05 to 5.41.09.34
       Required for    : Code generation
       Your Version    : 6.34.02.18
       Incompatible version detected. DSP/BIOS version does not satisfy product requirements!
       Following environment variables required for code generation could not be set:
       ### "CCSV4_DSPBIOS_INSTALLDIR"

    4. Checking XDC Tools (eXpress DSP Components) version
       Required version: 3.16.02.32 or later
       Required for    : Code generation
       Your Version    :

    5. Checking 2802x C/C++ Header Files version
       Required version: 1.26
       Required for    : Code generation
       Your Version    : 1.26
       ### Setting environment variable "DSP2802x_INSTALLDIR" to "C:\tidcs\c28\DSP2802x\v126"
    Warning: System command setx failed. System returned the following message: "reg"
    no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.
    . Manually create an environment variable DSP2802x_INSTALLDIR set to
    "C:\tidcs\c28\DSP2802x\v126".
    > In C:\Program Files\MATLAB\R2011b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>setEnvVar at 581
      In C:\Program Files\MATLAB\R2011b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>envSetup at 321
      In C:\Program Files\MATLAB\R2011b\toolbox\idelink\extensions\ticcs\envChecker\checkEnvSetup_private.p>checkEnvSetup_private at 75
      In checkEnvSetup at 158

    6. Checking Flash Tools (TMS320F2802x Piccolo(TM) Flash API) version
       Required version: 1.00
       Required for    : Flash Programming
       Your Version    : 2.00
       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"