Chapter 8: Developing Your Application
63
Host Screen and
Keyboard
Host Floppy
Disk Drive
DSPpro Console
DSPpro Disk
DSPpro
controller
Host PC
Bus or Serial
Interface
Figure 8-2 DSPpro to Host Communications
In addition to providing console for the DSPpro, these utilities enable the DSPpro to use the host
computer’s floppy disk drive as its file system. Both RCONSOLE and REMSVR use the
DSPpro
Boot Disk
included in your distribution to provide the DOS shell to the DSPpro controller.
When the controller is reset, it first attempts to establish a communications channel with
RCONSOLE or REMSVR running on the host computer directly through the CONSOLE port on
the DSPpro-VME and DSPpro-Serial.
If neither RCONSOLE nor REMSVR is running, the card is not installed in the host computer, or
the CONSOLE connection has not been made, then the DSPpro will boot out of its flash
memory.
In order to use RCONSOLE or REMSVR, your application must make use of special-purpose C
functions provided to aid host-controller communications. These functions are provided in the
Serial and Dual-port toolkits. The following sections describe these tools.
8.2.1 Configuring Communications
All DSPpro Series controllers have the capability to communicate with the host system using two
RS-232 serial ports. The two ports, CONSOLE and COM, are used to communicate with the
host for debugging and testing purposes and for input and output communications of application
programs. Applications developed for the DSPpro can make use of these ports using the Serial
Toolkit, which provides a suite of C functions to communicate via either of the two serial ports
on the DSPpro.
In addition, board-level controllers such as the DSPpro-VME can communicate with the host
system directly over the host bus interface. Applications can use the bus interface to access the
shared memory regions of the host system using the Dual-port Toolkit. The dual-port toolkit
provides a suite of C functions to communicate with the host system using this region of shared
memory.
Both the Serial Toolkit and Dual-port Toolkit are explained in detail in the
DSPpro Release
Notes
.
When DSPpro controllers are shipped from the factory, the flash memory is preconfigured to
enable communication to the RCONSOLE or REMSVR application, as described below. Data
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com