Article
IDE Hard Disk Interface for 8-bit Controllers
controller seeks attachment with a hard disk…
Although 8-bit operation is included in the IDE interface, most hard disk drives do not support this mode. If you nonetheless want to control such drives with an 8-bit microcontroller, you will find the interface circuit described here to be essential.Hard disk drives as mass storage devices are an indispensable part of modern computers. A few years ago, they were large and expensive devices, but presently (and up until the next generation) they are available with enormous capacities and small physical dimensions at quite reasonable prices. Most contemporary computers use hard disk drives with IDE interfaces. Since this interface (which is also referred to as ATA) comes from the PC world and thus works with a 16-bit operating system, it is possible to use it directly with 8-bit controllers, albeit with some problems. Although the interface can be switched to the 8-bit operating mode, this does not always work in practice, since many hard disk drives do not support this option.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1-R7 = 22 Ohm
R8 = 1k Ohm
Capacitors:
C1-C4 = 100nF
C5 = 47µF 16V
Semiconductors:
D1 = high-efficiency LED, red
IC1 = 74HCT245
IC2,IC3 = 74HCT573
IC4 = GAL 16V8 (programmed, order code 000202-31)
Miscellaneous:
K1 = 40-way boxheader with polarisation
K2 = 64-way DIN41612-C socket (female), angled pins, PCB mount
PCB, order code 000202-1
Disk, order code 000202-11 (example program in C and GAL listing)
R1-R7 = 22 Ohm
R8 = 1k Ohm
Capacitors:
C1-C4 = 100nF
C5 = 47µF 16V
Semiconductors:
D1 = high-efficiency LED, red
IC1 = 74HCT245
IC2,IC3 = 74HCT573
IC4 = GAL 16V8 (programmed, order code 000202-31)
Miscellaneous:
K1 = 40-way boxheader with polarisation
K2 = 64-way DIN41612-C socket (female), angled pins, PCB mount
PCB, order code 000202-1
Disk, order code 000202-11 (example program in C and GAL listing)
Discussion (0 comments)