SATA Help!!!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jim
Member
Member
Posts: 27
Joined: Sun Nov 05, 2006 3:46 am

SATA Help!!!

Post by Jim »

I have some qustions about SATA programming :?: :?: :?: :?:

:roll: :roll:
1) Is SATA like ATA - ATAPI protocols that you can use for any kind of SATA drive, or chipset.:?:

:roll: :roll:
2) Does any one knows about SATA specification (or how to get them free).:?:
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Post by bubach »

http://linux-ata.org/devel.html - Powered by Google search(tm).
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
PyroMathic
Member
Member
Posts: 33
Joined: Wed Apr 26, 2006 11:00 pm

Re: SATA Help!!!

Post by PyroMathic »

keller wrote:I have some qustions about SATA programming :?: :?: :?: :?:

:roll: :roll:
1) Is SATA like ATA - ATAPI protocols that you can use for any kind of SATA drive, or chipset.:?:

:roll: :roll:
2) Does any one knows about SATA specification (or how to get them free).:?:


Yes the protocol is like ATA/ATAPI, u just don' t use to port ranges 1f0-1f7 and 170-17f, (for the primary and secondary controller), but u use a port range which u have to read directly from the PIC configuration registers.
(see PCMD_BAR—Primary Command Block Base Address, Register (SATA–D31:F2))
(so regs at offset 10 till offset 20 in PCI register address space).

Also there is no more Master or slave, per channel there is only 1 device.


I wrote my SATA driver for the ICH5-ICH8 chipset's and tested it on a ICH8 chipset. Not sure about other chip-sets, but i think they should be the same, mostly. So all the info above is based on my experience whit the ICH8 chip set.

Look on the intel site for the Doc's about the ICH5 chip-set and for additional info about SATA, look for "Sata ich5". This is assuming u have an intel chip set.


Regards
PyroMathic
Post Reply