SlideShare a Scribd company logo
1 of 46
An Overview of  Serial ATA Technology Chris Erickson Graduate Student Department of Electrical and Computer Engineering Auburn University, Auburn, AL 36849 [email_address]
Objectives ,[object Object],[object Object],[object Object],[object Object]
What is PATA? ,[object Object],[object Object],[object Object],[object Object],[object Object]
More on PATA ,[object Object],[object Object],[object Object],[object Object],[object Object]
SATA Basics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SATA Basics ,[object Object],[object Object],[object Object],[object Object]
Connectivity ,[object Object],[object Object],[object Object],[object Object]
Link Characteristics ,[object Object],[object Object],[object Object],[object Object],[object Object]
Power Management ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
Physical Layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Out of Band ,[object Object],[object Object],[object Object],[object Object]
Out of Band Signals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Out of Band Signals (cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Out of Band Signal Forms COMRESET / COMINIT COMWAKE 106.7 ns 106.7 ns 106.7 ns 320 ns
Out of Band Signaling Protocol COMRESET COMWAKE COMINIT COMWAKE Host Device
SATA Port Model Clock & Data Recovery Serializer Deserializer Analog Front End OOB Detect COMRESET / COMINIT COMWAKE Data Out RX Clock Port Control  Logic Tx Clock Align Generator Data In Phy Reset Phy Ready Slumber Partial SPD Mode System Clock SPD Select Tx + Tx - Rx - Rx +
SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface  Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
Link Layer ,[object Object],[object Object],[object Object],[object Object],[object Object]
Encoding Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object]
Current Running Disparity (CRD ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CRD+ & CRD- Encoded Characters 0  0  1  1  1  1  1  1 1  0  1  0  1  1  1  0  0  1 0  1  0  1  0  0  1  0  0  1 8b Character 0x3F This 10b Character transmitted when CRD negative This 10b Character transmitted when CRD positive This character 6 ones 4 zeros Disparity +2 This character 4 ones 6 zeros Disparity -2
SATA Primitives ,[object Object],[object Object],[object Object]
SATA Primitives ,[object Object],[object Object],[object Object]
SATA Primitives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SATA Frame Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],SOF CRC EOF Payload Data
Link Layer Protocol (1) Host Device SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC
Link Layer Protocol (2) Host Device SYNC SYNC X_RDY X_RDY X_RDY X_RDY SYNC SYNC SYNC SYNC SYNC SYNC
Link Layer Protocol (3) Host Device X_RDY X_RDY X_RDY X_RDY X_RDY X_RDY SYNC R_RDY R_RDY R_RDY R_RDY SYNC
Link Layer Protocol (4) Host Device X_RDY X_RDY SOF DATA DATA DATA R_RDY R_RDY R_RDY R_RDY R_RDY R_RDY
Link Layer Protocol (5) Host Device DATA DATA DATA DATA DATA DATA R_RDY R_IP R_IP R_IP R_IP R_RDY
Link Layer Protocol (6) Host Device DATA DATA CRC EOF WTRM WTRM R_IP R_IP R_IP R_IP R_IP R_IP
Link Layer Protocol (7) Host Device CRC EOF WTRM WTRM WTRM WTRM R_IP R_IP R_IP R_IP R_IP R_IP
Link Layer Protocol (8) Host Device WTRM WTRM WTRM WTRM WTRM WTRM R_IP R_OK R_OK R_OK R_OK R_IP
Link Layer Protocol (9) Host Device WTRM WTRM SYNC SYNC SYNC SYNC R_OK R_OK R_OK R_OK R_OK R_OK
Link Layer Protocol (last) Host Device SYNC SYNC SYNC SYNC SYNC SYNC R_OK SYNC SYNC SYNC SYNC R_OK
SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
Transport Layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Frame Information Structure (FIS) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FIS types D  H Data 46h D  H  PIO Setup 5Fh D  H BIST Activate 58h D  H DMA Setup 41h D  H DMA Activate 39h D  H Set Device bits A1h D  H Register transfer device to host 34h H  D Register transfer host to device 27h Direction Description FIS TYPE CODE
Register – Host to Device FIS Reserved Reserved Reserved Reserved Dword 4 Sector Count Sector Count Reserved Control Dword 3 Sector Number Cyl Low (exp) Cyl High (exp) Features (exp) Dword 2 Sector Number Cyl Low Cyl High Dev/Head Dword 1 FIS TYPE (27h) Reserved Command Features Dword 0 Byte 0 Byte 1 Byte 2 Byte 3
BIST Activate FIS T - Far end transmit only – transmit Dwords defined in words 1 & 2 A - No ALIGN transmission (valid only with T) S - Bypass scrambling (valid only with T) L - Far end retimed loopback with ALIGN insertion F - Far end analog loopback P - Transmit primitives defined in words 1 & 2 of the FIS R - Reserved V - Vendor Unique Test Mode – other bits undefined Data [7:0] Data [15:8] Data [23:16] Data [31:24] 2 Data [7:0] Data [15:8] Data [23:16] Data [31:24] 1 FIS Type 58h Reserved [ TASLFPRV ] Reserved 0 Byte 0 Byte 1 Byte 2 Byte 3
Data FIS Dword N . . . Dword 2 N Dwords of Data Minimum 1 Dword Maximum 2048 Dwords Dword 1 FIS TYPE (46h) Reserved Reserved Reserved Dword 0 Byte 0 Byte 1 Byte 2 Byte 3
SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
Command / Application Layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Completed !! ,[object Object]

