Jump to content

Atari XF551 Firmware EPROM Replacement

From RetroTechCollection
Atari XF551 firmware OTP PROM C101696-003 at U6 (Igor Gramblicka)
The original firmware chip at U6 (board legend 2764): a one-time-programmable PROM labelled C101696-003, REV. 7.7, with the 74LS373 latch U5 above it (photo: Igor Gramblička)

The Atari XF551 runs on 4 KB of firmware in its 8040 or 8050 microcontroller (U1). On every 8040 board and most 8050 boards the firmware is in a separate 28-pin chip at U6, addressed through the latch U5 and read under control of U1's PSEN output.[1][2] Most drives left the factory with a one-time-programmable PROM there (a 2764-type chip without a window); some have a 2764 EPROM. The firmware occupies the lower 4 KB, because the chip's top address line A12 is tied to ground, and the upper 4 KB is left as zeros.[3]

Replacing that chip with a freshly programmed EPROM is the repair for three faults. Igor Gramblička has met several drives in which some bits of the firmware chip had faded: four of the drives he worked on were cured by programming a new chip, and he suspects the programming pulses were cut short in production.[4] Firmware 7.7, the last Atari release, fails to detect the density of a newly inserted disk; Bob Woolley's patched version 7.7p, which changes 23 bytes, fixes this.[4] And early drives were made with separate firmware for NTSC and PAL computers, with slightly different transfer rates, so a drive from one region may not work with a computer from the other; version 7.7 works with both.[4]

Symptoms

[edit | edit source]
  • The drive behaves erratically, and cleaning the heads does not cure it.[4]
  • After a disk is changed for one of a different density, the drive reads it wrongly or not at all. This is the normal behaviour of firmware 7.7.[4][3]
  • The drive is unreliable on a PAL computer and came from North America, or the reverse.[4]

A drive that does not move its head when switched on is normal: the XF551 seeks track 0 only when a disk is inserted and the latch closed.[4] Faults on the serial bus are covered in Atari XF551 SIO Port Repair, and power faults in Atari XF551 Power Supply Repair. The Atari XF551 Drive Troubleshooting guide covers the rest.

Tools and parts

[edit | edit source]
  • An EPROM programmer that handles the chip you will fit.[3]
  • A 2764 EPROM (8 KB), or a 2732 (4 KB). Gramblička found that even the slowest 2732, with a 450 ns access time, works in the XF551.[3]
  • A firmware image. Gramblička publishes Bob Woolley's 7.7p both as an 8 KB file for a 2764 and as a 4 KB file for a 2732, on his additional-information and 2732 pages.[4][3] Stefan Dorndorf's Hyper-XF is an alternative; it needs an extra microswitch fitted to the mechanism so that the drive knows when a disk has been inserted.[4]
  • An IC extractor or a small flat screwdriver; see IC Removal and Socketing.

Procedure

[edit | edit source]

Open the drive and find U6

[edit | edit source]
Atari XF551 board with regulator heatsink removed (Igor Gramblicka)
A controller board marked 70822A, with the firmware chip in its socket at the top right (photo: Igor Gramblička)
  1. Switch the drive off and unplug the adaptor and both SIO cables.
  2. Open the case and lift the drive mechanism aside to expose the controller board.[4][5]
  3. Find U6, the 28-pin chip in a socket next to the 74LS373 (U5). The board legend reads 2764, or 276 on at least one board.[3][6] The original part carries a paper label with its part number and firmware version, for example C101696-003 REV. 7.7.[3]
  4. Note which way round the chip sits: the notch marks the pin 1 end.
  5. If there is no chip at U6 and no 74LS373 at U5, the firmware is inside the 8050 microcontroller and this procedure does not apply.[1][7]

Programme the new chip

[edit | edit source]
  1. For a 2764, programme the 8 KB image. The firmware must be in the lower 4 KB, as on the original chip.[3]
  2. For a 2732, programme the 4 KB image, or the lower 4 KB of an 8 KB image; the upper half of an 8 KB XF551 image is filler.[4][3]
  3. Label the new chip with the firmware version.[3]

The original one-time-programmable chip cannot be erased and reused.[3]

Fit the new chip

[edit | edit source]
Atari XF551 2732 EPROM fitted offset in the U6 socket (Igor Gramblicka)
A 2732 EPROM with firmware 7.7p fitted in the 28-pin U6 socket, leaving socket pins 1, 2, 27 and 28 empty (photo: Igor Gramblička)
  1. Lever the old chip out of its socket evenly from both ends.
  2. A 2764: fit it the same way round as the original, with all 28 pins in the socket.[5]
  3. A 2732: fit it with its notch towards the socket's notch end and its pin 1 in socket pin 3, so that socket pins 1, 2, 27 and 28 stay empty. No other change to the board is needed.[4][3]
  4. Check that no pin has folded under the chip.
  5. Lower the mechanism back over the board and close the case.

