| Author |
Message |
Sputnik
Joined: 19 Oct 2004 Posts: 150 Helped: 3 Location: South Africa
|
24 Oct 2004 1:33 Interfacing an IDE hard drive |
|
|
|
Does anyone know how to interface an IDE hard drive? I don't know the pin layout (of the connector) or how to write/read data. It's an old Western Digital.
Thanks
Sputnik
|
|
| Back to top |
|
 |
jmantilla
Joined: 04 Oct 2004 Posts: 20 Helped: 1 Location: Colombia
|
24 Oct 2004 4:08 Re: Interfacing an IDE hard drive |
|
|
|
for hw interfacing take a look at this page ...
http://www.pjrc.com/tech/8051/ide/
it shows how to interface an IDE drive using microcontrollers.
|
|
| Back to top |
|
 |
dainis
Joined: 15 May 2001 Posts: 1453 Helped: 56
|
24 Oct 2004 9:41 Re: Interfacing an IDE hard drive |
|
|
|
http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2002/rjk18/index.htm
http://hem.passagen.se/communication/ide.html
http://directory.google.com/Top/Computers/Hardware/Buses/
http://www.xs4all.nl/~ganswijk/chipdir/abc/i.htm#ide
http://www.sxlist.com/techref/drives.htm
http://www.ethernut.de/en/index.html
|
|
| Back to top |
|
 |
Sputnik
Joined: 19 Oct 2004 Posts: 150 Helped: 3 Location: South Africa
|
25 Dec 2004 20:58 Interfacing an IDE hard drive |
|
|
|
I know that new HDDs have built-in temperature sensors, so, how do I extract this information from the HDD?
Sputnik
|
|
| Back to top |
|
 |
dainis
Joined: 15 May 2001 Posts: 1453 Helped: 56
|
25 Dec 2004 22:34 Re: Interfacing an IDE hard drive |
|
|
|
| Sputnik wrote: |
I know that new HDDs have built-in temperature sensors, so, how do I extract this information from the HDD?
Sputnik  |
Self-Monitoring Analysis and Reporting Technology (SMART)
In an effort to help users avoid data loss, drive manufacturers are now incorporating logic into their drives that acts as an "early warning system" for pending drive problems. This system is called Self-Monitoring Analysis and Reporting Technology or SMART. The hard disk's integrated controller works with various sensors to monitor various aspects of the drive's performance, determines from this information if the drive is behaving normally or not, and makes available status information to software that probes the drive and look at it.
Source examples:
http://heanet.dl.sourceforge.net/sourceforge/smartmontools/smartmontools-5.33.tar.gz
|
|
| Back to top |
|
 |
Sputnik
Joined: 19 Oct 2004 Posts: 150 Helped: 3 Location: South Africa
|
25 Dec 2004 22:50 Interfacing an IDE hard drive |
|
|
|
Thanks, but if I had a microcontroller interfaced to the HDD, what commands must be sent to request the information and how must it be interpreted?
Sputnik
|
|
| Back to top |
|
 |
banh
Joined: 16 Dec 2004 Posts: 472 Helped: 12
|
26 Dec 2004 5:16 Interfacing an IDE hard drive |
|
|
|
you can google for those mp3 projects, usually consisting of IDE interface for hard drives:
http://www.angelfire.com/de2/zel/#1
http://hem.passagen.se/communication/ide.html
http://www.repairfaq.org/filipg/LINK/F_IDE-tech.html
|
|
| Back to top |
|
 |
Regnum
Joined: 17 Jun 2004 Posts: 264 Helped: 12 Location: Hurlingham
|
26 Dec 2004 8:43 Re: Interfacing an IDE hard drive |
|
|
|
| Sputnik wrote: |
Thanks, but if I had a microcontroller interfaced to the HDD, what commands must be sent to request the information and how must it be interpreted?
Sputnik  |
I suggest you to read the following book and the FAT16/32 specs from Microsoft
The SCSI Bus and IDE Interface
http://www.edaboard.com/viewtopic.php?t=95697
Last edited by Regnum on 27 Dec 2004 3:57; edited 1 time in total |
|
| Back to top |
|
 |
dainis
Joined: 15 May 2001 Posts: 1453 Helped: 56
|
26 Dec 2004 10:20 Re: Interfacing an IDE hard drive |
|
|
|
| Sputnik wrote: |
Thanks, but if I had a microcontroller interfaced to the HDD, what commands must be sent to request the information and how must it be interpreted?
Sputnik  |
You must looking sources from my posted link, these is only sources that I found
....
http://smartlinux.sourceforge.net/smart/index.php
http://smartlinux.sourceforge.net/smart/attributes.php
http://smartlinux.sourceforge.net/smart/education.php
Look documents under "Manufacturers"
http://www.wdc.com/en/library/legacy/EIDE/79-850122.pdf
Specification:
ftp://ftp3.ds.pg.gda.pl/people/macro/S.M.A.R.T./8035R2_0.PDF
|
|
| Back to top |
|
 |