Skip to Main Content Skip to Search
Product Documentation

checkEnvSetup - Configure your coder product to interact with Code Composer Studio

Syntax

checkEnvSetup(ide, boardproc, action)

IDEs

This function supports the following IDEs:

Description

Before you use ticcs for the first time, use the checkEnvSetup function to check for third-party tools and set environment variables. Run checkEnvSetup again whenever you configure CCS IDE to interact with a new board or processor, or upgrade any of the related third-party tools.

The syntax for this function is: checkEnvSetup(ide, boardproc, action):

If you omit the action argument, the method defaults to 'setup'.

If action is 'list' or 'check', you can assign the third-party tool information to a variable instead of displaying it on the MATLAB command line. When action is 'setup', the statement does not return an output argument.

Examples

To see the required third-party tools and version information for your board, use 'list' as the action argument:

>> checkEnvSetup('ccs', 'F2808 eZdsp', 'list')

1. CCS (Code Composer Studio)
   Required version: 3.3.82.13
   Required for    : Automation and Code Generation

2. CGT (Texas Instruments C2000 Code Generation Tools)
   Required version: 5.2.1
   Required for    : Code generation

3. DSP/BIOS (Real Time Operating System)
   Required version: 5.33.05
   Required for    : Real-Time Data Exchange (RTDX)

4. Flash Tools (TMS320C2808 Flash APIs)
   Required version: 3.02
   Required for    : Flash Programming
   Required environment variables (name, value):
   (FLASH_2808_API_INSTALLDIR,  "<Flash Tools (TMS320C2808 Flash APIs) installation folder>")

To compare your versions of the tools with the required versions. Use 'check' as the action argument:

checkEnvSetup('ccs', 'c6416', 'check')
 
1. CCS (Code Composer Studio)
   Your version    : 3.3.38.2
   Required version: 3.3.82.13
   Required for    : Automation and Code Generation

2. CGT (Code Generation Tools)
   Your version    : 6.0.8
   Required version: 6.1.10
   Required for    : Code generation

3. DSP/BIOS (Real Time Operating System)
   Your version    : 
   Required version: 5.33.05
   Required for    : Code generation

4. Texas Instruments IMGLIB (TMS320C64x)
   Your version    : 1.04
   Required version: 1.04
   Required for    : CRL block replacement
   C64X_IMGLIB_INSTALLDIR="E:\apps\TexasInstruments\C6400\imglib_v104b"

Finally, set the environment variables your coder product requires to use the CCS IDE and generate code for your board. Use 'setup' as the action argument, or omit the action argument:

checkEnvSetup('ccs', 'dm6437evm')
  
1. Checking CCS (Code Composer Studio) version
   Required version: 3.3.82.13
   Required for    : Automation and Code Generation
   Your Version    : 3.3.38.13

2. Checking CGT (Code Generation Tools) version
   Required version: 6.1.10
   Required for    : Code generation
   Your Version    : 6.1.10

3. Checking DSP/BIOS (Real Time Operating System) version
   Required version: 5.33.05
   Required for    : Code generation
   Your Version    : 5.33.05

4. Checking Texas Instruments IMGLIB (C64x+) version
   Required version: 2.0.1
   Required for    : CRL block replacement
   Your Version    : 2.0.1
   ### Setting environment variable "C64XP_IMGLIB_INSTALLDIR" 
   ### to "E:\apps\TexasInstruments\C64Plus\imglib_v201"

5. Checking DM6437EVM DVSDK (Digital Video Software Developers Kit) version
   Required version: 1.01.00.15
   Required for    : Code generation
   Your Version    : 1.01.00.15  
  ### Setting environment variable "DVSDK_EVMDM6437_INSTALLDIR" to "C:\[...]"
  ### Setting environment variable "CSLR_DM6437_INSTALLDIR" to "C:\dvsd[...]"
  ### Setting environment variable "PSP_EVMDM6437_INSTALLDIR" to "C:\dv[...]"
  ### Setting environment variable "NDK_INSTALL_DIR" to "C:\dvsdk_1_01_[...]"
  
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS