Jump to content

Atari 520ST+ RAM Repair

From RetroTechCollection
Atari 520ST memory controller U15 (schematic C070231 sheet 2)
The memory controller U15 on Atari's 520ST schematic. The second bank's strobes, RAS1, CAS1H and CAS1L, leave on pins 18, 22 and 21; on a 512 KB board they are not connected.

The Atari 520ST+ is the original short-case ST with 1 MB of RAM: the Atari Wiki describes it as a 520ST with a factory-fitted 1 MB "piggyback" upgrade.[1] Its second bank of sixteen 256K × 1 RAM chips shares the data, address, write-enable and supply lines of the first, and has its own strobes from the memory controller U15: RAS1 on pin 18, CAS1H on pin 22 for the upper byte and CAS1L on pin 21 for the lower byte.[2][3]

The fault Atari Benelux wrote up for this model is a 520ST+ that shows only 512 KB. At power-up the operating system tests the RAM and sets the top of memory; if a chip in the second bank fails, the machine configures itself for the first bank alone.[4] Faults in the first bank, which stop the machine or corrupt the screen, are covered on Atari 520ST RAM Replacement.

Symptoms

[edit | edit source]
  • The machine works but has only 512 KB. In ST BASIC, PRINT FRE(0) returns a value below 524,288.[4]
  • On a scope, RAS1, CAS1H and CAS1L pulse just after switch-on and then stop. When the second bank is accepted they keep running.[4]

Tools and parts

[edit | edit source]
  • An oscilloscope for the RAS1 and CAS1 lines.[4]
  • A machine-code monitor or Atari's SID debugger, from the developer's kit, for the addressing test.[4]
  • Replacement 256K × 1 RAM, 150 ns, such as the NEC 41256C-15.[3]
  • A fine soldering iron and desoldering braid or pump.
