Motorola DSP56800 Uživatelská příručka Strana 251

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 446
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 250
Debugging for DSP56800E
Command-Line Debugging
251Targeting MC56F83xx/DSP5685x Controllers
Prototype
hsst_o[pen] channel_name
Example
Open a channel and set the returned ID to the variable $cid:
set cid [hsst_open ochannel1]
hsst_read
Use the hsst_read debugging command to read data from an opened
communication channel.
Prototype
hsst_r[ead] size nmemb cid
Example
Read 15 data items (each 1 byte in length) from the channel identified by the variable
$cid:
puts [hsst_read 1 15 $cid]
The debugger returns and displays the data.
hsst_write
Use the hsst_write debugging command to write data to an opened
communication channel.
Prototype
hsst_w[rite] size data cid
Example
Write 0x1234 as 2 bytes of data to the channel identified by the variable $cid:
Zobrazit stránku 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 445 446

Komentáře k této Příručce

Žádné komentáře