Jump to content

Atari 400 SIO Port Repair

From RetroTechCollection
Atari 400 controller jacks and side panel (Schnurrikowski)
Three views of an Atari 400. The right-hand side panel carries the 13-pin peripheral (SIO) socket, the power switch and the power jack. Photo: Schnurrikowski, CC BY-SA 4.0.

Cassette recorders, disk drives, printers and interfaces connect to the Atari 400 through the 13-pin peripheral socket J202 on the right-hand side. On the 400 the socket is mounted on the power supply board, not the motherboard: its signals pass through the board-to-board connector J201 to the motherboard, where they go through ferrite beads and filter capacitors to POKEY (A101) and the PIA (A102).[1] POKEY sends and receives the serial data and clocks; the PIA handles the command, proceed and interrupt lines and switches the cassette motor through the transistor Q102.[1][2] When the 400 cannot load from or save to any peripheral, or the recorder's motor never starts, Sams' service data gives the checks for each line.[2]

Symptoms

[edit | edit source]
  • A known-good recorder or drive will not load, or will not save, on this computer.[2]
  • The cassette motor does not start when loading or saving.[2]
  • Peripheral audio (a cassette's voice track) is not heard through the television: see Atari 400 Sound Repair.[2]
  • Bent or broken pins in the socket: Atari's visual inspection checks the controller and peripheral jacks for them.[1]

Check the cable and the peripheral on another computer first. Sams' preliminary check for a 400 that will not load or save a cassette program is to substitute POKEY.[2]

Safety

[edit | edit source]

Pin 10 of the socket carries +5 V and pin 12 carries +12 V; pins 4 and 6 are ground.[1] Do not short pin 10 or 12 to ground or to a signal pin while probing. Unplug the adaptor before removing the power supply board.

Tools and parts

[edit | edit source]
  • A logic probe, an oscilloscope and a digital meter.[2]
  • An Atari program recorder and a blank tape, or a disk drive, for testing.[2]
  • Optional: SALT II and Atari's peripheral port test connector. Best Electronics sells the SALT 2.05 cartridge (TE15644) and the SIO shorting plug for its port test (TE15639).[1][3]
  • Parts as found: POKEY (C012294), the PIA (C014795, or C014812 as an alternative), the MPSA55 transistor for Q102 (C014809), the 13-pin right-angle socket J202 (C012995) and the 22 µF 16 V capacitor C210 (C014393).[1]

The socket

[edit | edit source]
Atari 400 power supply schematic (Field Service Manual figure 2-4)
Atari's 400 power supply schematic. The peripheral socket J202 is at the lower right, with each pin wired to the board-to-board connector J201 along the bottom.
Atari 400 peripheral socket J202 (Atari figure 2-4 and figure 2-2A; Sams)
J202 pin Signal J201 pin Motherboard end
1 Clock in 15 POKEY pin 26 (BCLK)
2 Clock out 16 POKEY pin 27 (OCLK)
3 Data in 14 POKEY pin 24 (SID)
4, 6 Ground – –
5 Data out 13 POKEY pin 28 (SOD)
7 Command 12 PIA pin 19 (CB2)
8 Motor control 17 Q102, driven from PIA pin 39 (CA2); C210 (22 µF) to ground on the power supply board
9 Proceed 11 PIA pin 40 (CA1)
10 +5 V / ready 7 +5 V B rail
11 Audio in 10 Audio mixer Q106
12 +12 V 2 +12 V rail
13 Interrupt 9 PIA pin 18 (CB1)

[1][2]

On the motherboard the lines from J201 arrive at J107 and pass through the ferrite beads L107 to L114, with .001 µF capacitors C165 to C171 to ground and the 4.7 kΩ pull-up network R159.[1]

Procedure

[edit | edit source]

Open the machine

[edit | edit source]
  1. Turn the unit upside down and remove the four screws from the bottom cover. Turn it upright, unhook the top cover from the keyboard, open the cartridge door and lift the top cover off.[1]
  2. Remove the single keyboard screw, lift the left end of the keyboard and disconnect its ribbon cable.[1]
  3. Disconnect the RF cable, remove the two power supply screws, pull the power supply about a quarter of an inch away from the casting, lift out the interlock switch plunger and lift the power supply board straight up off the motherboard pins.[1] The socket J202 and connector J201 are now accessible; Atari 400 Power Supply Repair has the figure.
  4. For the motherboard side, remove the speaker and the module assembly, take the eight screws out of the bottom shield and lift the motherboard out of the casting. POKEY and the PIA are in 40-pin sockets.[1]

Cannot save

[edit | edit source]

Sams' check, using a program recorder:[2]

  1. Type in or load a short program. Type CSAVE and press RETURN; after two beeps, press PLAY and RECORD on the recorder and press RETURN again.
  2. While it saves, check for waveforms on pins 26, 27 and 28 of POKEY (A101).
  3. If any of them is missing, check A101 by substitution.
  4. If the waveforms are correct, check the connections at pins 13, 15 and 16 of J201 and pins 1, 2 and 5 of J202.

Cannot load

[edit | edit source]
  1. Type CLOAD and press RETURN; after one beep, press PLAY on the recorder and press RETURN again.[2]
  2. Check for pulses at pin 24 of POKEY while it loads.[2]
  3. If the pulses appear, check A101 by substitution. If they do not, check the connections at pin 14 of J201 and pin 3 of J202.[2]

Recorder motor does not start

[edit | edit source]
Atari 400 clock oscillator X101 Q103 Q104 and motor switch Q102 (Field Service Manual figure 2-2B)
Part of Atari's 400 motherboard schematic: the motor switch Q102 with R185 (2.7 kΩ), next to the clock oscillator
  1. Type POKE 54018,52 and press RETURN. Put the logic probe on pin 39 of the PIA (A102): it should go from high to low, which starts the recorder motor.[2]
  2. If it does not go low, check A102 by substitution.[2]
  3. If the reading is correct, check the switch transistor Q102 and the connections at pin 17 of J201 and pin 8 of J202.[2] On the schematic Q102 is an MPSA55 with its emitter on +5 V A and R185 (2.7 kΩ) in its base circuit.[1]
  4. Type POKE 54018,60 and press RETURN to stop the motor.[2]

SALT II port test

[edit | edit source]

Atari's port test (P and RETURN) needs the hand controller jack test connector and the peripheral port test connector fitted. Reseat the connectors and test again before replacing anything; then decode the failure with Atari's port test legend, which names the PIA control pins 18, 19, 39 and 40 and POKEY's clock pins 26 and 27 for the peripheral lines.[1]

Repair the socket

[edit | edit source]
  1. With the power supply board out, inspect J202 for bent or broken pins and its solder joints for cracks.[1]
  2. Check continuity from each J202 pin to its J201 pin (table above), and from each J201 line on the motherboard through its ferrite bead to the chip pin.[1] See Continuity Testing and Signal Tracing and, for a damaged socket, Through-Hole Desoldering.
  3. Refit the power supply board: align it over the motherboard pins and the guide posts and press it down, fit the interlock plunger with its lower end over the interlock switch, refit the two screws, and route the RF cable through its slot without trapping it under the module assembly.[1]

Testing

[edit | edit source]
  1. Save a short program to tape and load it back, or boot a disk.[2]
  2. Check +5 V on J202 pin 10 and +12 V on pin 12 against ground on pin 4.[1]
  3. Run the two POKE commands above and check that the recorder motor starts and stops.[2]
[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 Atari, Inc., ATARI Home Computer Field Service Manual 400/800, May 1983 revision: 400 motherboard schematic (figures 2-2A and 2-2B, pp. 2-4 and 2-5: POKEY pins 24, 26, 27 and 28; PIA pins 18, 19, 39 and 40; J107, L107-L114, C165-C171, R159, Q102, R185), 400 power supply schematic (figure 2-4, p. 2-8: J201, J202, C210), visual inspection (p. 4-21), 400 disassembly and assembly (pp. 4-1 to 4-6 and 4-16), 400 port test (pp. 5-33 and 5-34) and port test legend (table 5-3, p. 5-40), 400 parts list (section 9: A101 C012294, A102 C014795 or C014812, Q102 MPSA55 C014809, J202 C012995, C210 C014393). Scan on the Internet Archive. The June 1982 edition is hosted here as Atari 400 800 Field Service Manual June 82.
  2. ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 Howard W. Sams & Co., Computerfacts CC5, Atari Model 400, 1984: test equipment, cassette operation, preliminary service checks (main board), and troubleshooting guide, "Cassette Save and Load" and "Audio". Scan on the Internet Archive.
  3. ↑ Best Electronics, "Atari 400 / 800 Computers" parts page: SALT 2.05 diagnostic cartridge TE15644 and external SIO shorting plug TE15639. Retailer listing.