Chip positions by data bit (first bank; Atari's upgrade puts the second bank on top)
Bits Chips (most significant first) Second-bank strobe
15–8 (even addresses) U45, U44, U43, U42, U38, U34, U33, U32 CAS1H, U15 pin 22
7–0 (odd addresses) U30, U29, U28, U25, U24, U18, U17, U16 CAS1L, U15 pin 21

Sources: Atari Benelux's upgrade note and the schematic.[3][2] On the 68000 the even-addressed byte is the upper half of the data bus, bits 8–15.

Procedure

[edit | edit source]

Open the machine

[edit | edit source]

Atari's sequence for the short case:[5]

  1. Unplug the supply. Turn the computer over and remove the six screws from the bottom case.
  2. Turn it upright, lift off the top case and unplug the keyboard at the right front of the board.
  3. Remove the three screws at the front edge of the board and the three at the rear, reached through holes in the shield, and lift the board assembly out.
  4. Straighten the ten twist tabs and lift off the top shield.

Narrow down the chip

[edit | edit source]
  1. With a monitor or SID, try to read and write the second bank, 80000–FFFFF on a 1 MB machine, and note whether no bytes can be addressed, only the odd-addressed bytes fail (bits 0–7), or only the even-addressed bytes fail (bits 8–15).[4][5]
  2. Run the machine for a few minutes and feel the second-bank chips in that half for one that is much hotter than the rest.[4]
  3. If you have Atari's diagnostic cartridge, a RAM error between 80000 and FFFFF on a 1 MB machine is in bank 1, and the bad bits name the chip position.[5]

Replace the chip

[edit | edit source]
  1. Desolder the faulty second-bank chip from the chip beneath it. In Atari Benelux's method every pin except 4 and 15 is soldered to the pin below; pins 4 (RAS) and 15 (CAS) are bent outwards and wired to U15.[3]
  2. Bend the new chip's pins the same way: pins 4 and 15 out horizontally, the rest down onto the chip below, and seat it flat with no gap.[3]
  3. Solder the pins to the chip below, then reconnect pins 4 and 15 to the RAS1 wire and to the CAS1H or CAS1L wire for that half.[3]
  4. Check every joint; Atari Benelux warns that a poor connection here causes trouble later.[3]

If the fault cannot be found

[edit | edit source]

Atari Benelux suggests three changes, which it says are not necessarily required:[4]

  1. Some boards have a 47 pF capacitor from pin 9 of the Shifter U31 to ground. Remove it and fit it between pin 11 of the Shifter and ground.
  2. Route RAS0 from the memory controller to the middle of the first bank, between U30 and U32, and do the same for RAS1 on the second bank.
  3. Fit a 68 Ω resistor in RAS0 and a 100 Ω resistor in RAS1, as close to the memory controller as possible.

The bulletin gives the memory controller's RAS0 and RAS1 pins as 3 and 19. Atari's schematic and Atari Benelux's own upgrade note put them on pins 8 and 18; on the schematic pin 3 is a data line and pin 19 the 4 MHz clock output, so check against the schematic before cutting anything.[2][3][4]

Reassemble

[edit | edit source]
  1. Insulate the underside of the shield above the RAM before refitting it; Atari Benelux warns of short circuits against the taller stacked chips.[3]
  2. Refit the shield and its tabs, the board and its six screws, the keyboard and the top case.[5]

Testing

[edit | edit source]
  • In ST BASIC, PRINT FRE(0) should now return more than 520,000.[3]
  • With SID, Atari Benelux checks that the system variable phystop ($42E) shows 1 MB and that the memory-controller setting memcntlr reads 5 instead of 4.[3]
  • Run the cartridge RAM test across the whole 1 MB.[5]
[edit | edit source]

References

[edit | edit source]
  1. ↑ "ST", Atari Wiki (atari-wiki.com): the ST+ entry, "As original ST, but with factory fitted 1MB 'piggyback' upgrade". Community wiki.
  2. ↑ 2.0 2.1 2.2 Atari (Japan) Corporation, Schematic Diagram (520ST/260ST), drawing C070231, revision M (April 1986), sheet 2: U15 with RAS0, CAS0H and CAS0L on pins 8, 6 and 7 and RAS1, CAS1H and CAS1L on pins 18, 22 and 21; the first bank's chips and their data bits. Hosted here: File:Atari 520ST Schematic C070231.pdf.
  3. ↑ 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 Atari (Benelux) B.V., unnumbered Information Technique, "Données pour augmenter la puissance (upgrading) de l'Atari 520ST à 1 MByte": the chips listed by bit; the second bank piggy-backed on the first with every pin except 4 (RAS) and 15 (CAS) soldered to the chip below; RAS1, CAS1H and CAS1L from U15 pins 18, 22 and 21; the 150 ns NEC 41256C-15; the checks with SID and PRINT FRE(0); and the instruction to insulate the shield above the RAM. Hosted here: File:Atari Benelux technical bulletin - upgrading the 520ST to 1 MB.pdf.
  4. ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 Atari (Benelux) B.V., Information Technique No. 1, "520ST+": the 512 KB symptom and the PRINT FRE(0) check, the power-up memory sizing (phystop), RAS1, CAS1H and CAS1L being active only just after switch-on when the second bank fails, the cause in a bank 1 chip, the addressing test with a monitor or the SID debugger, the hot chip, and three optional changes to the Shifter capacitor and the RAS lines. Hosted here: File:Atari Benelux technical bulletin 001 - 520ST+ RAM detection and repair.pdf.
  5. ↑ 5.0 5.1 5.2 5.3 5.4 Atari Corporation, 520ST/1040ST Computer Field Service Manual, C026118-002 Rev B (3.6), January 1987. RAM test and bank table (printed p. 3.6, PDF p. 32); 520ST disassembly (pp. 4.3–4.4, PDF pp. 48–49). Hosted here: File:Atari 520ST and 1040ST Computer Field Service Manual.pdf.