Comtrol QNX 4.xx User Manual
Page 3

• Starts Dev32.rckt for any number of RocketPort PCI
cards at 115200 baud.
Dev32.rckt -b 115200 &
Resolving Installation Problems
If installation fails or you are trying to resolve a
problem, you should try the following before calling the
Comtrol technical support line:
• Check the signals between your peripherals and the
interface box to verify that they match (if applicable).
See the appropriate Hardware Reference Card for
information.
• Check to make sure the cables are connected
properly.
• Reseat the card in the slot.
• Make sure that the expansion slot screw was
replaced after inserting the card.
• Check for possible I/O address conflicts using the
following table.
If you have not been able to get the card operating:
1. Turn off your PC and insert the diagnostic diskette.
2. Boot the PC and following the instructions provided
by the diagnostic diskette.
Software Sample Code
The QNX system calls: open, close, works for opening
and closing ports, and tcsetattr sets the stty settings
for the port.
System calls: read and write also work. These are the
same calls that you would use for standard ports. There
are no special calls needed for the RocketPort, it is
treated and manipulated similar to standard ports.
Please refer to your QNX manuals for information about
QNX function calls or locate the QNX web page where
they have free sample software:
http://www.qnx.com.
Software & Hardware Buffers
The RocketPort card has a 1,024 byte hardware queue
for input data, and a 256 byte hardware queue for
output data. This is on a per port basis.
The 1K byte input queue buffer is adequate and works
well in most cases. The hardware performs RTS/CTS
flow control. The output buffer is smaller and might be a
problem for some programs.
An additional software buffer on the output helps ease
this problem. (The QNX driver employs a 2K
intermediate buffer). Software buffers do have a cost,
you pay a penalty of an increase in RAM required by the
driver as well as additional overhead required to shuffle
data in and out of it. Also, the addition of a software
buffer requires polling in order to move data from the
software buffer to the hardware buffer. This requires
either a dedicated IRQ or a hook into the system timer.
(The QNX driver responds to a Transmit Buffer Empty
(TBE) interrupt so no polling is required for continuous
transmission).
Technical Support
Before you place a technical support call to Comtrol,
please make sure that you have the following
information.
• Card type
• Connector type
• I/O address selections
• OS type and release
• Driver release number (to verify, enter sin ver)
• PC make, model, & speed
• List of other devices in the
PC
with addresses
After you have gathered this information, contact
Comtrol using one of the following methods.
Comtrol Headquarters
Phone: (612) 631-7654
FAX: (612) 631-8117
Email: [email protected]
Web site: http://www.comtrol.com
FTP site: ftp.comtrol.com
telnet: www.comtrol.com (or telnet 204.73.219.7)
Comtrol Europe
Phone: +44 (0)1869 323220
FAX: +44 (0)1869 323211
Email: [email protected]
Web site: http://www.comtrol.co.uk
Copyrights and Trademarks
First Edition, March 26, 1998
Copyright © 1998 Comtrol Corporation
All Rights Reserved
Comtrol Corporation makes no representations or
warranties with regard to the contents of this reference
card or to the suitability of Comtrol products for any
particular purpose.
Comtrol and RocketPort are trademarks of Comtrol
Corporation. QNX is a registered trademark of QNX
Software Systems, LTD.
Other product and company names mentioned herein
may be the trademarks of their respective owners.
6523D