Jump to content

Atari 1050 SIO Port Repair

From RetroTechCollection
Atari 1050 serial interface U1 schematic (field service manual sheet 4)
The serial interface on Atari's schematic sheet 4: the SIO sockets J2 and J3, the input resistors R72 to R75, the LM3086 transistor array U1, and the data line back to the computer through L5

The Atari 1050 talks to the computer through two 13-pin serial I/O (SIO) sockets, J2 and J3, which are wired in parallel. The data, command and ready lines between the sockets and the drive's 6532 PIA (U7) all pass through U1, an LM3086 transistor array: the computer's data, command and +5 V/READY lines come in through R72, R73 and R74, and the drive's data goes back out through U1 pin 14 and the ferrite bead L5.[1][2] When the drive powers up and passes its self test but the computer cannot reach it, Atari's checklist sends the technician through U1 with the waveforms on pages 4-11 and 4-17 of the field service manual, and then to U7.[3] The FAQ records U1 failing when the SIO cable is plugged or unplugged with the drive's power pack connected.[4]

Atari's manual describes the drive built with the Tandon TM50-1 mechanism.[5]

Symptoms

[edit | edit source]
  • The computer gets no answer from the drive. Atari lists the I/O cable, the command signal not reaching U7, and U7 itself.[3]
  • The drive receives commands but sends no data back, or the computer's data does not reach the drive. Atari points to the cable, the signal path through U1, and U7.[3]
  • The drive does not restart when the computer is switched off and on again: the +5 V/READY signal is not reaching the PIA.[3]
  • The drive answers only at some drive numbers, or fails the drive select test: the select switch S2 or U7.[3]

On one drive with an unresponsive SIO bus, nIGHTFALL replaced U1 (an LM3086N); on another, where the SIO bus was dead and the drive also did not run its reset cycle at switch-on, the fault was U7.[6] A drive whose spindle motor cycles on and off every 2 seconds has failed its power-up self test, which is a different fault; see the Atari 1050 Drive Troubleshooting guide. A drive with no power LED has a supply fault; see Atari 1050 Power Supply Repair.

Safety

[edit | edit source]

Unplug the drive's power pack before plugging or unplugging an SIO cable. The FAQ's contributor reports that doing it with the power pack connected blows U1 about once in every 10 to 20 times.[4]

Tools and parts

[edit | edit source]
  • A multimeter and an oscilloscope; Atari's field kit specifies a scope of at least 15 MHz.[5]
  • A known-good SIO cable and, if possible, a second drive or computer to compare with.
  • U1: LM3086, Atari part number C016821 (the same type is used at U21 in the write circuit). The Sams sample had an RCA CA3086 at U1.[7][8]
  • U7: 6532 PIA, Atari part number C010750.[7]
  • Atari's 1050 diagnostic diskette, FD100690, for the drive select and controller tests.[5]
Atari 1050 PIA U7 port connections (field service manual sheet 2)
The PIA U7 on Atari's schematic sheet 2: PB0 (pin 24) drives DATA OUT, PB1 (pin 23) reads VCC RDY, PB6 (pin 17) reads DATA IN, PB7 (pin 16) reads CMD, and PA0 and PA1 (pins 8 and 9) read the drive select switch S2

How the interface works

[edit | edit source]

The SIO pins that matter here are pin 3, data from the drive to the computer; pin 5, data from the computer; pin 7, COMMAND, which the computer pulls low while it sends a command frame; pin 10, +5 V/READY, which tells the drive the computer is on; and pins 4 and 6, ground.[9] The drive's output is open collector, and Atari specifies a high level of at least 4.5 V with the computer's 100k pull-up and a low level of no more than 0.4 V.[10]

Atari 1050 serial interface signal path (FD100330 sheets 2 and 4)
Signal SIO pin (J2 and J3) Through U1 input U1 output PIA U7 pin
Data from the computer 5 R72 (100k) 2 1 (N DATA IN) 17 (PB6)
Command 7 R73 (100k) 4 5 (N CMD) 16 (PB7)
+5 V/READY 10 R74 (10k), with R75 (4.7k) to ground 6 8 (N VCC RDY) 23 (PB1)
Data to the computer 3 L5 (ferrite bead) 9, fed from U7 through R77 (4.7k) 14 24 (PB0)

[1][2]

U1 pins 3, 7, 10 and 13 are grounded. C59, C60 and C61 (0.001 µF) sit on the three outputs to U7, and C58 (100 pF) on the DATA OUT line from U7.[1]

Procedure

[edit | edit source]

Check the outside first

[edit | edit source]
  1. Unplug the power pack before touching the SIO cables.[4] Set the drive select switch to drive 1.[5]
  2. Try a known-good cable, and try the drive's other SIO socket. J2 and J3 carry the same signals, so a drive that works from one socket and not the other has a fault in that socket or its solder joints.[1]
  3. Look into both sockets for bent or shorted pins.[11]

