home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / ATCOM.ZIP / ATCOM.TXT
Text File  |  1992-11-27  |  8KB  |  217 lines

  1.  
  2. ****************************************************************
  3. THESE ARE INFORMATION TIPS FOR COM PORT USAGE ON AT BUS SYSTEMS
  4. ****************************************************************
  5. Installation of COM PORTS
  6. =========================
  7.  
  8. The original ISA machine (the IBM PC-AT) allowed for the
  9. definition of up to four serial communications ports.
  10. However, there has never been any hardware architectural
  11. standard that defined the I/O port addresses or Interrupt
  12. Request (IRQ) lines associated with communication ports #3 or
  13. #4.
  14. Over the years a convention was established which places the
  15. port addresses for COM3 and COM4 at 03E8 and 02E8
  16. respectively.  This is a generally accepted convention and is
  17. not a standard.
  18.  
  19. This is done by the filling in the optional parameters on the
  20. DEVICE statement for the communications device driver
  21. (COM.SYS).  Using an editor, extend the DEVICE = statement as
  22. indicated below:
  23.  
  24. DEVICE=X: OS2 COM.SYS (n,a,i) (n,a,i)
  25.  
  26. where X = the drive where OS/2 is installed
  27.  
  28. n = the Com port that you are attempting to access
  29.  
  30. a = communications port I/O address (03E8, 02E8 for example)
  31.  
  32. i = IRQ level
  33.  
  34. For example, to specify that COM3 is at address 03E8 on IRQ5
  35. and that COM4 is at address 02E8 on IRQ10 we would use the
  36. following statement (assuming that OS/2 is installed on the
  37. C:  drive):
  38.  
  39. DEVICE=C:\OS2\COM.SYS (3,3E8,5) (4,2E8,10)
  40.  
  41. Note that this syntax is actually quite general.  If we
  42. wanted to set some non-standard parameters for COM1 and COM2
  43. we could have done this as well and all within the same
  44. statement.
  45.  
  46. The I/O address and IRQ level should be noted in the
  47. documentation that came with your adapter.  Either or both
  48. might be fixed values or be settable to a range of values via
  49. jumpers or switches.  In some cases you may find that the
  50. values are fixed or that the range of settings available to
  51. you is insufficient to avoid the sharing conflict.
  52.  
  53.  
  54. TROUBLE SHOOTING:
  55. ================
  56.  
  57. SYMPTOM:  The COM port is not recognized or does not work at all
  58. ----------------------------------------------------------------
  59.  
  60. A. IF it is an AT, ISA, or EISA machine If trying to use COM
  61.    3 or COM 4:
  62.  
  63.    A.1.  Parameters in DEVICE=C: OS2 COM.SYS in CONFIG.SYS
  64.          are required
  65.  
  66.    A.2.  IRQ for COM port in OS/2 must be different for each
  67.          COM port.  DOS does not handle multiple interrupts
  68.          at the same time but OS/2 does.
  69.  
  70.    A.3.  IRQ 5 is recommended for COM3.  If IRQ 5 is taken,
  71.          IRQ 9 or 10 is recommended.
  72.  
  73.    A.4.  Reboot the system
  74.  
  75.    A.5.  If error message during boot :  COM3 not installed
  76.          because of Interrupt is aleady in use.
  77.          => Check if there is any IRQ conflict with other
  78.             device driver or hardware.
  79.  
  80.  
  81. B. If system (AT bus or MCA) boots without error but any
  82.  of the com port still not working at all
  83.  Issue a Mode command to the problem com port
  84.  => If it indicates com port not installed check
  85.     IRQ conflicts (see A.5)
  86.  => Check Mode command parameters to be correct (See MODE_CMD).
  87.  
  88.  
  89.  
  90. SYMPTOM:  Application appears to hang
  91. -------------------------------------
  92.  
  93. C. When the application is started:
  94.  
  95.    C.1.  IF an OS/2 application
  96.          => Ensure your COM port works in standalone DOS.
  97.          => Using MODE command, turn off IDSR, ODSR, and OCTS
  98.      (See MODE_CMD)
  99.          => (See SUGGESTIONS)
  100.  
  101.    C.2.  Using a DOS application
  102.          => (Start from Letter A.1 Above and work down)
  103.          => If still have problem, remove VCOM.SYS.
  104.  
  105. D. After it has been running for some time:
  106.  
  107.    D.1 Using an OS/2 application and experiencing a lot of
  108.        data loss
  109.        => Lower the baud rate
  110.        => (See SUGGESTIONS)
  111.  
  112.    D.2 Using a DOS application:
  113.  
  114.        D.2.1 A BBS communication package.
  115.              => Set COM_HOLD DOS Setting to ON
  116.              => If using a FOSSIL Driver, then
  117.                If X00.SYS  Rem VCOM.SYS in config.sys, else
  118.    If another FOSSIL Driver. Rem VCOM.SYS won't work
  119.              => If using less than 12MB of memory
  120.              => See (SUGGESTIONS)
  121.  
  122.        D.2.2 A FAX application which uses a COM port.
  123.              => Known limitation need to operate at < 9600
  124.                 bps
  125.              => Use OS/2 application for high speed fax.
  126.                 (Currently FAXPM and BitFax)
  127.  
  128.        D.2.3 An application which uses QBASIC or BASIC CTTY
  129.              => Install COMDD.SYS in C: OS2 MDOS directory
  130.  
  131.        D.2.4 Some other ASYNC application.
  132.              => Check with Chapter 5 of Readme.  Example:
  133.                 -CrossTalk for Windows needs that BUFFER=OFF.
  134.                 -Mirror III is similar to CrossTalk. BUFFER
  135.                  can be controlled with MODE command.
  136.                 -LapLink PRO, IDSR, ODSR, and OCTS of all COM
  137.                  ports must be OFF.  (See MODE_CMD)
  138.                 -LapLink III, remark out VCOM.SYS.
  139.  
  140.        D.2.5 In Auto Answer mode and a call comes in:
  141.               => Known problem APAR PJ04200.
  142.               => Remark out VCOM.SYS in Config.sys
  143.  
  144.  
  145.  
  146. SYMPTOM:  OS/2 does not detect FIFO
  147. -----------------------------------
  148.  
  149.    E.1 COM.SYS detects FIFO and utilizes it, however
  150.        VCOM.SYS only emulate as 16450 or 8250 chip and hides
  151.        FIFO from DOS app.  No performance problem is caused
  152.        by this.
  153.  
  154.    E.2 If BUFFER = N/A (not available) is concerned, MODE is
  155.         broken.
  156.  
  157.  
  158.  
  159. SYMPTOM:  The line is dropped randomly or fails to download file
  160. ---------------------------------------------------------------
  161.  
  162.    F.1 While switching sessions
  163.  =>change PRIORITY_DISK_IO in config.sys from YES to NO,
  164.    reboot. Go to F.2 below if problem continues
  165.    F.2 Without switching sessions.
  166.  => Increase idle sensitivity to 100
  167.         => If problem happenning during noticeable disk activity
  168.     add additional memory to reduce swapping.
  169.  => Try increasing DISKCACHE in config.sys (e.g. from
  170.     1024 to 2048)
  171.  
  172.  
  173.  
  174. SYMPTOM:  Slow through-put, poor performance
  175. --------------------------------------------
  176.  
  177.    G.1 Using an OS/2 application
  178.        => (See SUGGESTIONS)
  179.        => Using MODE command, turn off IDSR, ODSR, and OCTS.
  180.    (See MODE_CMD)
  181.  
  182.  
  183.    G.2 Using a DOS application
  184.        => Increase IDLE_SENSITIVITY to 100
  185.        => (See SUGGESTIONS)
  186.        Note:  Since interrupt must be simuated in VDM
  187.               session, the throughput decreases.
  188.  
  189.  
  190. MODE_CMD: Use MODE from an OS/2 Command line or DOS
  191.   command line and set IDSR, ODSR, and OCTS equal to OFF.
  192.   eg: MODE COM3:9600,N,8,1,OCTS=OFF,ODSR=OFF,IDSR=OFF
  193.   sets COM3 to 9600, no parity, 8 Data Bits, 1 Stop bit,
  194.   OCTS, ODSR and IDSR to OFF.
  195.  
  196.   If OCTS and/or ODSR are set to ON, the com port will
  197.   not transmit data unless CTS and/or DSR signal lines
  198.   are enabled. If set to OFF, the com port will transmit
  199.   regardless of the state of signal lines CTS and/or DSR.
  200.  
  201.   If IDSR is set to ON, the com port will discard the
  202.   incoming data unless DSR signal line is enabled.
  203.   If set to OFF, the port will receive data regarless
  204.   of the state of DSR.
  205.  
  206.   If any problems transmitting or receiving, set
  207.   OCTS=OFF, ODSR=OFF, IDSR=OFF to ensure that the
  208.   hardware connected to the com port is not preventing
  209.   the port from transmitting or receiving.
  210.  
  211.  
  212. SUGGESTIONS: => Increase IDLE_SENSITIVITY in DOS Settings
  213.   => Adjust the disk cache in CONFIG.SYS
  214.   => Change PRIORITY_DISK_IO from YES to NO in
  215.      Config.sys
  216.   => To reduce swapping add more memory
  217.