Doc. # 1-0003187
Date Updated 05-30-2007 Date Created 07-27-2000
Document Type Knowledge Base Related OS
Related Product PCL-746+
How to do the PCL-746+ communication test on QNX environment?
Solution:
The steps to use PCL-746 card in QNX as terminal : Step 1 : config PCL-746 card as mode = enahnced mode base address = 280h IRQ = 5 Vector address = 2C0 Step 2 : execute Dev.ser in QNX # Dev.ser 280,5 288,5 290,5 298,5 & Note : 1. If QNX has loaded Dev.ser before. User must kill Dev.ser first before execute this command. Because Dev.ser is nonreenterant in QNX. 2. User can use "ps -ef" command to know whether the Dev.ser is loaded in QNX or not? 3. After execute this command. User can see four serial devices in /dev directory : (/dev/ser1 is for port 1), (/dev/ser2 is for port 2) (/dev/ser3 is for port 3), (/dev/ser4 is for port 4) Step 3 : set PCL-746 card port 1 as terminal : # tinit -t /dev/ser1 & When Step 3 is finished. The configuration in QNX is ok. User should prepare another computer or terminal to test this setting. The below steps are how to set a computer as terminal : S 1 : In dos system, run a terminal software, for instance, telix.exe) S 2 : In terminal software (telix.exe), set settings to COM1,9600,n,8,1. S 3 : connect COM1 with PCL-746 card port 1 (as RS-232) DOS COM1 QNX PCL-746 port 1 2 TX <----------------> RX 3 3 RX <----------------> TX 2 5 CTS <----------------> RTS 4 4 RTS <----------------> CTS 5 20 DTR <----------------> DSR 6 6 DSR <----------------> DTR 20 7 GND <----------------> GND 7 After S 3 is finished. User can login the QNX system in this terminal software (telix.exe) for testing.