DCH Commands 

#


Use the DCH commands to view statistics and configure protocol version and enabled message types.
For more information about DCH, see the DCH overview.
Commands | Description |
|---|---|
Get statistics about packets that have passed through DCH. | |
Select DCH message types and DCH protocol version. |
dch info#
Get statistics about packets that have passed through DCH.
Command Line Syntax
$ dch info
Command Line Example
$ dch info ------ Data Channel Statistics ------ AEM sent packets : 1070 packets AEM skipped buffers : 1 buffers PCS skip count : 0 samples PCS sent count : 0 buffers PCS overflow : 0 buffers PCS buffer status : 0 of max 252 samples EXC skip count : 0 samples EXC sent count : 0 buffers EXC overflow : 0 buffers EXC items : 0 of max 337 samples DCH sent bytes : 1708590 bytes DCH skipped bytes : 0 bytes DCH Sent : 1075 packets DCH Timeouts : 0 errors DCH Partial sends : 0 errors DCH Pipe full : 0 errors DCH Other Errors : 0 errors VUART sent upstream : 0 bytes VUART skip upstream : 0 bytes VUART sent downstream : 0 bytes VUART skip downstream : 0 bytes VUART RTT errors : 0 errors Logic Analyzer sent packets : 5 packets
dch message#
The command supports two subcommands:
Set the DCH protocol version: Accepts version numbers 2 or 3.
Set the DCH message type: Supports the following types:
aem(Advanced Energy Monitor),exc(exception),pcs(Program Counter sample),pti(Packet Trace interface), andlogic(logic analyzer).
Command Line Syntax
$ dch message $ dch message version [versionNumber] $ dch message <messageType> <enable/disable>
Command Line Examples
$ dch message Message version : 3 Messages enabled : aem logic $ dch message aem enable Message type aem is enabled. $ dch message version 3 Current version = 3