SATA

  • ATA
    • ATA不支援error detection and reporting capablility
    • 在UltraDMA transfer時只有在傳送時提供CRC error checking
  • SATA
    • SATA bus includes a Cyclic Redundancy(CRC).
    • 當發生CRC error,此時stata protocol會要求重送資料
    • This retry mechanism is support for all packet types except data packets.

SATA

SATA

  • 以上參考來源:SATA Storage Technology.pdf

SATA Storage Technology

傳送packet(also call a FIS),將會收到status FIS:Frame Information Structures

BUS

FIS Transmission and SATA Layers

  • PC TO HD DATA
    • PC:PC (PCI Bus)
    • PC:DMA/Sata Registers
    • PC:Command Layer -> Transport Layer -> Link Layer -> Physical Layer (Parallel to Serial)
    • HD:Physical Layer(Serial to Parallel) -> Link Layer -> Transport Layer -> Command Layer
    • HD:SATA Register
  • HBA (Host Bus Adapter)

BUS

  • FIS Transfers
    • Application Layer(HBA)
      • Host software issues command to the HBA by performing a series of IO write
    • Transport Layer(HBA)
      • Transport layer has several responsibilities associated
        • Create a compilant FIS
        • Notify Link layer of FIS pending delivery
        • Notify link of flow control requirements during transmission
        • BUS

SATA Device Connector

connecter

connecter

參考來源

SATA Storage Technology