More Related Content

What's hot

Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
UART Communication
UART CommunicationUART Communication
UART Communicationdattatraya1
 
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol IssuesMIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol IssuesMIPI Alliance
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on socIjrdt Journal
 
UVM Driver sequencer handshaking
UVM Driver sequencer handshakingUVM Driver sequencer handshaking
UVM Driver sequencer handshakingHARINATH REDDY
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorialkriz5
 
AMBA 5 COHERENT HUB INTERFACE.pptx
AMBA 5 COHERENT HUB INTERFACE.pptxAMBA 5 COHERENT HUB INTERFACE.pptx
AMBA 5 COHERENT HUB INTERFACE.pptxSairam Chebrolu
 
Q4.11: Next Gen Mobile Storage – UFS
Q4.11: Next Gen Mobile Storage – UFSQ4.11: Next Gen Mobile Storage – UFS
Q4.11: Next Gen Mobile Storage – UFSLinaro
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)Anderson Huang
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 

What's hot (20)

PCIe
PCIePCIe
PCIe
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Uart
UartUart
Uart
 
UART Communication
UART CommunicationUART Communication
UART Communication
 
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol IssuesMIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol Issues
MIPI DevCon 2016: Troubleshooting MIPI M-PHY Link and Protocol Issues
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on soc
 
Axi
AxiAxi
Axi
 
NVMe overview
NVMe overviewNVMe overview
NVMe overview
 
ARM AAE - System Issues
ARM AAE - System IssuesARM AAE - System Issues
ARM AAE - System Issues
 
DDR2 SDRAM
DDR2 SDRAMDDR2 SDRAM
DDR2 SDRAM
 
UVM Driver sequencer handshaking
UVM Driver sequencer handshakingUVM Driver sequencer handshaking
UVM Driver sequencer handshaking
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
USB 2.0 and 3.0
USB 2.0 and 3.0USB 2.0 and 3.0
USB 2.0 and 3.0
 
AMBA 5 COHERENT HUB INTERFACE.pptx
AMBA 5 COHERENT HUB INTERFACE.pptxAMBA 5 COHERENT HUB INTERFACE.pptx
AMBA 5 COHERENT HUB INTERFACE.pptx
 
Q4.11: Next Gen Mobile Storage – UFS
Q4.11: Next Gen Mobile Storage – UFSQ4.11: Next Gen Mobile Storage – UFS
Q4.11: Next Gen Mobile Storage – UFS
 
Double data rate (ddr)
Double data rate (ddr)Double data rate (ddr)
Double data rate (ddr)
 
AMBA Ahb 2.0
AMBA Ahb 2.0AMBA Ahb 2.0
AMBA Ahb 2.0
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 

Similar to denme

MR - MGD
MR - MGDMR - MGD
MR - MGDleet01
 
Presentation of the IEEE 802.11a MAC Layer
Presentation of the IEEE 802.11a MAC LayerPresentation of the IEEE 802.11a MAC Layer
Presentation of the IEEE 802.11a MAC LayerMahdi Ahmed Jama
 
BluetoothMobileIP.ppt
BluetoothMobileIP.pptBluetoothMobileIP.ppt
BluetoothMobileIP.pptparul757596
 
