Jump to content

Atari 850 Serial Port Repair

From RetroTechCollection
Atari 850 Interface Module
Atari 850 Interface Module

The Atari 850 Interface Module has four RS-232-C serial ports. Port 1 carries the most RS-232-C signals; ports 2 and 3 have send and receive data and two handshaking lines; port 4 can drive a teletype on a 20 mA current loop or carry RS-232-C data.[1] Every line between the 6532 PIAs and the 9-pin sockets passes through a buffer: an LM349 op-amp section for each output and a CA3086 transistor-array section for each input. Atari's 850 Interface Module Service Manual sends a fault on one port to these buffer chips, A105 to A108, and its schematic shows which section serves which pin.[1] The table below maps each port to its buffers, followed by Atari's test and repair order.

Symptoms

[edit | edit source]
  • One serial port gives errors and the others work. Atari's table puts errors on some ports only down to the buffers of the affected ports, A105 to A108.[1]
  • A port works at low speeds but drops characters at the highest. Atari says the port's buffer is out of specification and should be replaced.[1]
  • A handshaking line (data terminal ready, carrier detect and so on) does not work. Atari's port test does not check these lines, but says most such faults are cured by replacing the port buffers or the PIAs.[1]

Rule out the supply first. Errors on all serial ports, ports that work with some devices and not others, intermittent errors, and faults confined to output all point to the +10 V and -8 V rails that feed the output buffers; see Atari 850 Power Supply Repair.[1] Also check the cable and the device at the other end; the Atari 850 Troubleshooting guide covers the user-level checks.

Safety

[edit | edit source]

The 850 has no high voltages by design, but its chips are static-sensitive. Atari asks for a grounded anti-static work surface and a wrist strap, and warns against laying the board on plastic sheets such as Mylar page protectors.[1]

Tools and parts

[edit | edit source]
  • A 9-pin plug with pins 3 and 4 joined, for the loopback test. Atari made it from parts S1, S2 and S3 of its spare parts kit; in an emergency pins 3 and 4 of the socket can be joined with 18-gauge hook-up wire or a paper clip, taking care not to damage the socket.[1]
  • An Atari 400 or 800 with BASIC and a television, for the port test.[1]
  • An oscilloscope (Atari specifies dual trace, at least 1 MΩ input) and an IC extractor.[1]
  • Replacement chips. All four sit in 14-pin sockets (XA105 to XA111, C014386-02), so no soldering is needed to swap them.[1] See IC Removal and Socketing and Logic Chip Testing.
Serial port buffer chips (service manual appendix 8)
Ref Part Atari number Role
A105, A106 LM349 quad op amp C015769 Output drivers, powered from +10 V and -8 V
A107, A108 CA3086 transistor array (listed as "IC Buffer") C010174 Input receivers

[1]

Which buffer serves which pin

[edit | edit source]
Atari 850 serial port 1 buffers (service manual figure A11-1)
Port 1 (J102) on Atari's schematic: three LM349 drivers through series resistors marked 560 Ω, and four CA3086 receivers through 4.7 kΩ resistors
Atari 850 serial ports 2 to 4 buffers (service manual figure A11-1)
Ports 2 (J103), 3 (J104) and 4 (J105) on Atari's schematic, with the dashed 20 mA current loop connections on port 4

Read from Atari's schematic, figure A11-1:[1]

Serial port lines and their buffers (figure A11-1)
Port (socket) Pin and line Buffer section (pins) Series parts
1 (J102) 7, request to send (out) Labelled A106A (pins 8, 9, 10) R122
1, data terminal ready (out) A105B (pins 1, 2, 3) R123
3, send data (out) A105C (pins 12, 13, 14) R124
4, receive data (in) A107A R125 4.7 kΩ, CR101
6, data set ready (in) A107B R126 4.7 kΩ, R172 1.8 kΩ, CR102
2, carrier detect (in) A107C R127 4.7 kΩ, CR103
8, clear to send (in) A107D R128 4.7 kΩ, CR104
2 (J103) 1, data terminal ready (out) A106A (pins 1, 2, 3) R129
3, send data (out) A105D (pins 5, 6, 7) R130
4, receive data (in) A107E R131 4.7 kΩ, CR105
6, data set ready (in) A108D R132 4.7 kΩ, R133 1.8 kΩ, CR106
3 (J104) 1, data terminal ready (out) A106B (pins 12, 13, 14) R134
3, send data (out) A106C (pins 5, 6, 7) R135
4, receive data (in) A108C R136 4.7 kΩ, CR107
6, data set ready (in) A108B R137 4.7 kΩ, R138 1.8 kΩ, CR108
4 (J105) 3, send data (out) A106D (pins 8, 9, 10) R140
4, receive data (in) A108A R141 4.7 kΩ, CR109

