Hi,
Does anyone know where I can download the latest ata/atapi spec from?
I've read some of the tutorials on using PIO and LBA28/48 for hdd access and they've been very helpful, but to fully support and implement an hdd driver for my os I really want to know about using UDMA properly, atapi and setting the pio/udma modes for maximum transfer rates. Also how to identify/configure the devices properly and to obtain their respective geometry and feature support.
Thanks!
John
ATA/ATAPI specification
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
You could of at least searched around a little....
Several standards are indexed on Wikipedia.
Another useful site is http://www.ata-atapi.com/
Several standards are indexed on Wikipedia.
Another useful site is http://www.ata-atapi.com/
RE: UDMA / ADMA
Once you understand the methodology of LBA disk transfers, sadly, all the rest of the implementation of DMA methods is specific to PCI (with its Bus Mastering DMA protocol over the PCI bus). Unfortunately, the PCI specs cost $1500, and I have never found a free copy. Basically, it's a matter of getting the BAR (base address register) out of the PCI configuration space of the PCI disk controller, as I understand it -- but I have not implemented it myself, yet. So, you will be able to find more info on various wikis about reading PCI configurations -- but I don't think you will find the official specs.
Last ata/atapi spec you can found on site
http://www.t13.org/
Example, seach
http://www.google.ru/search?complete=1& ... 13.org&lr=
"Programming Interface for Bus Master IDE Controller" (IDE-BusMaster.pdf)
http://www.t13.org/
Example, seach
http://www.google.ru/search?complete=1& ... 13.org&lr=
You used not right GoogleThanks
Did make a quick google search and all the sites I came up with wanted $$ for the downloads/specs. Will check the wiki first in future
For programming UDMA you mast haveUnfortunately, the PCI specs cost $1500, and I have never found a free copy.
"Programming Interface for Bus Master IDE Controller" (IDE-BusMaster.pdf)
Last edited by Pavia on Fri Oct 19, 2007 5:36 am, edited 1 time in total.
Sorry, my bed english. =)