www.gusucode.com > ecoder 案例源码程序 matlab代码 > ecoder/AutomateInteractionBetweenIDELinkAndCCSExample.m

    %% Automate Interaction Between IDE Link Component and Texas Instruments(TM) (TI) Code Composer Studio(TM) (CCS)
% Automate interaction between IDE Link component 
% and Texas Instruments(TM) (TI) Code Composer Studio(TM) (CCS) using MATLAB(R) commands.
%
% <matlab:ccstutorial Launch example>

% Copyright 2006-2016 The MathWorks, Inc.

%% Description
% The script loads and runs an application on the target DSP. To begin, the
% example asks you to choose the processor to run the example on. Your target
% selection is displayed by invoking |ccsboardinfo| and |boardprocsel|
% functions.  
%
% Through |ticcs|, you create a handle to the processor. Using this
% handle, you perform CCS IDE-specific tasks such as 
%
% * Build the CCS project 
% * Load the application
% * Run, halt, and restart the processor
%
% You can also do other operations such as
%
% * Insert and delete breakpoints 
% * Toggle the CCS IDE visibility 
%
% You can query the target for information using the methods 
%
% * |isrunning|
% * |address|
% * |info|
%
% You can access target memory and registers using the methods 
%
% * |read|
% * |write|
% * |regread|
% * |regwrite|

%% Supported Processor Families
% * C2000(TM)  (C28x(TM), C27x(TM), C24x(TM))
% * TMS470  (R1x,  R2x)

%% To Run the Example
% * At the MATLAB(R) command prompt, enter <matlab:ccstutorial |ccstutorial|>.