Open the drive

[edit | edit source]
  1. Open the drive as described in Atari 1050 Power Supply Repair#Open the drive.[5]
  2. U7 sits under the RF shield with the other LSI chips. To reach it, bend up the four tabs that hold the top shield to the board and lift it off, noting where its cutouts are so that it goes back the same way.[5]
  3. Find U1 on the Sams photograph or the board silkscreen. The FAQ describes it as a 14-pin DIL chip at the right rear of the main board.[4][8]
Atari 1050 main board component locations (Sams Computerfacts CD13)
Sams photograph of the main board with pin 1 of every IC marked, including U1 and U7

Check the passive parts

[edit | edit source]

With the power pack unplugged:

  1. Check continuity from pin 3 of each socket through L5 to U1 pin 14.[1] See Continuity Testing and Signal Tracing.
  2. Measure R72 between socket pin 5 and U1 pin 2, R73 between socket pin 7 and U1 pin 4, and R74 between socket pin 10 and U1 pin 6, against the values in the table.[1]
  3. Check pins 4 and 6 of each socket for continuity to ground.[1]

Trace the signals

[edit | edit source]

Connect the drive to the computer, switch on the drive and then the computer, and compare each point with Atari's waveforms. A U1 input swings by only about 0.75 V; the matching output swings by about 5 V (3 V on the data-out side).[12][13]

Atari 1050 data-out, command and ready signals (field service manual page 4-17)
Atari's data-out, command and VCC ready signals at U1, page 4-17
U1 test points (FD100330 pp. 4-11 and 4-17)
Signal U1 input U1 output When to look
+5 V/READY Pin 6: 0 V with the computer off, about 0.75 V with it on Pin 8: 5 V with the computer off, 0 V with it on Switch the computer off and on
Command Pin 4: about 0.75 V, falling to 0 V during a command Pin 5: 0 V, rising to 5 V during a command While the computer tries to boot or read the disk
Data in Pin 2: pulses of about 0.75 V Pin 1: 0 to 5 V pulses While the computer sends a command frame
Data out Pin 9: pulses of about 0.75 V Pin 14: 0 to 3 V pulses While the drive answers
  1. Start with +5 V/READY. With the computer off, U1 pin 6 should be at 0 V and pin 8 at 5 V; switching the computer on should take pin 6 to about 0.75 V and pin 8 to 0 V.[13] Follow pin 8 to U7 pin 23.[2]
  2. Make the computer send commands to the drive, for example by switching it on to boot from the disk. U1 pin 4 should drop to 0 V and pin 5 rise to 5 V while each command frame is sent.[13][9] Follow pin 5 to U7 pin 16.[2]
  3. At the same time look for the data from the computer: pulses at U1 pin 2 and the inverted, full-height pulses at pin 1, which goes to U7 pin 17.[12][2]
  4. If the drive is answering, look for data from U7 pin 24, then at U1 pin 9 and at U1 pin 14. Sams saw a 3.5 V waveform on the data line at L5.[13][2][8]
Atari 1050 serial interface U1 (Sams Computerfacts CD13 schematic)
The same circuit on the Sams schematic, with a CA3086 at U1 and the waveform Sams measured at L5

Find the faulty part

[edit | edit source]
  1. A signal that is correct at the socket but missing at the U1 input points to its resistor (R72, R73 or R74), L5 on the data-out side, or the track between them.[1] See PCB Trace Repair.
  2. A signal that is correct at a U1 input but has no matching output at pin 1, 5 or 8, or data that reaches pin 9 but not pin 14, means U1 has failed. Atari's remedy is to trace the signal through U1 and replace it.[3][13]
  3. If U1's outputs are all correct and the drive still does not answer, or no data ever leaves U7 pin 24, replace U7.[3] nIGHTFALL found a failed 6532 on a drive whose SIO bus was dead.[6]
  4. Sams works through the same chain by substitution: the drive select switch S2 and the cable, then U7, then U1.[14]

Replace U1

[edit | edit source]
  1. Unplug the power pack and the SIO cables.
  2. Desolder U1, noting the position of pin 1. See Through-Hole Desoldering, and IC Removal and Socketing if you want to fit a socket.
  3. Fit an LM3086 or CA3086 the same way round and solder it.[7][8] See Through-Hole Soldering.
  4. Refit the RF shield with its cutouts where they were.[5]

Drive select switch

[edit | edit source]

The drive select switch S2 reads into U7 PA0 and PA1 (pins 8 and 9) on its white and black wires.[2] If the diagnostic diskette's drive select test fails in any of the four positions, Atari says to check the switch first and the PIA second.[15] See Switch and Potentiometer Repair.

Testing