BluetoothMobileIP.ppt
BluetoothMobileIP.pptBluetoothMobileIP.ppt
BluetoothMobileIP.pptssuser4d3a6b
 
Steen_Dissertation_March5
Steen_Dissertation_March5Steen_Dissertation_March5
Steen_Dissertation_March5Steen Larsen
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressingAnitha Selvan
 
225735365 ccna-study-guide-a
225735365 ccna-study-guide-a225735365 ccna-study-guide-a
225735365 ccna-study-guide-ahomeworkping10
 
huawei-ce7850-32q-ei-b-brochure-datasheet.pdf
huawei-ce7850-32q-ei-b-brochure-datasheet.pdfhuawei-ce7850-32q-ei-b-brochure-datasheet.pdf
huawei-ce7850-32q-ei-b-brochure-datasheet.pdfHi-Network.com
 
Computer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realyComputer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realyDeepak John
 
huawei-ce7850-32q-ei-f-brochure-datasheet.pdf
huawei-ce7850-32q-ei-f-brochure-datasheet.pdfhuawei-ce7850-32q-ei-f-brochure-datasheet.pdf
huawei-ce7850-32q-ei-f-brochure-datasheet.pdfHi-Network.com
 
Bluetooth mobileip
Bluetooth mobileipBluetooth mobileip
Bluetooth mobileipRamya Sasi
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsPremier Farnell
 
WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars Salah Amean
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slidesadam_merritt
 

Similar to denme (20)

Ccna Imp Guide
Ccna Imp GuideCcna Imp Guide
Ccna Imp Guide
 
MR - MGD
MR - MGDMR - MGD
MR - MGD
 
Presentation of the IEEE 802.11a MAC Layer
Presentation of the IEEE 802.11a MAC LayerPresentation of the IEEE 802.11a MAC Layer
Presentation of the IEEE 802.11a MAC Layer
 
BluetoothMobileIP.ppt
BluetoothMobileIP.pptBluetoothMobileIP.ppt
BluetoothMobileIP.ppt
 
BluetoothMobileIP.ppt
BluetoothMobileIP.pptBluetoothMobileIP.ppt
BluetoothMobileIP.ppt
 
BluetoothMobileIP.ppt
BluetoothMobileIP.pptBluetoothMobileIP.ppt
BluetoothMobileIP.ppt
 
OSI layer by cisco
OSI layer by ciscoOSI layer by cisco
OSI layer by cisco
 
Steen_Dissertation_March5
Steen_Dissertation_March5Steen_Dissertation_March5
Steen_Dissertation_March5
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
 
Wireshark Basics
Wireshark BasicsWireshark Basics
Wireshark Basics
 
225735365 ccna-study-guide-a
225735365 ccna-study-guide-a225735365 ccna-study-guide-a
225735365 ccna-study-guide-a
 
huawei-ce7850-32q-ei-b-brochure-datasheet.pdf
huawei-ce7850-32q-ei-b-brochure-datasheet.pdfhuawei-ce7850-32q-ei-b-brochure-datasheet.pdf
huawei-ce7850-32q-ei-b-brochure-datasheet.pdf
 
Computer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realyComputer networks high speed swan,atm,frame realy
Computer networks high speed swan,atm,frame realy
 
huawei-ce7850-32q-ei-f-brochure-datasheet.pdf
huawei-ce7850-32q-ei-f-brochure-datasheet.pdfhuawei-ce7850-32q-ei-f-brochure-datasheet.pdf
huawei-ce7850-32q-ei-f-brochure-datasheet.pdf
 
Bluetooth mobileip
Bluetooth mobileipBluetooth mobileip
Bluetooth mobileip
 
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard PeripheralsIntroducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
Introducing OMAP-L138/AM1808 Processor Architecture and Hawkboard Peripherals
 
WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars
 
Networking basics
Networking basicsNetworking basics
Networking basics
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
 

