home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-1.iso / CDROM / READMEs / Peanuts-3 / i486 / serial / HayesESP_Driver.0.2.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  4.4 KB  |  121 lines

  1. ====================================================
  2.  
  3.         HayesESP driver v0.2 for NFIP 3.3(J)
  4.             Masato Asanuma <asa@comet.sds.co.jp>
  5.  
  6. ====================================================
  7.  
  8. This driver is for ESP, which is a Hayes' communication accelarator board.
  9. By using this driver, you could reach a commmunicating rate above 115.2kbps
  10. just with serial port, without any byte mistransfering or byte missing or
  11. anything like that. 
  12.  
  13. This driver really is the one of the best choices for those who are going 
  14. to do some high speed communication on NFIP with an unexpensive TA, which 
  15. is exchangeble between synchronism and unsynchronism and has been provided
  16. by some venders. 
  17.  
  18.  
  19. * ESP driver:
  20.  
  21. This driver does not work by itself, it has to be used in the company of
  22. Mux driver. This is because of the following facts. ESP board is run by 
  23. enhanced mode. But the enhanced is initialized by the driver. And the Mux
  24. driver carrys out actual serial control.
  25.  
  26. This driver does not impose any infulence on non-ESP serial port, so the
  27. standard serial port could be used as well.
  28.  
  29.  
  30. * Usage with an original serial driver:
  31.  
  32. Unfortunately, an original serial driver does not work. This is because that 
  33. in 16550 enhaced mode the driver hangs up for some unknown reason and that 
  34. without source code the patch could not be made. In this point of view, it
  35. is not recommended to use an original serial driver. And some attention should
  36. be payed to the following fact that with a serial mouse being active, Mux 
  37. driver is not supported.
  38.  
  39.  
  40. * Patching Mux driver:
  41.  
  42. In order to make baud rate to a higher rate without losing the 16550
  43. compatibity, the ESP driver defaultly make baud rate be eight times of
  44. its set one. So, if baud rate is set to be 14.4kbps, the actual rate will
  45. be 14.4k * 8 = 115.2kbps. In another words, if you would like to have 
  46. 115.2kbps to commmunicate, you are supposed to set baud rate to be 14.4kbps.
  47. As for Mux driver it is possible to set baud rate by the above way. In
  48. case of that this kind of setting is not available with some applications,
  49. a change should be made with the baud rate in the Mux driver so that the 
  50. 14.4kbps rate could be reached with some setting for baud rate. For example,
  51. by searching "B2400" in Mux.m file, we could find the following line.
  52.  
  53.      case B2400:     speed = 2400;  break;
  54.  
  55. first make a change from speed = 2400 to speed = 14400, that is,
  56.  
  57.         case B2400:     speed = 14400;  break;
  58.  
  59. then recompile the source file. After that, the baud rate is 14.4kbps if 
  60. baud rate is set to be 2400bps. Of course this could be done with other 
  61. baud rates.
  62.  
  63.  
  64. * Installation:
  65.  
  66. To install the ESP driver, the original serial driver has to be erased first.
  67. Then install Mux driver and the ESP driver.
  68. The ESP driver does nor use interrupt and DMA. Port address should be selected
  69. through setting the jumper on the ESP board and its default is set to be 0x180.
  70.  
  71.  
  72. * What is the ESP board ?
  73.  
  74. The ESP has the following charactristics:
  75. 1. ISA-bus;
  76. 2. with 16550 enhanced mode;
  77. 3. DTE rate able to be set up to 921.6kbps;
  78. 4. with two 1Kbyte buffers,  one for transfering, the other for receiving;
  79. 5. automatic control of HardFlow.
  80. So it is nice and suitable for high speed communication.
  81.  
  82.  
  83. * Bundled tools:
  84.  
  85. There is an utility named chbaud in tool directory. Compile it with make 
  86. command. It is this utility that change the multiplier to baud rate to 
  87. 8 to default. The multiplier should be changed to 1 when baud rate is
  88. a fixed one in receiving under NXFax or uucp. Even when the multiplier
  89. is 1, the buffers and auto HardFlow are effective.
  90.  
  91.  
  92. Usage of chbaud:
  93.  
  94. This is done by the following commnd.
  95.     chbaud [n]
  96. where n takes a value from  0, 1, 2, 3. 
  97. when n is omitted, it shows the current multiplier. when n is set, the
  98. multiplier will be changed accordingly. 
  99.         0 - baud rate x1
  100.         1 - baud rate x2
  101.         2 - baud rate x4
  102.         3 - baud rate x8
  103. In any cases, this could only be done by a super user. 
  104.  
  105.  
  106. * Cables:
  107.  
  108. An extanded cable might work and there is nothing wrong with the rate of
  109. 115.2kbps. But with the rate of 460.8kbps, byte mistransfering happens from
  110. time to time. Though It is not certain which causes the trouble, TA or cable,
  111. it might be a good idea using a good cable.
  112.  
  113.  
  114. * Uncertified things:
  115.  
  116. There are other two types of ESP board, one with two ports, the another with 
  117. eight ports. If they work or not has not been certified. As for NXFax, the 
  118. same thing can be said, but in most cases, it does not work with a multiplier
  119. 8 to baud rate.
  120.  
  121.