How to configure matlab to recognize TI C2000 hardware support tools

I have tried to install the TI hardware support software in order to write some code for a TMS320F28069 using Matlab but it doesn't recognize my compiler.
Also watched and followed the instructions on the video: https://www.youtube.com/watch?v=7ed1NLD817s
I've used the targetupdater command and followed the instructions several times. I've used the xmakefilesetup and ensure everything is pointing to the right place. Every time I run the checkEnvSetup command I get the following results:
My system:
MCU TMS320F28069
Matlab R2013b
CCS v5.5.0
bios_5_42_01_09
TI CGT c2000 v5.2.15
perhaps I have the directories in the wrong place? where can I configure matlab to point to the right directory locations?
Thanks for your time and help
Kind regards.

Answers (1)

Hi Luke,
You should point the 3rd party software directory to the location where library for the hardware is located. In this case the CCS folder.
Regards, Peeyush Pashine Engineer in MathWorks

3 Comments

Hi Peeyush and thanks for your reply, how do I do this? I am also getting an error when trying to validate the toolchain:
Simulink Preferences>Configuration Defaults>Code Generation>General Tab>Build process>Toolchain settings>Toolchain This option is set to: Texas Instruments Code Composer Studio v5 (2000)
When pressing "Validate..." I get this messages:
************************************************************************* Validation Report for: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows)
Toolchain Validation Result: Passed
Validation report:
### Validation of build tool "C2000 Assembler"
Checking for existence of path: $(TI_TOOLS)
C2000 Assembler: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: cl2000
C2000 Assembler: Unable to validate '$(CCSV5INSTALLDIR)\bin\cl2000.exe'. It contains unresolved macros.
### Validation of build tool "C2000 C Compiler"
Checking for existence of path: $(TI_TOOLS)
C2000 C Compiler: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: cl2000
C2000 C Compiler: Unable to validate '$(CCSV5INSTALLDIR)\bin\cl2000.exe'. It contains unresolved macros.
### Validation of build tool "C2000 Linker"
Checking for existence of path: $(TI_TOOLS)
C2000 Linker: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: cl2000
C2000 Linker: Unable to validate '$(CCSV5INSTALLDIR)\bin\cl2000.exe'. It contains unresolved macros.
### Validation of build tool "C2000 C++ Compiler"
Checking for existence of path: $(TI_TOOLS)
C2000 C++ Compiler: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: cl2000
C2000 C++ Compiler: Unable to validate '$(CCSV5INSTALLDIR)\bin\cl2000.exe'. It contains unresolved macros.
### Validation of build tool "C2000 C++ Linker"
Checking for existence of path: $(TI_TOOLS)
C2000 C++ Linker: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: cl2000
C2000 C++ Linker: Unable to validate '$(CCSV5INSTALLDIR)\bin\cl2000.exe'. It contains unresolved macros.
### Validation of build tool "C2000 Archiver"
Checking for existence of path: $(TI_TOOLS)
C2000 Archiver: Unable to validate '$(CCSV5INSTALLDIR)/bin'. It contains unresolved macros.
Checking for tool command: ar2000
C2000 Archiver: Unable to validate '$(CCSV5INSTALLDIR)\bin\ar2000.exe'. It contains unresolved macros.
### Validation of build tool "MEX Tool"
Checking for existence of path: $(MATLAB_BIN)
Passed.
Checking for tool command: mex
Passed.
### Validation of build tool "Download"
Checking for existence of path: $(TARGET_SCRIPTINGTOOLS_INSTALLDIR)/bin
Download: Unable to validate '$(CCSV5SCRIPTINGDIR)/bin'. It contains unresolved macros.
Checking for tool command: dss.bat
Download: Unable to validate '$(CCSV5SCRIPTINGDIR)\bin\dss.bat'. It contains unresolved macros.
### Validation of build tool "Execute"
Skipped. "Execute" build tool "$(PRODUCT)" cannot be validated.
### Validation of build tool "GMAKE Utility"
Checking for existence of path: %MATLAB%\bin\win64
Passed.
Checking for tool command: gmake
Passed.
### Checking for undeclared macros ...
Passed.
*************************************************************************
I am guessing this is a related issue?
Thanks in advance for your kind help.
Hi Luke, I am facing the same issues with my setup, I am using CCS V6. Did you manage to resolve your issues? If so then how did you go about resolving it. Many thanks, Ether
same problem here with CCS6 I also create a new toolchain for CCS6 based on CCS5 with xmakefilesetup but the model .slx config do not see it, it keeps asking for CSS5...

Sign in to comment.

Asked:

on 26 Feb 2015

Commented:

on 11 Nov 2015

Community Treasure Hunt

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

Start Hunting!