Справочник Пользователя для Samsung 3.5" hard disk drives

Скачать
Страница из 115
DISK DRIVE OPERATION 
 
SpinPoint V40 Product Manual
 
85
 
Execution includes the transfer of one or more 512 byte (>512 bytes on Write Long) sectors of data from the 
drive to the host. 
 
a)  The host writes any required parameters to the Features, Sector Count, Sector Number, Cylinder and 
Drive/Head registers. 
 
b)   The host writes the command code to the Command register. 
 
c)   The drive sets DRQ when it is ready to accept the first sector of data. 
 
d)  The host writes one sector of data via the Data register. 
 
e)   The drive clears DRQ and sets BSY. 
 
f)  When the drive has completed processing of the sector, it clears BSY and asserts INTRQ. If transfer of 
another sector is required, the drive also sets DRQ. 
 
g)  After detecting INTRQ, the host reads the Status registers. 
 
h)  The drive clears the interrupt. 
 
i)   If transfer of another sector is required, the above sequence is repeated from (d). 
 
 
6.6.2.1 
PIO Write Command 
 
    a)    
     b)  
       
          
       
    e)      
         
 
    e)        
Setup 
Issue   
       
Transfer
       
 Read  
Transfer  
 Read  
 
 
Command 
       
Data 
 
 Status 
Data 
 ==== 
 Status 
 
BSY=0 
         
BSY=1   BSY=0     BSY=1 
BSY=0 
         
BSY=1 
BSY=0   
        
DRDY=1    
       
    
DRQ=1 
 
DRQ=0 
 
DRQ=1 
         
 
DRQ=0 
 
 
 
        
         
       
 
       
Assert 
Negate 
 
Assert 
Negate
        
         
       
 
       
INTRQ 
INTRQ 
 
INTRQ  INTRQ
 
 
6.6.2.2 
PIO Write Aborted Command 
 
    a)    
     b)  
       
    e)    
  
Setup 
Issue   
       
 Read  
  
 
Command         
 Status 
 
BSY=0
         
BSY=1  BSY=0  
        
DRDY=1    
       
 
 
 
 
        
         
       
Assert 
Negate
        
         
       
INTRQ INTRQ