Changing block diagram/ccs settings

조회 수: 8(최근 30일)
Rafael Vitorino da Silva
Rafael Vitorino da Silva 2016년 6월 16일
답변: Brian McKay 2016년 6월 16일
I am trying to run the example 'Permanent Magnet Synchronous Motor Field-Oriented Control' (on TI F28027 LaunchPad with a BOOSTXL-DRV8301 booster pack) but I am facing the following error:
"Error encountered while executing PostCodeGenCommand for model 'c28027pmsmfoc_ert': The model is using Texas Instruments Code Composer Studio v5 (C2000) toolchain, but your support package is not set up to use that toolchain. To configure this toolchain, type 'targetupdater' in MATLAB"
Is there a way of changing the model settings to run with ccs v6?
The current settings on the matlab is: 1. CCSv5 (Code Composer Studio) Your version : 6.1.0 Required version: 5.0 or later Required for : Code Generation TI_DIR="C:\ti\ccsv6"
2. CGT (Texas Instruments C2000 Code Generation Tools) Your version : 5.12.1 Required version: 5.2.1 to 6.0.2 Required for : Code generation C2000_CGT_INSTALLDIR="C:\ti\ccsv6\tools\compiler\ti-cgt-c2000_15.12.1.LTS"
3. DSP/BIOS (Real Time Operating System) Your version : 5.42.01.09 Required version: 5.33.05 to 5.41.11.38 Required for : Code generation CCSV5_DSPBIOS_INSTALLDIR="C:\ti\bios_5_42_01_09"
4. XDC Tools (eXpress DSP Components) Your version : Required version: 3.16.02.32 or later Required for : Code generation
5. 2802x C/C++ Header Files Your version : 2.30 Required version: 2.20 Required for : Code generation DSP2802x_INSTALLDIR="C:\ti\controlSUITE\device_support\f2802x\v230"
6. Flash Tools (TMS320F2802x Piccolo™ Flash API) Your version : 2.01 Required version: 2.01 Required for : Flash Programming FLASH_2802X_API_INSTALLDIR="C:\ti\controlSUITE\libs\utilities\flash_api\2802x\v201"
thanks,

답변(1개)

Brian McKay
Brian McKay 2016년 6월 16일
Try typing targetupdater at the MATLAB command line, select C2000, and select CCSv6 to reconfigure.
-Brian

태그

Community Treasure Hunt

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

Start Hunting!

Translated by