Testing

[edit | edit source]
  1. Switch the drive on. The BUSY light should come on briefly and go out.[8]
  2. Boot DOS from the drive and list the directory.[8]
  3. With 7.7p fitted, read a disk of one density, change it for a disk of another density and read that too. The patched firmware reads the new disk at its own density.[3]
  4. Format a blank disk.[8]

Variations

[edit | edit source]
  • A few drives have the firmware inside the 8050 microcontroller, Atari part C070235, and no chip at U6. Gramblička read the firmware from one; it differs from version 7.7 by 16 bytes and has the same density-change problem.[1][7]
  • Gramblička also fits 7.7p and Hyper-XF together in one 2764 and selects between them with a switch on address line A12. This needs a track cut on the board and the Hyper-XF microswitch.[5][6]
[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 Michael D. Current (ed.), Atari 8-Bit Computers: Frequently Asked Questions, last modified 2 August 2026, mcurrent.name (retrieved 2026-10-25), section 3.2.3: 8040 (CB101393) or 8050 (C070235) microcontroller, 4 KiB firmware held in a separate ROM on all 8040 units and some 8050 units, and inside the 8050 on others. Community reference.
  2. ↑ Atari (Japan) Corporation, Schematic Diagram XF551 (FCC), drawing C100727 rev. 1, sheet 1 of 2, preliminary release, November 1987: U1 (8040) PSEN output to CE of U6, address lines A8 to A11 from P20 to P23 to U6, ALE to the enable input of U5, data bus D0 to D7 to U5. Hosted as File:Atari XF551 Schematic C100727.pdf.
  3. ↑ 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 Igor Gramblička (Igi), "Atari XF551 + Eprom 2732 ? – No problem !", Igi blog, 13 June 2023 (retrieved 2026-10-25), in Slovak. Firmware in the lower 4 KB with A12 tied to ground and the upper 4 KB zero; OTP PROM or 2764 EPROM as fitted; a 2732 (even 450 ns) fitted with socket pins 1, 2, 27 and 28 empty; 4 KB images of 7.7p and Hyper-XF; the OTP chip cannot be erased; photographs of the original C101696-003 REV. 7.7 chip and of a fitted 2732.
  4. ↑ 4.00 4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08 4.09 4.10 4.11 Igor Gramblička (Igi), "Atari XF551 – doplnkové informácie / Atari XF551 – additional information", Igi blog, 26 March 2019 with later additions (retrieved 2026-10-25), in Slovak. Faded EPROM contents cured by reprogramming in four drives, firmware 7.7 and the 23-byte 7.7p patch, early NTSC and PAL firmware, Hyper-XF and its microswitch, fitting a 2732 with its pin 1 at socket pin 3, the head not seeking at switch-on, lifting the mechanism aside. Community repair experience.
  5. ↑ 5.0 5.1 5.2 Igor Gramblička (Igi), "Repasovaná – ATARI XF551 – recondition – 6", Igi blog, 5 February 2014 (retrieved 2026-10-25), in Slovak. Two operating systems in one 2764 selected through A12 (pin 2); after opening the drive and setting the mechanism aside, the original chip is taken out of its socket and the new one put in.
  6. ↑ 6.0 6.1 Igor Gramblička (Igi), "Atari XF551 – ešte raz oživenie tejto jednotky / once again reviving this unit", Igi blog, 17 March 2020 (retrieved 2026-10-25), in Slovak. A board with U6 marked 276 instead of 2764; item 10, the EPROM socket modified for two operating systems.
  7. ↑ 7.0 7.1 Igor Gramblička (Igi), "Atari XF551 – OS firmware in PROM 8050", Igi blog, 29 May 2023, with an addition of 31 May 2023 (retrieved 2026-10-25), in Slovak. A drive with an Atari-marked 8050 (C070235) and no EPROM fitted, its firmware read out, 16 bytes different from version 7.7, with the same density-change fault.
  8. ↑ 8.0 8.1 8.2 Atari Corporation, Atari DOS 2.5: XF551 Disk Drive Owner's Manual, C033537-001, 1987, section 1: the BUSY light at switch-on, booting DOS and formatting a disk. Hosted as File:Atari DOS 2.5 XF551 Disk Drive Owner's Manual C033537.pdf.