Atari 520ST RAM Replacement

The Atari 520ST has 512 KB of RAM in sixteen 256K × 1 dynamic RAM chips, one chip for each bit of the 68000's 16-bit data bus. The chips are U16, U17, U18, U24, U25, U28, U29 and U30 for data bits 0 to 7 and U32, U33, U34, U38, U42, U43, U44 and U45 for bits 8 to 15, each with its own 0.22 µF decoupling capacitor.[1][2] The 260ST and 520STM have the same bank, and so does the 520ST+, which adds a second bank; a 520ST+ that shows only 512 KB is covered on Atari 520ST+ RAM Repair.[3]
Because each chip holds one bit, a failed chip shows up as one bit wrong at every address in the bank. Atari's diagnostic cartridge reports exactly which bits failed, which makes finding the chip straightforward.[4]
Symptoms
[edit | edit source]- Dots or bars on the screen. Atari's checklist names RAM, the memory controller and the Shifter.[4] SAMS adds the ROMs U4 and U7 to the list for random dots or bars.[5]
- Crashes, bombs, or programs that fail in the same way each time.
- Error codes R0–R4 from the diagnostic cartridge.[4]
- A chip that is much hotter than its neighbours. Atari Benelux notes that a faulty RAM chip can be recognised by its high temperature.[6]
A memory controller fault can look like a RAM fault. Atari attributes error R3, a failure at a 64 KB boundary, to a probable fault in the memory controller.[4]
Tools and parts
[edit | edit source]- Atari's ST diagnostic cartridge, with a terminal on the RS-232 port if the screen is unreadable.[4]
- Replacement 256K × 1 DRAMs. Atari Benelux's upgrade note uses 150 ns parts, for example the NEC 41256C-15.[2]
- 16-pin sockets, if you want to fit them. exxos fitted sockets when he added RAM taken from old STFM boards of unknown condition.[7]
- A desoldering pump or station and a fine soldering iron.
| Data bit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| Chip | U16 | U17 | U18 | U24 | U25 | U28 | U29 | U30 |
| Data bit | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| Chip | U32 | U33 | U34 | U38 | U42 | U43 | U44 | U45 |
Sources: the schematic,[1] and Atari Benelux's list of the same chips from the most significant bit down.[2]

Procedure
[edit | edit source]Find the failed chip
[edit | edit source]- Fit the diagnostic cartridge and run its RAM test. It tests the low 2 KB, then up to 64 KB, then the rest, with all ones, all zeros and counting patterns.[4]
- Read the error. Atari's example is "R2 45603E W:603E R:613C bad bits: 1,8": the code, the address, the data written, the data read and the bits that disagreed.[4]
- On a 520ST every address from 0 to 7FFFF is in bank 0, so the bad bit numbers lead straight to the chips in the table above. In Atari's example, bits 1 and 8 point at U17 and U32.[4][1]
- For R0, R1, R2 and R4, Atari's repair is the chip for the bit shown. For R3, suspect the memory controller.[4]
- Without the cartridge, feel for a chip that runs hot.[6]
Open the machine
[edit | edit source]Atari's sequence for the short case:[4]
- Unplug the supply. Turn the computer over and remove the six screws from the bottom case.
- Turn it upright, lift off the top case and unplug the keyboard at the right front of the board.
- 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.
- Straighten the ten twist tabs and lift off the top shield.
Replace the chip
[edit | edit source]- Note the chip's orientation.
- Desolder it and clear its holes. Atari Benelux's advice for this board is to clear the holes with a desoldering pump from the solder side, and warns that this is the step most likely to damage the circuit board, so work carefully.[2]
- Fit a socket or the new chip, with pin 1 the same way round as the old one.
- Check the joints under magnification for bridges.
Reassemble
[edit | edit source]Refit the top shield and its tabs, the board and its six screws, the keyboard and the top case, with the longer case screws at the rear.[4]
Testing
[edit | edit source]- Run the cartridge RAM test again until it passes cleanly. exxos ran his RAM test for 500 passes after fitting chips of unknown history.[4][7]
Related pages
[edit | edit source]- Atari 520ST, Atari 260ST, Atari 520ST+ and Atari 520STM
- Atari 520ST+ RAM Repair
- Atari 520ST Video Output Repair
- Atari ST Troubleshooting Guide
- Atari 520ST Schematic (C070231)
References
[edit | edit source]- ↑ 1.0 1.1 1.2 Atari (Japan) Corporation, Schematic Diagram (520ST/260ST), drawing C070231, revision M (April 1986), sheet 2: the sixteen 256K RAMs with their data-bit numbers, decoupling capacitors and pin connections (pin 8 +5 V, pin 16 ground, pin 4 RAS, pin 15 CAS, pin 3 WE, pin 2 data in, pin 14 data out); the memory controller U15 with RAS0, CAS0H and CAS0L on pins 8, 6 and 7. Hosted here: File:Atari 520ST Schematic C070231.pdf.
- ↑ 2.0 2.1 2.2 2.3 Atari (Benelux) B.V., unnumbered Information Technique, "Données pour augmenter la puissance (upgrading) de l'Atari 520ST à 1 MByte": the existing chips listed by bit, the 150 ns NEC 41256C-15 as a suitable part, and desoldering the decoupling capacitors and clearing the holes from the solder side. Hosted here: File:Atari Benelux technical bulletin - upgrading the 520ST to 1 MB.pdf.
- ↑ "Atari 520ST, 260ST, 520ST+, 520STM, 130ST und ST Junior", atari-computermuseum.de (in German), revised 26 June 2024: the short-case models, their RAM and their common main board, C070243.
- ↑ 4.00 4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08 4.09 4.10 4.11 Atari Corporation, 520ST/1040ST Computer Field Service Manual, C026118-002 Rev B (3.6), January 1987. RAM test, error message format, bank table and RAM error codes R0–R4 (printed p. 3.6, PDF p. 32); symptom checklist (PDF p. 51); 520ST disassembly (pp. 4.3–4.4, PDF pp. 48–49). Hosted here: File:Atari 520ST and 1040ST Computer Field Service Manual.pdf.
- ↑ SAMS Computerfacts CSCS12: Atari Model 520ST, Howard W. Sams & Co., June 1986, ISBN 0-672-08974-2. Troubleshooting, "Video": random dots or bars (printed p. 26, PDF p. 28); main board photograph with the RAM chips labelled (p. 9, PDF p. 11). Internet Archive.
- ↑ 6.0 6.1 Atari (Benelux) B.V., Information Technique No. 1, "520ST+": a faulty RAM chip runs hot. Hosted here: File:Atari Benelux technical bulletin 001 - 520ST+ RAM detection and repair.pdf.
- ↑ 7.0 7.1 exxos (Chris Swinson), "The LaST Upgrade, part 2: 512K to 1MB RAM", exxosforum.co.uk, 2008: desoldering the RAM and capacitor holes, fitting the RAM in sockets, and the 500-pass RAM test.