MATLAB: C28XX embedded coder packages check

Embedded Coderembedded coder c2000 ti c28377 installation toolchain getting started project

Hello,
After some time I needed to get my older Simulink code running on target but again went through the problems with embedded coder and packages installation.
I am using Texas instrument F28377 C2000 with Code Composer Studio V6.1.3, Control Suite 6.4.2, Compiler C2000-CGT-15.12.7.LTS… I updated some packages and it all went very messy.
I am having these strange errors when trying to build:
  • Undefined function or variable 'validateC280xGPIO'. (I think I shouldnt be even using 280xGPIo and the MCU is 28XXX)
  • The selected toolchain ('Texas Instruments Code Composer Studio v6 (C2000)') is not registered.
I think it is related to support packages installation and paths.
But I dont know how to take care of the packages and whole environment. There have been some nice tutorials from Mathworks of how to install and check the state but now these are quite outdated for the C28XXX.
The problem I see is that I need to install like 4-5 SW with correct versions, with right paths and maybe right locations. With older processors there is this command: checkEnvSetup('ccsv5', 'F28035', 'check') where you can effectively check the state of the installation for the target.
I will have to set these for every newcomer to the project and handle the state of these packages. Now it is unconformable and takes hours of time to get it all work together.
I would be really grateful for some advice on how to take care of this. To have good track of installation state for my target.

Best Answer

What really helped me was to download new MATLAB version 2017b (used 2016a). It looks like with newer version of MATLAB the supportPackageInstaller installs all necessities for coding C2000. It even tells what third party tools are needed at what version (controlSuite, CCS).
Also I had problem with COMODO autocontainment during model build.
Related Question