Review ATA - IDE Project name : ATA – IDE Training Engineer : Minh Nguyen.

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

The IDE/ATA Interface How can our mini-Operating System, executing in protected mode, access the hard disk?
Chapter 4 Device Management and Disk Scheduling DEVICE MANAGEMENT Content I/O device overview I/O device overview I/O organization and architecture I/O.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
The ATA/IDE Interface Can we write a character-mode device driver for the hard disk?
Improving Networks Worldwide. UNH InterOperability Lab Serial Advanced Technology Attachment (SATA) Application Layer.
Lecture Objectives: 1)Explain the limitations of flash memory. 2)Define wear leveling. 3)Define the term IO Transaction 4)Define the terms synchronous.
Improving Networks Worldwide. UNH InterOperability Lab SATA Chapters 11 and 12 Device Command Layer Protocols.
IDE Controller Feasibility Review Group Members b Brian Kulig b Graig Plumb b James Pierpont b Saif Shaikh Advisor b Arun Ramanathan.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Interrupts (contd..) Multiple I/O devices may be connected to the processor and the memory via a bus. Some or all of these devices may be capable of generating.
DIRECT MEMORY ACCESS CS 147 Thursday July 5,2001 SEEMA RAI.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
The IDE/ATA Interface How can our mini-Operating System, executing in protected mode, access the hard disk?
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
Input/Output and Communication
Group 7 Jhonathan Briceño Reginal Etienne Christian Kruger Felix Martinez Dane Minott Immer S Rivera Ander Sahonero.
Copyright ©: Nahrstedt, Angrave, Abdelzaher
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
May 9, USB 2.0 High Bandwidth Peripheral Design Challenges Robert Shaw Cypress Semiconductor Robert Shaw Cypress Semiconductor
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 20 – The Hard Drive Interface.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
1 Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives SCSI Drives.
Personal Computer Hard Drive ATA Interface
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Spring EE 437 Lillevik 437s06-l8 University of Portland School of Engineering Advanced Computer Architecture Lecture 8 Project 3: memory agent Programmed.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
Top Level View of Computer Function and Interconnection.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
I/O management is a major component of operating system design and operation Important aspect of computer operation I/O devices vary greatly Various methods.
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
Microsoft’s Concerns about Pioneer Proposal 21-Feb-2008.
Modes of transfer in computer
Fall EE 333 Lillevik 333f06-l23 University of Portland School of Engineering Computer Organization Lecture 23 RAID Input/output design RS232 serial.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
Fall 2000M.B. Ibáñez Lecture 25 I/O Systems. Fall 2000M.B. Ibáñez Categories of I/O Devices Human readable –used to communicate with the user –video display.
The computer system’s I/O architecture is its interface to the outside world. This architecture provides a systematic means of controlling interaction.
IATA Kulveer Singh
PROGRAMMABLE PERIPHERAL INTERFACE -8255
IT3002 Computer Architecture
Direct Memory Access Sequence of events:  A device (peripheral, CPU) requests a controller to transfer information;  The controller request control over.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Direct Memory Access (DMA) Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram. A Presentation On.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
Boot Engineering Extension Record (B.E.E.R.) By Curtis E. Stevens.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
16.317: Microprocessor System Design I
Input/Output and Communication
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: Internal fault (e.g.. divide by.
Advanced Technology Attachment
Direct Memory address and 8237 dma controller LECTURE 6
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
CS703 - Advanced Operating Systems
Hard Drive Technologies
Computer Architecture
BIC 10503: COMPUTER ARCHITECTURE
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives
Operating Systems Chapter 5: Input/Output Management
ATA over internet.
Advanced Computer Architecture Lecture 11
Jazan University, Jazan KSA
Chapter 13: I/O Systems.
NS Training Hardware.
Chapter 5 Input/Output Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
Presentation transcript:

Review ATA - IDE Project name : ATA – IDE Training Engineer : Minh Nguyen

Interface register definition and descriptions Device Control Register. Device/Head Register. Error Register. Feature Register. Sector Count Register. Sector Number Register. Status Register Alternate Status Register. Command Register. Cylinder High Register. Cylinder Low Register. Data Register.

Overview ATA - Advanced Technology Attachment IDE - Integrated Drive Electronics PIO - Programmed Input/Output DMA – Direct Memory Access LBA – Logical Block Address CFA – Compact Flash Association CHS – Cylinder – Head – Sector CRC – Cyclical Redundancy Check

Interface register definition and descriptions Reading this register shall not clear a pending interrupt. This register contains the same information as the Status register in the command block. Command processing begins when this register is written. The content of the Command Block registers become parameters of the command when this register is written. This register contains the command code being sent to the device. Command execution begins immediately after this register is written. This register shall only be written when DMACK- is not asserted. The content of this register shall take effect when written.

Interface register definition and descriptions

Bit BSY (Busy): Set to one : (by device ) –Negation of RESET or SRTS(DC) = 1. –Written command register complete if DRD = 0. –During PIO data in/out >DRQ=>0. –During data transfer (DMA). –During the execution of a PACKET command.  Device : –Control Command Block Register.  Host : –Ignore write CCBR. –Read CCBR -> invalid, except bit BSY.

Interface register definition and descriptions Bit BSY (Busy) : Set to zero : (by device) –After DRQ = 0. –At command completion. –Overlapped command. –Device ready to accept command  Host has control of the Command Block register.  Device : –Not set DRQ -> 1. –Not change Error bit. –Not change the content Command Block register. –Set SERV->1.

Interface register definition and descriptions DRDY (Device Ready): Set to one : (by device) –Capable accept all command  Device : –Shall accept and to execution all command

Interface register definition and descriptions DRQ (Data Request ): Set to one : (by device ) –BSY = 1 and ready for PIO transfer. –During the data transfer of DMA command BSY and DRQ -> 1.  Host : –Transfer data via PIO mode –If DMARQ and DMACK -> A => DMA mode. Set to zero : (by device ) –When the last word of the data/command packet transfer occurs.  Host : –Transfer data via DMA

Interface register definition and descriptions ERR (Error) : Set to one : (by device) –BSY or DRQ = 1 & an error occur.  Bits in the Error register shall be valid.  Device not change contain registers until new command, SRST -> 1, RESET -> A : Error, Cylinder High/Low, Sector Count/Number, Device/Head. Set to zero : (by device) –When a new command is written to the Command register. –SRST -> 1. –RESET - > A.  Host : –Ignore contains of the Error register

Command descriptions DEVICE RESET –Input : –Output :

Command descriptions Identify device : –Inputs : –Outputs :

Command descriptions Read DMA : –Inputs: –Outputs:

Command descriptions Read DMA :

Command descriptions Read Multiple : –Inputs: –Outputs:

Command descriptions Read Multiple : –Error outputs:

Command descriptions Read Sector : –Inputs : –Outputs:

Command descriptions Read Sector : –Error outputs:

Command descriptions Set Features : –Inputs: –Error outputs:

Command descriptions Set multiple mode : –Inputs : –Outputs : The host shall set Sector Count values equal to 2, 4, 8, 16, 32, 64, or 128.

Command descriptions Set multiple mode : –Error outputs :

Command descriptions Write DMA : –Inputs : –Outputs :

Command descriptions Write DMA : –Error outputs :

Command descriptions Write multiple & write sector :

Command descriptions Write multiple : –Inputs : –Outputs : –Error outputs :

Command descriptions Write sector : –Inputs : –Outputs :

Command descriptions Write sector : –Error outputs :

Protocol PIO protocol. –PIO data in command protocol –PIO data out command protocol DMA protocol Ultra DMA Protocol –Ultra protocol data in burst –Ultra protocol data out burst

PIO Protocol  data transfer are performed by host processor utilizing PIO register access to data register –Read/write multiple –Read/write sector

DMA Protocol  data transfer between device and host memory without host processor intervention.  data transfer are performed using DMA channel.  a single interrupt issued at command completion.

Ultra DMA Protocol  data transfer from assertion DMACK to the subsequent negation DMACK.  Phase of operation : –Initiation phase –Data transfer phase –Termination phase