home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / apple2 / 23579 < prev    next >
Encoding:
Text File  |  1992-11-08  |  14.4 KB  |  324 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!news.iastate.edu!irsman
  3. From: irsman@iastate.edu (That Ian Guy)
  4. Subject: ATTENTION high-speed modem users!
  5. Message-ID: <BxDGBD.9vL@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. Date: Sun, 8 Nov 1992 00:35:37 GMT
  9. Lines: 313
  10.  
  11. This is being posted on behalf of Brendan Hoar:  reply to him please, not me!
  12.  
  13. From: Brendan Hoar <Brendan_Hoar@notes.pw.com> or <BrendanHr@aol.com>
  14.  
  15. Hi folks!
  16.  
  17. I would have posted this myself, except its too big to mail from AOL
  18. (the mail buffer is too small).
  19.  
  20. Hey, anyone remember my CTS problems I was complaining about before?
  21.  
  22. 11/07/92 - First publically released draft (aka Draft 3)
  23.  
  24. Notes: This is a preliminary version of this file.  I am releasing
  25. this for comments.  I would recommend NOT following the instructions
  26. below until general reaction is positive.  I also have not tested to
  27. see if this modification affects the use of AppleTalk over the modem
  28. port - from what I understand, it should not affect it.
  29.  
  30. I WILL be following this thread as best as I  can.
  31.  
  32. Also, Greg Schaefer (of InSync Software) has no relation to those of
  33. us at The TFSP Bar & Grill, except that many of us use his way-cool &
  34. totally-awesome telecom program called ProTERM 3.0 (if you haven't
  35. bought it yet, BUY IT!).  He has been amazingly helpful in helping us
  36. track down the problem and I'm still amazed that he has figured out a
  37. software work-around for PT3.
  38.  
  39. Also, all references to 'GS' mean 'Apple IIgs' and not 'Greg
  40. Schaefer'.  Jerry wanted me to point this out...  :)
  41.  
  42. ---
  43.  
  44. Have an Apple IIGS? Have a high speed modem? Do you use the GS modem
  45. port? If so, read on...
  46.  
  47. *******************   WARNING   *******************
  48.  
  49. Warning: This file/message contains instructions on how to do a
  50. hardware modification to the Apple IIGS.  If you are not well versed
  51. in the art of carefully soldering parts directly to the leads of TTL
  52. chips with a low wattage soldering iron/pencil, please DO NOT ATTEMPT
  53. THIS.  Neither I, nor TFSP Systems, nor the owner of The TFSP Bar &
  54. Grill will be held responsible for any damage you may inflict on your
  55. GS.  And this means you, Tae!
  56.  
  57. And, no, my name is NOT Deathbringer, and this is NOT a way to upgrade
  58. 2400 bps modems to 9600 bps modems using a soldering iron,
  59. potentiometers, and a blank EPROM...
  60.  
  61. With that said...
  62.  
  63. I purchased ProTERM 3.0 approximately about the time it was released
  64. onto the market more than a year ago.  In December of last year, I
  65. also bought (for Xmas, for myself!) a ZyXEL U-1496E high speed modem.
  66. I also obtained a 'Mac 9600 baud (sic) modem cable', which matches the
  67. pinouts given in the PT3 manual, and an inline RS-232 monitor.  I had
  68. a lots of fun finding bugs in ProTERM 3.0, reporting them, obtaining
  69. the fixes (which had usually already been done by the time I reported
  70. the bug...), etc. I was checking the InSync BBS at least a few times a
  71. week, so I always had/have the newest drivers, bug-fixes, updates and
  72. add-ons to ProTERM 3.0.
  73.  
  74. If I were less of a software leech, I would have run into this odd
  75. problem sooner, but I hardly ever upload.
  76.  
  77. To make a long story short(er): About a month or so back, I was
  78. attempting to upload files to a local UNIX host with my port set at
  79. 19,200.  Using PT3's Zmodem, I noticed that even though I was using
  80. the 'Apple IIGS modem port driver (GS/OS)' and the Okidata 9600
  81. (RTS/CTS) driver, the state of the CTS signal was being ignored when I
  82. uploaded and PT3 would continue to stream until a ZRPOS was received.
  83. This caused a massive loss of xfer throughput.  Both the light on the
  84. ZyXEL and the light on the RS-232 monitor were showing that the signal
  85. was going low.
  86.  
  87. What's wrong???  :(
  88.  
  89. With the assistance of Greg Schaefer, I was able to prove to our
  90. satisfaction that neither the modem nor the cable was at fault.  I
  91. then decided I'd try the same software installation (on a floppy) on
  92. both my GSs with the same modem and same cable.  My OTHER GS worked
  93. fine.  ARGH!
  94.  
  95. With the help of Scott Sidley (beta@gnh-tap.cts.com) and an
  96. oscilloscope borrowed from his work, we were able to prove that the
  97. signal was actually getting to the Zilog on all the machines.  We
  98. didn't pay too much attention to the quality of the signal at that
  99. time, unfortunately.
  100.  
  101. At this point, I had tried the experiment on many different GSs.  Some
  102. worked, some did not.  There was no correlation to ROM version or
  103. Motherboard Revision Number or SCC manufacturer or Zilog (SCC)
  104. month/year stamp or Zilog (SCC) mask number.
  105.  
  106. Greg hacked up a serial driver that, instead of reacting to CTS,
  107. simply masked the rest of the SCC status byte out and simply put the
  108. status of the CTS signal in the PT3 status bar as a text character.
  109.  
  110. Result: On GSs that worked correctly with CTS, the inverse ' ' changed
  111. to an inverse '@' whenever CTS went low and stayed that way until it
  112. went high again.  On GSs that did NOT work correctly with CTS, the
  113. character pulsed (flickered?) between inverse ' ' and inverse '@' at a
  114. relatively high frequency whenever CTS went low.  Uh-oh.
  115.  
  116. Notes for non-techies:
  117.   When the modem has CTS high, the SCC's CTS (aka HSKi) signal input
  118. is low.  When CTS goes low, the SCC's signal input is supposed to go
  119. high (and stay high).  How much do you want to bet that testing of the
  120. modem port CTS signal was never done in Apple's motherboard tests?
  121.  
  122. After lots more experimenting, we found that it was NOT the SCC chip
  123. that was at fault, but rather, the chip at position UC16 (on a ROM01),
  124. a 26LS32 inverting buffer that drives the SCC chips CTS and TRCxB
  125. pins.  On the original two test GSs the chip at position UC16 on the
  126. GS that did not work was a Motorola 26LS32, while the chip at position
  127. UC16 on the GS that did work was a Fairchild 26LS32. Lights flashed
  128. everywhere (ding, ding, ding!) as we checked each available test GS
  129. for the brand of 26LS32 and discovered that the four GSs that did not
  130. track CTS properly ALL had a Motorola 26LS32 in position UC16.  The
  131. two GSs that tracked CTS properly had either a Fairchild or Advanced
  132. Micro Devices 26LS32. We have access to two more GSs that have Texas
  133. Intstruments 26LS32, however, those have not been fully tested.  Armed
  134. with the possibilty that it was a chip problem we now had to determine
  135. what the actual problem was in the Motorola 26LS32's.  Thanks to the
  136. loan of a Techtronics Oscilloscope we were able to look at the signals
  137. coming from the 26LS32 to the Z8530.  When looking at a Motorola
  138. 26LS32 the inverted CTS signal was not sufficiently high (not
  139. asserted) in respect to normal TTL signal levels as the signal trace
  140. clearly showed three distinct levels during the tests.  When CTS was
  141. asserted by the modem the inverted CTS signal at the output of the
  142. Motorola 26LS32 was about +.1V (nearly GROUND, as it should have
  143. been), however, when CTS was not asserted by the modem the inverted
  144. CTS signal at the output of the Motorola 26LS32 was oscillating from
  145. +1.2V to +3.5V.  This oscillation showed that the CTS signal being
  146. tracked by the Z8530 was not correct.  The CTS signal was either
  147. asserted or not asserted, which state would of course depend on the
  148. actual time the Z8530 sampled the CTS signal.  Since the Z8530 is
  149. designed to do Syncronous handshaked Communcations at up to 1 Million
  150. Bits per second, the oscillating CTS signal was probably tracked
  151. correctly by the Z8530, however, the CTS signal was still allowing the
  152. Z8530 to send chars at nearly full speed (we were at 57600 bps for the
  153. tests).
  154.  
  155. The signal output from the 26LS32 is tied to both the CTS and TRxB
  156. pins on the Z8530, both CTS and TRCxB can be programmed as input or
  157. output pins.  It is our assertion that the serial clock that may be
  158. programmed to be output on the TRCxB pin is bleading thru and this is
  159. the source of the oscillating signal.  The Motorola 26LS32 does not
  160. seem to have a good internal PULL-UP to +5V so the "noise" signal that
  161. is bleeding through is able to pull the CTS signal down towards ground
  162. (+0V) enough that the Z8530 sees CTS as being asserted, even though it
  163. is not being asserted.
  164.  
  165. All GSs that we have found to contain Motorola 26LS32 buffer chips (4
  166. out of 8 GSs that we have access to), CTS is not tracked correctly on
  167. the modem port. In all GSs which have other manufacturers' chips, such
  168. as Fairchild or AMD buffer chips, CTS is correctly tracked.
  169.  
  170.  
  171. --- Solutions ---
  172.  
  173. Greg Schaefer's proposed SOFTWARE solution: He is working on a ProTerm
  174. 3.0 driver that 'samples' CTS and delays for a while when CTS is
  175. detected low.  Due to the buffering nature of high speed modems, this
  176. should cause no noticeable performance hit.
  177.  
  178. Note: This feature will be only available via the 'Apple IIGS Modem
  179. Port Driver (GS/OS)' which samples CTS manually.  The other driver,
  180. 'Apple IIGS Modem Port Driver', uses the SCC's interrupts to detect a
  181. CTS transition, and since the SCC isn't getting a correct signal, it
  182. won't work.
  183.  
  184. Solution in detail: When CTS is first detected low (at this point, on
  185. average, only a couple of characters will have gone through and will
  186. have been buffered by the modem since it puts CTS low BEFORE the modem
  187. buffer is full), PT3 will loop for 1/60th of a second and neither
  188. check CTS nor transmit characters.  Then PT3 will sample CTS for
  189. 1/60th of a second (Greg said that was either 200 or 1000 samples - I
  190. can't remember!).  If ANY of them show CTS as down, PT3 will go back
  191. to delaying and checking, otherwise it'll continue 1:1 transmitting
  192. and sampling until CTS goes low again.  Since, on the average, CTS was
  193. being read 50% of the time correctly on the 'bad' GSs, this should
  194. work perfectly.
  195.  
  196.  
  197. tfsp Systems HARDWARE solution:
  198.  
  199. *******************   WARNING   *******************
  200.  
  201. Do this at your own risk and only if you have the EXPERIENCE and skill.
  202.  
  203. Dangerous and risky unless you can handle it!
  204.  
  205. You have been warned.
  206.  
  207. This has been performed on 2 Apple IIgs's by tfsp Systems technician
  208. Scott Sidley.
  209.  
  210. First, check to make sure that UC16 is REALLY a Motorola chip (it will
  211. have an M with a circle around it on the second line at the
  212. beginning).
  213.  
  214. Obtain
  215.  
  216. 2+ - 470 ohm resistors 
  217. 2+ - 220 ohm resistors 
  218. 1 - 15 watt soldering
  219. pencil 
  220. 1 - roll of appropriate solder (63/37 fine is best, but 60/40
  221. fine will do) 
  222. 1 - pair of clippers for clipping the resistors leads,
  223. or something similar.  
  224. 1 - The latest set of PT3 update files
  225. (PT3.CODE0 being the most important!)  from the InSync BBS.  If the
  226. PT3.CODE0 is later than 22-SEP-92, then it may already have the
  227. software fix in it.  Don't get it, yet!  If you already have it, then
  228. use the non-'(GS/OS)' driver instead for testing.
  229.  
  230. Set up a ProTERM 3.0 3.5" disk with those files and your dial list.
  231. Make sure that the modem driver you are using has '(RTS/CTS)' at the
  232. end of its title.  Otherwise, you'll never be able to hardware
  233. handshake.  Also, make sure that Misc/Prefs/Xfer "Force Zmodem 1k
  234. Sends" is NOT selected.
  235.  
  236. Set up your GS with your high speed modem and cable, sans memory card,
  237. sans hard drive (those slots need to be empty so you can reach the
  238. chip). Boot PT3 off of a 3.5" floppy.
  239.  
  240. Call up your local hardware handshaking host at a speed faster than it
  241. can handle.  Do a Zmodem upload.  Note: You must DIAL from the dial
  242. menu and not from terminal mode - the current driver only enables
  243. hardware handshaking when going through the DIAL process (or the
  244. UnAttended process, which isn't useful here).
  245.  
  246. Notice that CTS goes down, but PT3 keep sending.  Press the 470ohm
  247. resistor onto pin 13 (CTS out) and pin 10 (+5) and hold it there (it
  248. may take some pressure, and you will have to wait until the next
  249. high/low transition to see the difference).  Touch those two pins and
  250. only those two pins!  Does the problem go away?  Good, keep the 470
  251. handy.  If not, try the 220.  If that works, then keep THAT one handy.
  252. If neither works you have other problems, and you may want to just
  253. replace the Motorola 26LS32 with another brand (which is NOT trivial)
  254. or you may not have a good +5V source.
  255.  
  256. Select the resistor that worked and clip the resistor lead down so
  257. that the resistor lays flat on top of the 26LS32 and can touch the
  258. pins flat on the side, but do not touch the mother board.  Make sure
  259. the resistor is FLAT against the 26LS32, since if it is not, your
  260. memory card might touch it.
  261.  
  262. (ascii art   ack!)                    ####<---  470 or 220 ohm resister
  263.                                      |    |
  264.                                      |    | <---  clipped leads
  265.                    26LS32
  266.                        \ ____
  267.                         /____\
  268.                        |      |<---- make sure the resisor leads touch
  269.     Motherboard ---->  ---------     this part of the 26LS32's pins
  270.  
  271.  
  272.   ^A     __________
  273.   MM   -|1o<-dot 16|-           Back of GS ^ (ports, etc)
  274.   v2   -|          |-                      |
  275.   R6   -|      _   |-
  276.   QL   -|     | |--+O  13/CTS
  277.   8S   -|     | |  |-
  278.   63   -|     | |  |-
  279.   42   -|     |_|--+O  10/+5V  Front of GS | (keyboard, etc)
  280.   9P   -|8________9|-                      v
  281.   AC 
  282.             UC16 (may be labeled differently on a ROM03 GS)
  283.                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  284.  
  285. Solder one lead to pin 10, then solder the other lead to pin 13.  Work slowly and watch for any solder blobs and other unsitely messes.  Double CHECK your work.
  286.  
  287. You WILL need to remove the motherboard from the case in order to properly do the modification.
  288.  
  289. We had a problem with 
  290.  
  291. a) Very old solder b) Possible cold solder joints
  292.  
  293. So, even though the 470 worked when pressed against the chip, it
  294. wouldn't work when soldered to the pins.  Scott added another 470 in
  295. parallel to each original giving an approximately 235ohm reading,
  296. ignoring the possible resistance of the solder/bad joint.  This
  297. worked.
  298.  
  299. For the record, we tried 4.7k, 2.2k, 1k resistors and none of them
  300. were good enough pull ups.  Pin 16 is supposed to be +5, but seems to
  301. not work with the pull-up resistor - we didn't test it after finding
  302. that pin 10 worked.  Anyone have any idea why 16 didn't work?
  303.  
  304. And thats it folks!
  305.  
  306. If you have any questions about this (and hopefully this was
  307. descriptive enought that you shouldn't!), feel free to email either
  308. myself (badbunny@gnh-starport.cts.com or Brendan_Hoar@notes.pw.com) or
  309. Scott (beta@gnh-starport.cts.com or beta@gnh-tap.cts.com) for
  310. information.
  311.  
  312. Ob Larry Lee Auto Quote Tribute:
  313. -=>  Roll on, Tootsie, Roll on  [>* LARRY LEE *<]
  314.  
  315.  
  316. GOOD LUCK!
  317.  
  318. Brendan
  319.  
  320. -- 
  321.         Ian Schmidt: irsman@iastate.edu or aol.com, BITNET: twbv4@isuvax       
  322.   "I will choose a path that's clear: I will choose free will." - Neil Peart
  323.    Ask me about the GS<>IRC demo...better yet ask daveh@ccwf.cc.utexas.edu!
  324.