denme

  • 1. An Overview of Serial ATA Technology Chris Erickson Graduate Student Department of Electrical and Computer Engineering Auburn University, Auburn, AL 36849 [email_address]
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Out of Band Signal Forms COMRESET / COMINIT COMWAKE 106.7 ns 106.7 ns 106.7 ns 320 ns
  • 16. Out of Band Signaling Protocol COMRESET COMWAKE COMINIT COMWAKE Host Device
  • 17. SATA Port Model Clock & Data Recovery Serializer Deserializer Analog Front End OOB Detect COMRESET / COMINIT COMWAKE Data Out RX Clock Port Control Logic Tx Clock Align Generator Data In Phy Reset Phy Ready Slumber Partial SPD Mode System Clock SPD Select Tx + Tx - Rx - Rx +
  • 18. SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
  • 19.
  • 20.
  • 21.
  • 22. CRD+ & CRD- Encoded Characters 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 0 1 8b Character 0x3F This 10b Character transmitted when CRD negative This 10b Character transmitted when CRD positive This character 6 ones 4 zeros Disparity +2 This character 4 ones 6 zeros Disparity -2
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Link Layer Protocol (1) Host Device SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC SYNC
  • 28. Link Layer Protocol (2) Host Device SYNC SYNC X_RDY X_RDY X_RDY X_RDY SYNC SYNC SYNC SYNC SYNC SYNC
  • 29. Link Layer Protocol (3) Host Device X_RDY X_RDY X_RDY X_RDY X_RDY X_RDY SYNC R_RDY R_RDY R_RDY R_RDY SYNC
  • 30. Link Layer Protocol (4) Host Device X_RDY X_RDY SOF DATA DATA DATA R_RDY R_RDY R_RDY R_RDY R_RDY R_RDY
  • 31. Link Layer Protocol (5) Host Device DATA DATA DATA DATA DATA DATA R_RDY R_IP R_IP R_IP R_IP R_RDY
  • 32. Link Layer Protocol (6) Host Device DATA DATA CRC EOF WTRM WTRM R_IP R_IP R_IP R_IP R_IP R_IP
  • 33. Link Layer Protocol (7) Host Device CRC EOF WTRM WTRM WTRM WTRM R_IP R_IP R_IP R_IP R_IP R_IP
  • 34. Link Layer Protocol (8) Host Device WTRM WTRM WTRM WTRM WTRM WTRM R_IP R_OK R_OK R_OK R_OK R_IP
  • 35. Link Layer Protocol (9) Host Device WTRM WTRM SYNC SYNC SYNC SYNC R_OK R_OK R_OK R_OK R_OK R_OK
  • 36. Link Layer Protocol (last) Host Device SYNC SYNC SYNC SYNC SYNC SYNC R_OK SYNC SYNC SYNC SYNC R_OK
  • 37. SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
  • 38.
  • 39.
  • 40. FIS types D H Data 46h D H PIO Setup 5Fh D H BIST Activate 58h D H DMA Setup 41h D H DMA Activate 39h D H Set Device bits A1h D H Register transfer device to host 34h H D Register transfer host to device 27h Direction Description FIS TYPE CODE
  • 41. Register – Host to Device FIS Reserved Reserved Reserved Reserved Dword 4 Sector Count Sector Count Reserved Control Dword 3 Sector Number Cyl Low (exp) Cyl High (exp) Features (exp) Dword 2 Sector Number Cyl Low Cyl High Dev/Head Dword 1 FIS TYPE (27h) Reserved Command Features Dword 0 Byte 0 Byte 1 Byte 2 Byte 3
  • 42. BIST Activate FIS T - Far end transmit only – transmit Dwords defined in words 1 & 2 A - No ALIGN transmission (valid only with T) S - Bypass scrambling (valid only with T) L - Far end retimed loopback with ALIGN insertion F - Far end analog loopback P - Transmit primitives defined in words 1 & 2 of the FIS R - Reserved V - Vendor Unique Test Mode – other bits undefined Data [7:0] Data [15:8] Data [23:16] Data [31:24] 2 Data [7:0] Data [15:8] Data [23:16] Data [31:24] 1 FIS Type 58h Reserved [ TASLFPRV ] Reserved 0 Byte 0 Byte 1 Byte 2 Byte 3
  • 43. Data FIS Dword N . . . Dword 2 N Dwords of Data Minimum 1 Dword Maximum 2048 Dwords Dword 1 FIS TYPE (46h) Reserved Reserved Reserved Dword 0 Byte 0 Byte 1 Byte 2 Byte 3
  • 44. SATA Architectural Model Application Transport Link Physical Device Control Software Buffer Memory DMA management Serial digital transport control Serial digital link control Serial physical interface Device Layers Host Control Software Buffer Memory DMA management Host Layers Serial digital transport control Serial digital link control Serial physical interface
  • 45.
  • 46.