User`s guide

Getting Star ted with RTDX™
rx = cc.rtdx;
Creating the ticcs Objects
With your processing model converted to an executable suitable for your
desired processor, you are ready to use the objects to test and run your model
on your processor. Embedded IDE Link CC and the objects do not distinguish
the source of the executable whether you used Embedded IDE Link CC and
Real-Time Workshop, CCS IDE, or some other de ve lopment tool to program
and compile your model to an executable does n ot affect the object connections.
So long as your .
.out le is acceptable to the processor you select, Embedded
IDE Link CC provides the connection to the processor.
Note Program rtdxtutorial_6xevm.out uses the C6711. The executable is
compiled, built, and linked to run o n the C6711 processor. To use the tutorial
without changes, specify your C6711 when you dene the object properties
boardnum and procnum.
Before continuing with this tutorial, you must load a valid GEL le to
congure the EMIF registers of your processor and perform any required
processor initialization steps. Default GEL les provided by C CS are stored
in
..\cc\gel in the folder where you installed CCS software. Select File
> Load_GEL in CCS IDE to load the default GEL le that matches your
processor family, such as
init6x0x.gel for the C6x0x processor family, and
your conguration.
Begin the process of getting your model onto the processor by creating a an
object that refers to CC S IDE. Start by clearing all existing handles and
setting echo on so you see functions in the M -le execute as the program runs:
1 clear all; echo on;
clear all
has the side effect of removing debugging breakpoints
and resetting persistent variables because function breakpoints and
persistent variables are cleare d whenev er the M-le changes or is cleared.
Breakpoints within your executable remain after
clear.Clearingthe
MATLAB workspace does no t affect your executable.
2 Now construct the link to your board and processor by entering
2-27