Floppy disk drive interface
View on WikipediaEach generation of floppy disk drive (FDD) began with a variety of incompatible interfaces but soon evolved into one de facto standard interface for the generations of 8-inch FDDs, 5.25-inch FDDs and 3.5-inch FDDs.[1] For example, before adopting 3.5-inch FDD standards for interface, media and form factor there were drives and media proposed by Hitachi, Tabor, Sony, Tandon, Shugart and Canon.[2]
Sizes
[edit]8 inch
[edit]The de facto standard 8 inch FDD interface is based upon the Shugart Associates models SA800/801[3] FDDs and models SA850/851[4] FDDs.[5]: 171 The signal interface uses a 50-pin PCB edge connector which mates to a flat ribbon cable connector. Separate connectors are provided for both AC and DC power, as many 8 inch drives used AC spindle motors.[3][4]
5.25 inch
[edit]
The de facto standard 5.25 inch FDD interface is based upon the Shugart Associates SA400[6] FDD.[5]: 169 The signal interface uses a 34-pin PCB edge connector which mates to a flat ribbon cable connector. DC power is provided on a separate connector.[6] The 34-pin connector is similar in pinout to the standard 50-pin connector for 8 inch FDDs.
3.5 inch
[edit]The de facto standard for 3.5 inch drives uses a 34-pin header mating to an IDC Berg connector, collectively slightly smaller than the PCB edge pin connector and mating socket used for the 5¼ inch standard but with the same 34 pin definitions as the 5¼ inch standard.[7] A separate connector is provided for DC power.[1] A 'universal' cable would have four drive connectors, two for each size of FDD, although cables which have only two drive connectors are common. The cable is normally a ribbon cable. For IBM-compatible floppy controllers, a twist in the cable reverses the order of conductors 10 through 16 for the second connector. This allows two drives connected to the same cable to be addressed by the host controller without having to select drive assignments with jumpers on the drives themselves. Only two drives may be connected to such a cable. If there are four drive connectors at least two must remain unused.
Signal and control interface
[edit]3.5-inch and 5.25-inch drives connect to the floppy controller using a 34-conductor flat ribbon cable for signal and control. Most controllers support two floppy drives, although the Shugart standard supports up to four drives attached to a single controller. A cable could have 5.25-inch style connectors, 3.5-inch style connectors, or a combination. After IBM introduced the "twist" to floppy cables, and when both 5.25-inch and 3.5-inch drives were in common use, many cables had four connectors: one of each type before the twist, and one of each type after the twist. These cables still only supported two drives, one before and one after the twist, but they allowed using one cable for any combination of drives with differing connectors. This type of cable is called a universal cable.[8]
When multiple floppy disks are connected, many pins are shared, including the read and write data pins. As a result, early floppy drives required jumpers to be set on the drive to tell it which controller commands it should receive. When introducing the PC, IBM sliced the cable between the first and second drive, and twisted seven of the conductors, effectively flipping the four conductors which specifically addressed the first or second drive. (The remaining three were ground only, so were not affected by the twist.) As a result, all drives could have their jumpers set to be drive "B", but if they were connected after the twist, they would appear to the controller as drive "A". This eliminated the need to change selection jumpers in the drive, and eventually many floppy drives were manufactured without jumpers at all, instead being hardwired as drive "B". As the IBM PC created a market for clones and compatibles, many manufacturers adopted the same cable twist system, although jumpers may still be required on systems that are older, or not based on the IBM PC.[9]
The drive that is at furthest end of the cable additionally would have a terminating resistor installed to maintain signal quality.[10]
The following explanation of pinout is for reference only.
| Pin number | Abbreviation | Description | Notes | Type |
|---|---|---|---|---|
| 2 | DENSEL | Density Select 1=Low/0=High | The default use is 0 | Output |
| 4 | RSVD | Reserved | No connection or connect to the ground | |
| 6 | RSVD | Reserved | No connection or connect to the ground | |
| 8 | INDEX# | Index | 0=Index | Input |
| 10 | MOTEA# | Motor A Enable | 0=Motor Enable Drive 0 | Output |
| 12 | DRVSB | Drive Select B | Output | |
| 14 | DRVSA | Drive Select A | Output | |
| 16 | MOTEB# | Motor B Enable | 0=Motor Enable Drive 1 | Output |
| 18 | DIR# | Direction Select | Low Current/Direction in uPD765 controller | Output |
| 20 | STEP# | Head Step | Fault Reset/Step in uPD765 controller | Output |
| 22 | WDATA | Write Data | Output | |
| 24 | WGATE# | Floppy Write Enable | 0=Write Gate | Output |
| 26 | TRK0# | Track 0 | Fault/Track 0 in uPD765 controller | Input |
| 28 | WPT# | Write Protect | 0=Write Protect | Input |
| 30 | RDATA# | Read Data | Input | |
| 32 | HDSEL#/SIDE | Head Select / Side select | Two uses, see application or use for details.[clarification needed] (Side select:1=Side 0/0=Side 1) | Output |
| 34 | DSKCHG# | Disk Change | 1=Disk Change/0=Ready | Input |
| 3 | RSVD | Reserved | No connection or connect to the ground | |
| 5 | N/C | No connection | Pins usually do not exist here to prevent the male plug from being inserted in the opposite direction | |
| Odd pins 1 thru 33 | GND | Ground | Except for the 3rd and 5th pins | Power |
"#" indicates that the low electric level is effective (aka "active low").
Motor A,B is also known as Motor 0,1.
Since floppy disks are rarely used nowadays, "MOTEB#" and "DRVSB" pins are not connected in motherboards designed with floppy disk data interfaces, and only one floppy disk drive can be connected.
| Wire | Controller | Drive A | Drive B | Description |
|---|---|---|---|---|
| 1-9 | 1-9 | 1-9 | 1-9 | No Change |
| 10 | 10 | 16 | 10 | Motor Enable Drive 0/1 |
| 11 | 11 | 15 | 11 | Ground, No Change |
| 12 | 12 | 14 | 12 | Drive Select 0/1 |
| 13 | 13 | 13 | 13 | Ground, No Change |
| 14 | 14 | 12 | 14 | Drive Select 0/1 |
| 15 | 15 | 11 | 15 | Ground, No Change |
| 16 | 16 | 10 | 16 | Motor Enable Drive 0/1 |
| 17-34 | 17-34 | 17-34 | 17-34 | No Change |
See also
[edit]References
[edit]- ^ a b Mueller, Scott (2006-03-24). "Floppy Disk Drives, Past and Present". Upgrading and Repairing PCs (17 ed.). Que Publishing. ISBN 0-7897-3404-4. ISBN 978-0-7897-3404-4 EAN 2147483647. Archived from the original on 2022-01-08. Retrieved 2022-01-01 – via flylib.com.
[…] all PC floppy disk drives are still based on (and mostly compatible with) the original Shugart designs, including the electrical and command interfaces. […] The standard interface that all PC floppy disk drives use is called the Shugart Associates SA400 interface. It was invented in the 1970s and is based on the NEC 765 controller chip.
- ^ Abraham, Robert (January 1983). "Microfloppy Drives Achieve High Densities and Faster Data Access". Computer Technology Review. p. 239.
- ^ a b SA800/801 Diskette Storage Drive (PDF). OEM Manual. Sunnyvale, California, USA: Shugart. May 1980. P/N 50574-4. Archived (PDF) from the original on 2021-03-09. Retrieved 2022-01-02. (1+iv+40+1 pages)
- ^ a b "SA850/851 Bi-Compliant Double Sided Diskette Storage Drive" (PDF). OEM Manual. Sunnyvale, California, USA: Shugart. November 1980. P/N 39017-0. Archived (PDF) from the original on 2020-11-29. Retrieved 2022-01-02. (1+iv+50+1 pages)
- ^ a b Porter, James (February 1982). "Floppy-disk drives: a truly flexible industry standard". Mini-Micro Systems. Cahners Publishing Company. pp. 169, 171. pp. 169, 171:
[…] SA400, Industry standard for size and interface […] SA800, SA801, SA850, SA851, Industry standard for size and interface […]
- ^ a b SA400L Minifloppy Diskette Storage Drive (PDF). OEM Manual. Sunnyvale, California, USA: Shugart. November 1982 [1981]. P/N 39019-1. Archived (PDF) from the original on 2020-07-27. Retrieved 2022-01-02. (2+iv+29+1 pages)
- ^ Davis, Larry (2015-06-13). "Floppy Disk Drive Pinout". www.interbus.com. Archived from the original on 2022-01-07. Retrieved 2022-01-06.
- ^ Davis, Larry (2015-06-13). "Floppy Drive Pinout, Signal names, Pin out Description and Cable twist wiring". www.interfacebus.com. Retrieved 2019-01-29.
- ^ Farquhar, David "Dave" L. (2021-11-24). "Floppy drive pinout". The Silicon Underground. Archived from the original on 2022-01-08. Retrieved 2022-01-04.
The pinouts for all these drives are all based on the original Shugart floppy drive [… of the SA800 Series], but many manufacturers changed them slightly to suit their own purposes.
- ^ Scott Mueller, Upgrading and Repairing PCs, Second Edition, Que, 1992, ISBN 0-88022-856-3,page 487
Further reading
[edit]- Johnson, Herbert "Herb" R. (2021-07-21) [2006]. "Tech information on floppy disks drives and media". retrotechnology.com. New Jersey, USA. Archived from the original on 2022-01-01. Retrieved 2022-01-04.
Floppy disk drive interface
View on GrokipediaHistorical Development
Origins in 8-inch Drives
The origins of the floppy disk drive interface trace back to IBM's development of the technology in the late 1960s, culminating in the first commercial implementation in 1971. IBM introduced the 23FD "Minnow" drive, a read-only 8-inch floppy disk system with approximately 80 KB capacity, designed to load microcode into the controllers of the IBM 3330 hard disk storage facility and System/370 mainframes, replacing slower punched card methods.[7] This single-sided drive operated at 360 RPM and marked the initial use of flexible magnetic media for data loading in enterprise computing environments.[8] By 1973, IBM advanced the technology with the 33FD drive, the first read-write 8-inch floppy disk drive, integrated into the 3740 Data Entry System for direct data input and storage, equivalent to about 3,000 punched cards per disk.[8] The 33FD featured 77 tracks per side in single-density format, yielding around 256 KB capacity, and utilized a 50-pin interface for control and data signals.[9] Early drives like the IBM 33FD required DC supplies for logic and head positioning, while subsequent models incorporated separate AC connections for the spindle motor.[8] Prior to widespread standardization, various manufacturers produced incompatible interfaces, complicating integration; for instance, Memorex's 651 drive in 1972 diverged from IBM's specifications, lacking interoperability.[8] This fragmentation ended with Shugart Associates' SA800 (single-sided, 1973) and SA801 (double-sided, 1976) drives, which established the de facto 8-inch standard with 77 tracks, single-density capacities up to 500 KB, and double-density options reaching 1.2 MB per disk.[8] These drives adopted a 50-pin connector and maintained the AC/DC power scheme, with the spindle motor running directly off the 115 VAC line at 360 RPM, enabling broad OEM adoption and laying the groundwork for later adaptations to smaller form factors in the late 1970s.[10]Transition to Smaller Sizes
The transition from 8-inch floppy disk drives to smaller form factors began in the mid-1970s, driven by the need for more compact, cost-effective storage in emerging microcomputer systems. In 1976, Shugart Associates introduced the SA400, the first 5.25-inch drive, which featured a single-sided design with 35 tracks and an unformatted capacity of approximately 110 KB, marking a significant reduction in size while maintaining compatibility with core signaling principles from larger drives.[11][12] This model served as the foundation for 5.25-inch signaling, adapting the established Shugart interface to fewer pins for simpler integration. This evolution was supported by floppy disk controllers like the Western Digital WD1771 (1976), which handled the signaling for smaller drives. By the late 1970s and early 1980s, 5.25-inch drives evolved rapidly to meet growing demand for higher capacities in personal computing. Double-density versions emerged around 1978, increasing storage to about 360 KB on double-sided disks with 40 tracks per side, while high-density double-sided models reached 1.2 MB by the early 1980s, supporting the expansion of software and data needs.[13] To accommodate these smaller drives, the interface shifted from the 50-pin connector used in 8-inch models to a 34-pin design, which reduced cabling complexity and manufacturing costs without altering fundamental electrical characteristics.[14] The introduction of 3.5-inch drives further accelerated the move to compact formats, with Sony developing the first such mechanism in 1981 to enhance portability and durability through a rigid case enclosing the media.[15] Initial capacities were around 400 KB using single-sided, double-density encoding, as seen in the Apple Macintosh's adoption in 1984, which popularized the format; by the mid-1980s, double-sided versions doubled to 800 KB, and high-density variants achieved 1.44 MB.[16] Key milestones included Hewlett-Packard's integration of 3.5-inch drives in systems like the HP 150 in 1983, and the IBM PC XT's use of 5.25-inch drives that same year, which standardized these smaller sizes for widespread PC compatibility and spurred industry adoption.[17] Drive speeds also standardized during this period to optimize performance and media reliability, with 5.25-inch and 3.5-inch models operating at 300 RPM—contrasting the 360 RPM of 8-inch drives—to balance data transfer rates with mechanical stability in smaller enclosures.[18] These adaptations not only reduced physical footprints but also improved accessibility for desktop and portable computing, laying the groundwork for floppy interfaces in consumer electronics through the 1980s.Physical Interfaces
Form Factors and Dimensions
Floppy disk drives were produced in several standardized form factors, each corresponding to the diameter of the disk media they accommodated. The original 8-inch drives were full-height, measuring approximately 8.5 x 14.25 x 4.6 inches (width x depth x height, exclusive of front panel), supporting single- or double-sided media with unformatted capacities up to approximately 1.6 MB for double-sided double-density models, 77 tracks per side, and a spindle speed of 360 RPM.[19][3] These drives utilized flexible envelopes for disk protection, allowing for reliable operation in early computing environments. 8-inch drives were typically full-height (about 4.6 inches), while 5.25-inch drives could be full-height (3.25 inches) or half-height (1.63 inches), and 3.5-inch were standardized as half-height (1 inch). The 5.25-inch form factor, commonly implemented in half-height drives measuring 5.25 x 5.75 x 1.63 inches, introduced variants including single-sided, double-sided, double-density, and quad-density configurations.[20] Track counts ranged from 35 to 80 per side, with formatted capacities spanning 160 KB for double-density to 1.2 MB for high-density models.[21] Like their larger predecessors, these drives operated at 300 RPM and used soft-sectored media in protective jackets. Smaller 3.5-inch drives adopted a half-height profile of 3.5 x 4 x 1 inches, featuring rigid cases with a sliding metal shutter for enhanced dust protection.[22] They supported 80 tracks per side and spindle speeds of 300 RPM, with formatted capacities from 720 KB in double-density (double-sided) to 2.88 MB in extended-density variants.[22] Track densities varied across form factors to balance capacity and mechanical precision. Early 8-inch and 5.25-inch double-density drives used 48 tracks per inch (TPI), while higher-capacity 5.25-inch high-density and 3.5-inch high-density models achieved up to 96 TPI. These differences influenced head positioning accuracy and media requirements. Media compatibility across form factors was limited due to variations in physical design. Differing hub structures—metal-reinforced in 3.5-inch disks versus flexible rings in larger sizes—and index hole placements, such as envelope-punched holes in 8-inch and 5.25-inch media versus offset hub notches in 3.5-inch cartridges, prevented interchangeability without specialized adapters.[23]Connectors and Cabling
The connectors and cabling for floppy disk drive (FDD) interfaces evolved with the form factors, prioritizing reliable signal transmission and power delivery in early computing systems. For 8-inch drives, the signal interface employs a 50-pin printed circuit board (PCB) edge connector, which mates with a flat ribbon cable to carry control, status, and data signals between the drive and controller.[24] Separate power connectors handle AC and DC requirements, typically a 4-pin connector for AC power to the spindle motor and another 4-pin for DC voltages, reflecting the higher power needs of these larger drives that often included internal AC motors.[25] In contrast, 5.25-inch and 3.5-inch drives standardized on a 34-pin interface using insulation displacement connectors (IDC) or Berg headers, connected via flat ribbon cables for daisy-chaining multiple units to a single controller port.[26] The IDC type crimps onto the ribbon cable without soldering, facilitating easy assembly, while the Berg header provides a compact, shrouded connection suited to the smaller chassis of 3.5-inch models.[26] Cabling follows established standards to support multi-drive configurations and addressing. The Shugart interface uses a 34-conductor ribbon cable capable of connecting up to four drives in a daisy-chain, with drive select signals determining addressing.[25] For IBM PC systems, the cable incorporates a twist that reverses pins 10 through 16, enabling two-drive daisy-chaining where the first drive (A:) connects before the twist and the second (B:) after, simplifying jumper settings on identical drives.[27] Power for these smaller drives relies solely on DC via a standard 4-pin Molex connector, delivering +5 V and +12 V lines without AC, as spindle motors shifted to DC operation post-8-inch era.[26] To maintain signal integrity, ribbon cable lengths are limited to approximately 2 meters, beyond which degradation can occur due to capacitance and noise; the last drive in the chain requires terminator resistors to prevent reflections.[28]Electrical Signals
Control and Status Signals
The control and status signals in floppy disk drive (FDD) interfaces manage drive selection, mechanical operations, write protection, and position feedback, distinct from data transfer lines. These signals operate over a 34-pin ribbon cable in standard PC-compatible systems, using TTL-compatible 5V logic levels with open-collector outputs from the controller for compatibility across multiple drives.[29] All signals are active low, meaning they are asserted by pulling the line to ground (0V), with inactive states at approximately 5V via pull-up resistors in the drives or cable terminators.[29][30] Drive Select signals (DS0 to DS3) address up to four drives by asserting one line at a time via jumper configuration on the drive, enabling it to respond to commands while deselecting others to prevent interference, with standard drive connector pins 12 (DS1/Drive B) and 14 (DS0/Drive A), using twisted pairs in the cable for A/B differentiation; additional lines for drives C/D.[29] The Motor On signal (MOT A/B, pins 10 and 16) activates the spindle motor in the selected drive, drawing power from separate +12V lines (pins 4, 6, etc.) through an internal relay or transistor; the motor reaches operating speed (typically 300 RPM for 3.5-inch or 360 RPM for 5.25-inch drives) within 500 ms.[29][30] Head positioning uses the Direction Select (DIR, pin 18) signal to set movement toward the center (low) or outer tracks (high), combined with the Step (STP, pin 20) signal, which pulses to advance the stepper motor one track (typically 6 ms per track in 5.25-inch high-density drives).[29][30] The Write Gate (WG, pin 24) protects against accidental writes by gating the write amplifier; it must be low to enable writing, ensuring data signals only affect the media when intended.[29] Status signals provide feedback: Track 0 (TRK0, pin 26) goes low when the head reaches the outermost track, detected by a mechanical sensor for seek calibration; Write Protect (WP, pin 28) goes low if the disk's write-protect notch is uncovered (or taped over for enable), signaling the controller to inhibit writes.[29][30] The Index (IDX, pin 8) pulses low once per disk rotation (duration ~2 ms) from an optical or mechanical sensor detecting the index hole, aiding in sector timing and synchronization with data read/write operations.[29] These control signals integrate briefly with data lines during operations, such as asserting Write Gate before write data flux transitions.[30]| Signal | Pin(s) | Direction | Purpose | Typical Specs |
|---|---|---|---|---|
| Drive Select (DS0-DS3) | 12, 14 (twisted for A/B; additional for C/D) | Controller to Drive | Selects one of up to 4 drives | Active low, TTL 5V |
| Motor On (MOT A/B) | 10, 16 | Controller to Drive | Enables spindle motor | Active low, enables +12V power |
| Direction Select (DIR) | 18 | Controller to Drive | Sets head step direction | Active low (inward), TTL 5V |
| Step (STP) | 20 | Controller to Drive | Advances head one track | Active low pulses, 6 ms/track typical |
| Write Gate (WG) | 24 | Controller to Drive | Enables write operation | Active low, TTL 5V |
| Track 0 (TRK0) | 26 | Drive to Controller | Indicates outermost track | Active low when on track 0 |
| Write Protect (WP) | 28 | Drive to Controller | Signals protected media | Active low when protected |
| Index (IDX) | 8 | Drive to Controller | Marks rotation start | Active low pulse, once/rotation (~2 ms) |