User`s guide
Getting Started with Automation Interface
4 To determine the memory address of the global symbol ddat,enterthe
following command at the p rompt:
ddata = address(cc,'ddat')
ddata =
1.0e+009 *
2.1475 0
Your values for ddata may be different de pe nding on your processor.
Note The symbol table is available after you load the program file into the
processor, no t after you build a program file.
5 To convert ddata to a hexadecimal string that contains the m em ory address
and memory page, enter the following comm and at the prompt:
dec2hex(ddata)
MATLAB software displays the following response, where the memory page
is
0x00000000 and the address is 0x80000010.
ans =
80000010
00000000
Work ing with Projects and Data
After you load the proce ssor code, you can use Embedde d IDE Link CC
functions to examine and modify data values in the processor.
When you look at the source file listing in the CCS IDE Project view window ,
thereshouldbeafile named
ccstut.c. Embedded IDE Link CC ships this
file with the tutorial and includes it in the project.
2-13