User`s guide

run
Examples After y ou build and load a program to your processor, use run to start
execution.
cc = ticcs('boardnum',0,'procnum',0); % Create a link to CCS
% IDE.
cc.load('tutorial_6xevm.out'); % Load an executable file to the
% processor.
cc.rtdx.configure(1024,4); % Configure four buffers for data
% transfer needs.
cc.rtdx.open('ichan','w'); % Open RTDX channels for read and
% write.
cc.rtdx.enable('ichan');
cc.rtdx.open('ochan','r');
cc.rtdx.enable('ochan');
cc.restart; % Return the PC to the beginning of the current
% program.
cc.run('run'); % Run the program to completion.
This example uses a tutorial prog ram included w ith Embedded IDE
Link CC. Set your CCS IDE working directory to be the one that holds
your project les. The
load function uses the current w orking directory
unless you provide a full path name in the input arguments.
Rather than using the dot notation to access the RTDX functions, you
can create an alias to the
cc link and use the alias in later commands.
Thus, if you add the line
rx = cc.rtdx;
to the program, you can replace
cc.rtdx.configure(1024,4);
with
7-143