MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guida Utente Pagina 35

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 575
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 34
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 le into the
processor, no t after you build a program le.
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 le listing in the CCS IDE Project view window ,
thereshouldbeale named
ccstut.c. Embedded IDE Link CC ships this
le with the tutorial and includes it in the project.
2-13
Vedere la pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 574 575

Commenti su questo manuale

Nessun commento