Embedded Coder C2000 F28069 example doesnt work

3 views (last 30 days)
I tried to build the Using the Control Law Accelerator (CLA) example based on ert.tlc. The diagnostic viewer ends with the following error message:
"cla_task.cla", line 2: fatal error: cannot open source file "F2806x_Cla_typedefs.h" 1 catastrophic error detected in the compilation of "cla_task.cla". Compilation terminated.
Im using MATLAB 2014a, checkEnvSetup results in:
1. CCSv5 (Code Composer Studio) Your version : 5.5.0 Required version: 5.0 or later Required for : Code Generation TI_DIR="C:\ti\ccsv5"
2. CGT (Texas Instruments C2000 Code Generation Tools) Your version : 6.0.2 Required version: 5.2.1 to 6.0.2 Required for : Code generation C2000_CGT_INSTALLDIR="C:\ti\ccsv5\tools\compiler\c2000_6.0.2"
3. DSP/BIOS (Real Time Operating System) Your version : 5.41.11.38 Required version: 5.33.05 to 5.41.11.38 Required for : Code generation CCSV5_DSPBIOS_INSTALLDIR="C:\ti\bios_5_41_11_38"
4. XDC Tools (eXpress DSP Components) Your version : 3.25.04.88 Required version: 3.16.02.32 or later Required for : Code generation
5. 2806x C/C++ Header Files Your version : 1.20 Required version: 1.20 Required for : Code generation DSP2806x_INSTALLDIR="C:\ti\controlSUITE\device_support\f2806x\v120"
6. Flash Tools (TMS320F2806x Piccolo™ Flash API) Your version : 1.00 Required version: 1.00 Required for : Flash Programming FLASH_2806X_API_INSTALLDIR="C:\ti\controlSUITE\libs\utilities\flash_api\2806x\v100"
The installed version of controlSUITE is v3.2.7.
I inspected the folder C:\ti\controlSUITE\device_support\f2806x\v120\F2806x_common\include and discovered, that there is no file named F2806x_Cla_typedefs.h. Can i copy one of the newer versions to this folder or is there another solution?
Thanks and best regards Daniel Probst
  1 Comment
Jay
Jay on 7 Sep 2014
hi, I have similar problem, I have not used Matlab2013b with picolo launchpad c2000, I have not found target preferences block in smulink c2000 tool for f280XX , Haave you solved youtr problem and can you help me about that.. I want to use Matlan 2013b with picolo c2000 best regards

Sign in to comment.

Answers (2)

DNick
DNick on 15 Nov 2015
Hi,
This might be not relevant anymore but I've stumbled over this thread because I had the same issues.
@Daniel Probst Your Problem is here:
5. 2806x C/C++ Header Files Your version : 1.20 Required version: 1.20 Required for : Code generation DSP2806x_INSTALLDIR="C:\ti\controlSUITE\device_support\f2806x\v120"
It says that the required version is 1.20 but the required header file is available in v1.30 or later so please update your system variables path.
@Jay CLA is only supported in Matlab2014a or later. After installing the support package you'll find the target preferences and examples. Note that CLA is only available in F280 69 Piccolo devices.
Kind regards

Umesh Kumar Soni
Umesh Kumar Soni on 1 Jun 2018
i need step by step procedure to setup the TMS320F28069M launchpad for simulink. kindly tell me.

Products

Community Treasure Hunt

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

Start Hunting!