Atari 1040STE Hard Disk Data Corruption Repair

Some Atari 1040STE machines corrupt the data on a hard disk: file and folder names change, directories are damaged and formatting reports bad sectors. Atari Benelux issued a bulletin about it in July 1990, blaming certain makes of SIMM that load the processor's acknowledge line, with a three-part fix; a later handwritten note on the same bulletin replaces the fix with a new DMA chip, the "4140" STE DMA.[1] The Atari 520STE has the same board and the same exposure.[2]
exxos, who has spent years on the problem, finds that the DMA chip itself is rarely at fault and that corruption usually comes from several weaknesses together: an ageing power supply, weak pull-ups on the buses, the timing of the original 68000, and floppy-drive signals without pull-ups. His DMA survival guide sets out the fixes, which he and others have tested on many machines.[3]
Symptoms
[edit | edit source]- Copying files within a partition, creating folders or saving the desktop corrupts names or contents, often after a few repetitions.[3]
- Directories become unreadable, and formatting finds bad sectors.[1]
- The floppy drive reports that a disk is write-protected when it is not, or reads and writes fail at random. exxos counts this as a separate DMA bus fault.[3][4]
Problems that look the same: a failing hard disk or adaptor, a faulty power supply, bad cables, and old hard disk drivers. exxos advises testing the drive on a second machine, preferably an STFM, before blaming the STE, and using a maintained driver.[3]
Before you start
[edit | edit source]- Service the power supply. exxos finds that the DMA circuit is the first thing to fail when the +5 V rail is poor; see Atari 1040STF Power Supply Repair for the ST and STE supplies.[3][5]
- Do not use parity SIMMs. exxos lists them among his mandatory fixes because some are unstable in STEs, especially with a failing supply.[6] Atari Benelux likewise traced its fault to certain makes of SIMM.[1]
- Back up the hard disk.
Tools and parts
[edit | edit source]| Fix | Parts | Source |
|---|---|---|
| Data bus pull-ups | One 10 kΩ nine-pin bussed resistor network, a short wire | exxos |
| Floppy line pull-ups | Five 1 kΩ resistors | exxos |
| Processor | An MC68HC000 in the PLCC package; exxos says any 68HC000 works | exxos |
| Bus networks | 2.2 kΩ nine-pin bussed networks to replace the 4.7 kΩ or 10 kΩ ones; P100 must be 1.2 kΩ | exxos, Atari |
| Atari's 1990 fix | A 30 pF capacitor; a 2.2 kΩ nine-pin network to fit in parallel with P100 | Atari Benelux |
| Atari's later fix | The STE DMA controller, C398739-001 ("4140") | Atari Benelux, Atari parts list |
Sources: exxos,[3][6] Atari Benelux[1] and Atari's parts list.[2] Also a soldering iron, a multimeter and, for the processor swap, a PLCC extraction tool.
Procedure
[edit | edit source]Open the machine
[edit | edit source]Atari's sequence for the STE:[2]
- Unplug the machine. Turn it upside down and remove the six screws in the square holes and the three in the round holes.
- Turn it upright, lift off the top case, unplug the keyboard harness at the right front corner, and unplug and lift out the disk drive.
- Remove the screw on the right of the power supply shield and the three screws between the back-panel shield and the supply shield, straighten the two twist tabs, lift the supply shield off, and remove the two screws at the supply's front corners.
- Remove the three screws at the front of the board assembly, lift it at the front and pull it forward.
- Straighten the upper shield's twist tabs (usually four), remove any copper tape and lift the shield off.
Identify the board
[edit | edit source]- Read the board's assembly number and note which DMA chip is fitted at U300: the early C025913-38 or the later C398739-001A.[3]
- Check the value of P100. Atari's own early fix was to change it from 2.2 kΩ to 1.2 kΩ, and the US parts list shows it as 1.2 kΩ.[3][2]
Data bus pull-ups
[edit | edit source]
- Solder a 10 kΩ nine-pin bussed network onto the eight data pins of the WD1772, U301 (DAL0–DAL7, pins 5 to 12). exxos finds it neater on the WD1772 than on the DMA chip; the two share the data bus.[3][4]
- Wire the network's common pin to +5 V, for example at the +5 V end of a decoupling capacitor.[3]
Floppy line pull-ups
[edit | edit source]- If you use a replacement floppy drive without pull-up resistors of its own, such as the Sony MPF920, solder a 1 kΩ resistor from each output of the 7406 U305 (pins 2, 4, 6, 8 and 10) to +5 V.[3][6]
- A Gotek floppy emulator has 1 kΩ pull-ups on board and does not need this.[6]
Processor
[edit | edit source]- Replace the MC68000 at U100 with an MC68HC000. exxos found that the HC part reacts to the bus-grant signals faster, by up to 22 ns, and is quieter, which cures many DMA problems; it is far cheaper than a new DMA chip.[3][6] Atari's parts list has the processor in a socket; exxos notes that the last board revision, CA401177, has it soldered to the board instead.[2][3]
Bus resistor networks
[edit | edit source]- Replace the nine-pin bussed resistor networks on the address and data buses with 2.2 kΩ networks. exxos found the 4.7 kΩ and 10 kΩ networks too weak even at 8 MHz, and the change also cured DMA problems.[3][6]
- Leave P100 at 1.2 kΩ.[3]
Atari's 1990 fix
[edit | edit source]Atari Benelux's bulletin gives these three changes:[1]
- Fit a 30 pF capacitor on the processor, U100, between pins 13 and 16.
- Reduce P100 to 1.2 kΩ by fitting a second 2.2 kΩ network in parallel with the first.
- Check with a meter that P105 pin 9 is connected to U401 pin 1; the bulletin notes that the connection exists on the board, and it must be made if it is missing.
exxos points out that this capacitor sits directly across two data lines, which is unusual enough that he suspects a misprint, and he saw no improvement from it in any position.[3] The handwritten note on the bulletin replaces the whole fix with a new DMA chip.[1]
DMA chip
[edit | edit source]Replacing the DMA chip is the last resort. The C398739-001A is hard to find and expensive, is not socketed on many boards, and does not fix every machine; exxos found that a C025913-38 that seemed faulty in one STE often worked in another machine.[3]
Reassemble
[edit | edit source]Refit the shields, the board assembly, the supply, the drive and the case in Atari's reassembly order.[2]
Testing
[edit | edit source]- Copy a large set of small files and nested folders from one partition to another, compare them, delete them and repeat. exxos supplies such a test set and recommends running it repeatedly, creating and deleting hundreds of files.[3]
- Atari Benelux wrote HDCHECK for the same purpose: it creates directories and files, checks after each one that the directories and FAT are correct, and is meant for burn-in tests.[1]
- Format and read and write several floppy disks, watching for false write-protect errors.[4]
Related pages
[edit | edit source]- Atari 1040STE and Atari 520STE
- Atari STE Troubleshooting Guide
- Atari 1040STE Reset Circuit Repair
- Atari 1040STF Power Supply Repair
- Hard Drive Maintenance and Repair
- Floppy Drive Repair
References
[edit | edit source]- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 Atari (Benelux) B.V., Information Technique No. 87, "Utilisation du 1040 STe avec un disque dur", 6 July 1990: the symptoms, the SIMM and acknowledge-line explanation, the 30 pF capacitor on U100 between pins 13 and 16, P100 reduced to 1.2 kΩ with a second 2.2 kΩ pack in parallel, the P105 pin 9 to U401 pin 1 connection, the HDCHECK program, and the handwritten note "Remplacer DMA-chip par 4140 (STE DMA)", order number 619227. Hosted here: File:Atari Benelux technical bulletin 087 - 1040STE hard disk data corruption.pdf.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 Atari Corporation, 520STE/1040STE Field Service Manual. Disassembly and reassembly (section 4, printed pp. 43–44, PDF pp. 48–49); parts list: U100 MC68000 in a 68-pin PLCC socket (printed pp. 51–52, PDF pp. 56–57), U300 DMA controller C398739-001 ("DMA CONTL 4140 40P"), P100 1.2 kΩ nine-pin network, P101–P103 and P500–P502 4.7 kΩ nine-pin bussed networks (printed p. 53, PDF p. 58). Hosted here: Atari 520STE/1040STE Field Service Manual (PDF).
- ↑ 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 exxos, "The LaST Upgrade, part 47: Atari STE DMA survival guide", exxosforum.co.uk, last updated 7 May 2024: the symptoms and the file test, the DMA chip numbers C025913-38 and C398739-001A, the STE board revisions, Atari's P100 and bus-network changes, the 10 kΩ data bus network on the WD1772, the 7406 pull-ups, the HC processor, the 2.2 kΩ bus networks and the power supply.
- ↑ 4.0 4.1 4.2 exxos, "Floppy write protected (when its not) fix", exxos's Atari, Amiga & retro forum: the 10 kΩ bussed network on the WD1772 data pins with its common pin to +5 V, and reports from owners of STE, STFM and Mega machines.
- ↑ exxos, "The LaST Upgrade, part 6: Atari PSU repair", exxosforum.co.uk: failing supplies in ST and STE machines and the symptoms they cause.
- ↑ 6.0 6.1 6.2 6.3 6.4 6.5 exxos, "MANDATORY FIXES", exxos's Atari, Amiga & retro forum, 31 January 2019: item 2 (no parity SIMMs), item 3 (DMA data bus pull-ups), item 4 (1772 pull-ups), item 5 (HC processor for STE DMA problems) and item 12 (2.2 kΩ bus resistors); tzok's reply on Gotek drives.