Motorola DSP56800 Guide de l'utilisateur Page 251

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 446
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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:
Vue de la page 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 445 446

Commentaires sur ces manuels

Pas de commentaire