Two points to watch on this schematic:

  • The label A106A appears twice, on port 1's request to send driver and on port 2's data terminal ready driver. The port 1 section uses pins 8, 9 and 10, while A106's pins 8, 9 and 10 are already drawn as A106D on port 4, and the only A105 section not drawn elsewhere is the one on pins 8, 9 and 10. Check the tracks on your board before assuming which chip drives port 1's pin 7.[1]
  • The schematic marks the output series resistors R122 to R124, R129, R130, R134 and R135 as 560 Ω and R140 as 150 Ω. The parts list in the same manual gives all of these as 10 Ω, 1/4 W (14-5100). Measure the part fitted to your board before ordering a replacement.[1]

On port 4 the other pins are fed from the supply rails for the 20 mA loop: pin 1 through R139 (390 Ω) from +10 V, pin 7 through R142 (680 Ω, 1/2 W) from +10 V, and pin 9 through R143 (150 Ω) from -8 V.[1]

Procedure

[edit | edit source]

Open the module

[edit | edit source]
  1. Turn the 850 upside down and remove the four screws in the base. Hold the two halves together, turn the module over and lift off the top half.[1]
  2. Atari lists the ROM, the PIAs and the processor as the chips the RF shield covers. To lift the board out of the base, separate it at the serial port edge first, bending the shell very slightly if needed.[1]

Run the port test

[edit | edit source]
  1. Fit the loopback plug (pins 3 and 4 joined) to the port under test.[1]
  2. Switch on the 850, then the computer, and wait for READY, which shows that the 850 has booted.[1]
  3. Enter Atari's port test program (listed in the Atari 850 Maintenance Guide), set the port name in lines 30 to 50 and the speed in line 20, and run it.[1]
  4. Type a line of text. The program sends it out of the port and prints what comes back; the two lines should be identical.[1]
  5. If there are errors, try a lower speed. Errors that appear only at the higher speeds mean the port's buffer is out of specification.[1]

The test only exercises send data (pin 3) and receive data (pin 4). From the table above, those lines run through A105C and A107A on port 1, A105D and A107E on port 2, A106C and A108C on port 3, and A106D and A108A on port 4.[1]

Replace the buffers

[edit | edit source]
  1. Switch off and remove the I/O cables.
  2. Replace the driver and receiver chips that serve the failing port, one at a time, rerunning the port test after each. Atari's instruction is to replace A105 and/or A106 and/or A107 and/or A108 and test the port.[1]
  3. Note the orientation of each chip before pulling it, and fit the new one the same way round.

If the fault remains

[edit | edit source]
  1. Look for broken traces, or traces touching because the board has warped or because of crystal growth since manufacture. Atari names both.[1]
  2. Follow the failing line on the schematic from the buffer pin through its series resistor to the socket pin, and check each link for continuity with the module unpowered. See Continuity Testing and Signal Tracing and PCB Trace Repair.
  3. For a handshaking line, Atari's method is to watch it with the oscilloscope while a short BASIC program exercises it, or to loop an output line back to an input line and read it from BASIC.[1]
  4. If the fault persists with all of these eliminated, Atari considered the fault to be below the level of replaceable parts and returned the board to the factory.[1]

Reassemble

[edit | edit source]

Put the board back in the base, edge with the switch and LED first, then refit the top half and the four screws.[1]

Testing

[edit | edit source]
  1. Run the port test on every port, at the highest speed you use and at 300 bit/s (BASIC value 0).[1]
  2. Check the rails at the end: +10 V and -8 V within ±5 %. A hot A113 with a low +10 V means a buffer is still loading the rail.[1]
[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 Atari, Inc., 850 Interface Module Service Manual, CS 400/800-S004-B, April 1981: buffers and serial ports (pp. 2-4 and 2-5), tools and work station (pp. 3-2 to 3-4), disassembly and assembly (pp. 3-5 and 3-6), troubleshooting when the 850 boots, +10 V and -8 V, port buffers and testing each port (pp. 3-8 to 3-13, table 3-1), port test program (appendix 7, table A7-1), parts list (appendix 8), schematic (appendix 11, figure A11-1). Hosted here as File:Atari 850 Interface Module Service Manual CS400-800-S004-B.pdf.