[edit | edit source]
  1. With the power pack unplugged, connect the SIO cable, then plug in the power pack, switch the drive on and then the computer.[4][5]
  2. Boot a DOS disk from the drive and read its directory.
  3. Run the diagnostic diskette's automatic tests; the controller test checks that the drive recognises a command or data frame from the computer.[5]
  4. Run the drive select test in all four positions, then set the switch back to drive 1.[15]
  5. Switch the computer off and on again with the drive left on; the drive should respond again without being switched off.[3]
[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Atari, 1050 Disk Drive Field Service Manual (FD100330), schematic sheet 4 of 4 (Tandon), p. 5-5 (PDF p. 66; redrawn copy PDF p. 71): J2, J3, R72 to R77, C56 to C61, L5 and U1.
  2. ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 Atari, 1050 Disk Drive Field Service Manual (FD100330), schematic sheet 2 of 4 (Tandon), p. 5-3 (PDF p. 64; redrawn copy PDF p. 69): U7 port connections and the drive select switch S2.
  3. ↑ 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Atari, 1050 Disk Drive Field Service Manual (FD100330), symptom checklist p. 4-6 (PDF p. 48), data interface problems and drive select problems.
  4. ↑ 4.0 4.1 4.2 4.3 4.4 Michael D. Current (ed.), Atari 8-Bit Computers: Frequently Asked Questions, version last modified 29 November 2009, section 3.4: Rich Mier's note that plugging or unplugging the SIO cable with the 1050's power pack connected blows U1, a CA/LM3086 14-pin array at the right rear of the main board, about once in 10 to 20 times. faqs.org. Community reference.
  5. ↑ 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 Atari, Inc., 1050 Disk Drive Field Service Manual (FD100330). Hook-up, test equipment and diagnostic tests pp. 2-1 to 2-3 (PDF pp. 29-31); disassembly and RF shields pp. 3-1 and 3-2 (PDF pp. 41-42). Hosted here as File:Atari 1050 Disk Drive Field Service Manual.pdf.
  6. ↑ 6.0 6.1 xAD / nIGHTFALL, "Atari Disk Drive 1050 Repair", nIGHTFALL Blog, 25 May 2014. Two drives with unresponsive SIO buses: one cured by a new LM3086N at U1, the other (which also had no reset cycle at power-on) by a new 6532 at U7. Repair log.
  7. ↑ 7.0 7.1 7.2 Atari, 1050 Disk Drive Field Service Manual (FD100330), 1050 parts list (Tandon), p. 5-11 (PDF p. 62): U1 and U21 LM3086, C016821; U7 6532, C010750.
  8. ↑ 8.0 8.1 8.2 8.3 Howard W. Sams & Co., Computerfacts CD13, Atari Model 1050 Disk Drive (1987), schematic (PDF p. 3, printed p. 2): serial interface with a CA3086 at U1 and the waveform at L5; CircuiTrace photograph of the main board (PDF p. 13). Hosted here as File:Sams Computerfacts CD13 Atari 1050 Disk Drive.pdf.
  9. ↑ 9.0 9.1 Atari, 1050 Disk Drive Field Service Manual (FD100330), p. 1-20 (PDF p. 26), serial bus line assignments: pin 3 DATA IN to the computer, pin 5 DATA OUT from the computer, pin 7 COMMAND (low while a command frame is sent), pin 10 +5 V/READY, pins 4 and 6 ground.
  10. ↑ Atari, 1050 Disk Drive Field Service Manual (FD100330), p. 1-21 (PDF p. 27), serial bus electrical specifications: open-collector peripheral output, VOH 4.5 V minimum with a 100k pull-up, VOL 0.4 V maximum; VCC/READY input goes to logic zero when open.
  11. ↑ Rick D., reply in "atari 1050 repair (need help)", comp.sys.atari.8bit, August 2003, archived on narkive. Advice to check the SIO jacks for bent or shorted pins. Community advice.
  12. ↑ 12.0 12.1 Atari, 1050 Disk Drive Field Service Manual (FD100330), p. 4-11 (PDF p. 53), data-in signal at pins 2 and 1 of U1.
  13. ↑ 13.0 13.1 13.2 13.3 13.4 Atari, 1050 Disk Drive Field Service Manual (FD100330), p. 4-17 (PDF p. 59), data-out signal at pins 9 and 14 of U1, command signal at pins 4 and 5, VCC ready signal at pins 6 and 8 with the computer off and on.
  14. ↑ Howard W. Sams & Co., Computerfacts CD13 (1987), p. 6, Troubleshooting, "No communication between the computer and the disk drive": drive select switch S2, interface cable, U7 and U1 by substitution.
  15. ↑ 15.0 15.1 Atari, 1050 Disk Drive Field Service Manual (FD100330), p. 2-9 (PDF p. 37), troubleshooting option 3, drive select switch test.