Installation Instructions

Hardware Installation
RVP8 Users Manual
September 2005
2–29
Open the connection for I/O (OPEN)
Example: “OPEN” This means switch from open for “info only” mode to open for I/O. If the
signal processor is in use by another device, you will get an error in response to this command.
Multiple clients are allowed to connect for info only, but only one can do I/O. Note that if you
run DspExport with the –803 command line option, you will get the legacy behavior which
means that every connection will automatically send the OPEN command. There is no reverse
command to switch back to open for info only. There is also no such library call in the driver.
Read Z cal information (RCAL)
Example: “ZCAL” This means read the dsp_refl_cal structure from the RVP8 machine and send
it back in an ASCII name=value pair format. This is the structure configured by zauto and by
zcal. That configuration is served out to all clients who wish to use the RVP8.
Reset Kernel FIFOs (RKFF)
Example: “RKFF|2|” This means reset the kernel FIFOs on the RVP8. The argument specifies
which direction FIFOs to reset.
Read Setup information (SETU)
Example: “SETU” This means read the dsp_manual_setup structure from the RVP8 machine
and send it back in an ASCII name=value pair format. This is the structure configured in the
RVP section of setup. That configuration is served out to all clients who wish to use the RVP8.
Write Z cal Information (WCAL)
Example: “WCAL|...”. This command writes the dsp_refl_cal structure to the RVP8 to be saved
there.
Notes on migrating from the SCSI interface
Here are suggestions for customers who are converting an existing program which used a SCSI
interface to the RVP7 to the socket interface to the RVP8. First take a look at our source code
which handles either SCSI or socket. In OpenSocket.c you can see the code which replaces the
SCSI device open call. The SCSI inquiry command is replaced by reading the string returned
after the socket is opened. The SCSI read command is replaced by the “READ|..” command.
The SCSI mode sense command is replaced by the “STAT|” command. The SCSI write
command is replaced by the ”WRIT|...” command. You should get your code working first
without using the RDAV command or using compression.
There is a significant difference between the RVP7 and RVP8 in regards to the FIFO reset
command. This is the RVP8 command 0x008C (see section 6.11). The RVP8 is unable to read
incoming commands if the output FIFO is entirely full. Therefore, if you put the RVP8 into
continuous output mode, then issue the FIFO reset command to return to interactive mode, it
may hang. We have added special dsp library support to solve this. To see how we have
handled this problem, look in the source file DspResetFifo.c.