SlideShare ist ein Scribd-Unternehmen logo
1 von 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]

Weitere ähnliche Inhalte

Was ist angesagt?

SCSI Protocol
SCSI ProtocolSCSI Protocol
SCSI Protocol
Rakesh T
 
Spi master core verification
Spi master core verificationSpi master core verification
Spi master core verification
Maulik Suthar
 

Was ist angesagt? (20)

AMBA AHB 5
AMBA AHB 5AMBA AHB 5
AMBA AHB 5
 
Part-1 : Mastering microcontroller with embedded driver development
Part-1 : Mastering microcontroller with embedded driver development Part-1 : Mastering microcontroller with embedded driver development
Part-1 : Mastering microcontroller with embedded driver development
 
PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)
PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)
PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 Training
 
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
 
Slideshare - PCIe
Slideshare - PCIeSlideshare - PCIe
Slideshare - PCIe
 
Ambha axi
Ambha axiAmbha axi
Ambha axi
 
Hardware interfacing basics using AVR
Hardware interfacing basics using AVRHardware interfacing basics using AVR
Hardware interfacing basics using AVR
 
SPI introduction(Serial Peripheral Interface)
SPI introduction(Serial Peripheral Interface)SPI introduction(Serial Peripheral Interface)
SPI introduction(Serial Peripheral Interface)
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
SCSI Protocol
SCSI ProtocolSCSI Protocol
SCSI Protocol
 
Spi master core verification
Spi master core verificationSpi master core verification
Spi master core verification
 
Uart
UartUart
Uart
 
Pc ie tl_layer (3)
Pc ie tl_layer (3)Pc ie tl_layer (3)
Pc ie tl_layer (3)
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
 
AXI Protocol.pptx
AXI Protocol.pptxAXI Protocol.pptx
AXI Protocol.pptx
 
Get it right the first time lpddr4 validation and compliance test
Get it right the first time lpddr4 validation and compliance testGet it right the first time lpddr4 validation and compliance test
Get it right the first time lpddr4 validation and compliance test
 
Introduction about APB Protocol
Introduction about APB ProtocolIntroduction about APB Protocol
Introduction about APB Protocol
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Amba axi 29 3_2015
Amba axi 29 3_2015Amba axi 29 3_2015
Amba axi 29 3_2015
 

Ähnlich wie denme

MR - MGD
MR - MGDMR - MGD
MR - MGD
leet01
 
Steen_Dissertation_March5
Steen_Dissertation_March5Steen_Dissertation_March5
Steen_Dissertation_March5
Steen Larsen
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
Anitha Selvan
 
Bluetooth mobileip
Bluetooth mobileipBluetooth mobileip
Bluetooth mobileip
Ramya Sasi
 

Ähnlich wie 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.