Table of content
This software installation guide is designed to help users successfully install the Echo/Dflex serial adapter under the QNX6 platform.
Before beginning the software installation, please be sure to read the product manual for hardware installation/configuration instructions.
To make the instructions easy to follow, all commands that have to be issued on the command line are written in bold text.
NOTE: You must be logged in as root to perform this installation
Installing the Driver
The Echo/Dflex card uses the standard serial driver under QNX6 (devc-ser8250). Therefore, you don’t need any extra drivers to install.
Command Line Arguments
devc-ser8250 [options] [port[,irq]] &
devc-ser8250: is the serial driver
[port]: is the port I/O address (in hex)
[IRQ]: is the IRQ value used by the port (in decimal)
Example: Assuming that we want to install the standard serial ports and a 4 port card installed, with an IRQ value of 10 and a starting I/0 address of 300:
devc-ser8250 -t8 3F8,4 2F8,3 300,10 308,10 310,10 318,10 &
To stop the driver:
For more command line options, issue the following commands:
# use devc-ser8250
Define initial baud rate (default 57600)
Size of canonical input buffer (default 256)
Set options to “edit” mode
Set options to “raw” mode (default)
Size of raw input buffer (default 2048)
Enable hardware flow control (default)
Disable hardware flow control
Size of output buffer (default 2048)
Enable software flow control
Disable software flow control (default)
Set serial unit number (default 1)
RS485 Mode Support
Please read the manual for the Echo/Dflex or the Xtreme cards for more information about RS485 settings/modes
Testing the Newly Installed Ports
You can perform a simple loopback test with a terminal program (i.e. qtalk) and a loopback connector to ensure that the newly installed ports are functioning.
Connect the loopback connector to the port you want to test and run qtalk. When you type a character, you should see it on the screen, which means that the port is working. If you remove the loopbackconnector, the characters that you type should not appear on the screen.
Assuming that you want to test ser1 with qtalk, run:
qtalk -m /dev/ser1