jueves, 16 de febrero de 2012

R2011b Documentation → Embedded Coder

Estoy trabajando con MatLab R2011b y Code Composer Studio Version 3.3.38.2 y he tenido problemas al Iniciar un proyecto desde MatLab R2011b y encontre esta ayuda

http://www.mathworks.com/help/toolbox/ecoder/ref/checkenvsetup.html


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

Syntax

checkEnvSetup(ide, boardproc, action)

IDEs

This function supports the following IDEs:

  • Texas Instruments Code Composer Studio v3

  • Texas Instruments Code Composer Studio v4

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):

  • For ide, enter the IDE you want to check:

    • 'ccs' checks the setup for Code Composer Studio v3

    • 'ccsv4' checks the setup for Code Composer Studio v4

  • For boardproc, enter the name of a supported board or processor. You can get these names from the Processor option of the Custom board for TI CCS Target Preferences block, located in the idelinklib_ticcs block library. For example, enter: 'F2812', 'c5509', 'c6416dsk', 'F2808 eZdsp', 'dm6437evm'.

  • For action, enter the specific action you want this function to perform:

    • 'list' lists the required third-party tools with their version numbers.

    • 'check' lists the required third-party tools and the ones on your development system. If any tools are missing, install them. If the version numbers of the tools on your system are not high enough, update the tools.

    • 'setup' creates environment variables that point to the installation folders of the third-party tools. If your tools do not meet the requirements, the function advises you. If needed, the function prompts you to enter path information for specific tools.

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,  "")

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    : TFL 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    : TFL 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_[...]"