Difference between revisions of "Dsp cmd"

From MCEWiki
Line 1: Line 1:
{{Hierarchy header}}
+
{{Related|Communication}}
 
'''dsp_cmd''' can be used to interact with the [[PCI fibre card]] DSP program directly.  It makes screwing up the fibre card program and/or your PCI bus simple.  Use with caution.
 
'''dsp_cmd''' can be used to interact with the [[PCI fibre card]] DSP program directly.  It makes screwing up the fibre card program and/or your PCI bus simple.  Use with caution.
  
Line 47: Line 47:
  
 
[[Category:MAS]]
 
[[Category:MAS]]
 +
[[Category:PCI Card Firmware]]

Revision as of 19:14, 31 August 2016

Related topics:
Communication(2 C, 1 P)
Commanding(3 P)
PCI Card Firmware(7 P)

dsp_cmd can be used to interact with the PCI fibre card DSP program directly. It makes screwing up the fibre card program and/or your PCI bus simple. Use with caution.

Usage

dsp_cmd [-i] [-q] [-p] [-n CARD] [-f FILE | -x COMMAND]
dsp_cmd [-h | -?]

where:
 -h / -?    show this help screen
 -i         interactive mode
 -q         quiet mode (report errors only)
 -p         don't prefix output lines
 -f FILE    read commands from FILE
 -n CARD    communicate with PCI fibre card number CARD.  Ignored unless Multicard MAS has been enabled.
 -x COMMAND execute command COMMAND

Commands

COMMAND is one of (case insenstive):

  • VERS: Report the version number of the DSP code. Syntax is:
VERS
  • READ: Read data from the DSP memory banks. Syntax is:
READ bank addr
where
  • bank is the memory bank to read, one of X, Y, P
  • addr is the memory address
  • WRITE: Write data to the DSP memory banks. Syntax is:
WRITE bank addr value
where
  • bank is the memory bank to write, one of X, Y, P
  • addr is the memory address
  • value is the datum to write
  • RESET: Reset the DSP program. Similar to the dsp_reset command in mce_cmd, except the mce_cmd command also causes the kernel driver to appropriately reconfigure quiet RP mode, which this does not. So, use that instead of this. Syntax is:
RESET
  • RESET_PCI: Perform a hard-reset of the DSP. Syntax is:
RESET_PCI
  • RESET_MCE: Reset the MCE. This is entirely equivalent to the mce_reset command in mce_cmd. Syntax is:
RESET_MCE
  • QT_SET: Set a QT (quiet transfer) mode parameter. Syntax is:
QT_SET param arg0 arg1
where
  • param is the parameter to set, one of BASE, DELTA, NUMBER, INFORM, SIZE, TAIL, HEAD, DROPS, FLUSH, ENABLE, BURST, RP_BASE, RP_SIZE, RP_ENABLE
  • arg0 and arg1 are the arguments to the parameter

See also