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

Скачать
Страница из 115
DISK DRIVE OPERATION 
 
SpinPoint V40 Product Manual 
54
 
Table 6-4 Command Codes and Parameters 
COMMAND 
PARAMETER USED 
Class 
DESCRIPTION 
CODE 
FR
SC
SN
CY 
DH 
 1 
 Check Power Mode 
98h, E5h 
 
 
    
 D  
 2 
 Download Micro code 
92h 
 
 
 
    
 D 
 1 
 Execute Device Diagnostic 
90h 
 
 
 
    
 D* 
 1 
 Flush Cache 
E7h 
 
 
 
   
 2 
 Format Track 
50h 
 
 
 
   
 1 
 Identify Device 
ECh 
 
 
 
    
 D  
 1 
 Idle 
97h, E3h 
 
 
    
 D  
 1 
 Idle Immediate 
95h, E1h 
 
 
 
    
 D  
 1 
 Initialize Drive Parameter 
91h 
 
 
    
 y  
 1 
 Read Buffer 
E4h 
 
   
   
    
 D  
 1 
 Read DMA (w/retry) 
C8h 
 
y  
y  
y  
 1 
 Read DMA (w/o retry) 
C9h 
 
y   
y  
 1 
 Read Long (w/retry) 
22h 
 
 y 
 y  
 y  
 1 
 Read Long (w/o retry) 
23h 
 
 y 
 y  
 y  
 1 
 Read Multiple  
C4h 
 
 y 
 y  
 y  
 1 
 Read Native Max Address 
F8h 
 
 
 
 
 D  
 1 
 Read Sector(s) (w/retry) 
20h 
 
 y 
 y  
 y  
 1 
 Read Sector(s) (w/o retry) 
21h 
 
 y 
 y  
 y  
 1 
 Read Verify Sector(s)  (w/retry) 
40h 
 
 y 
 y  
 y  
 1 
 Read Verify Sector(s) (w/o retry) 
41h 
 
 y 
 y  
 y  
 1 
 Recalibrate 
1xh 
 
 
 
 
 D  
 1 
 Seek  
7xh 
 
   
 y 
 y  
 y  
 1 
 Set Features 
EFh 
   
   
    
 D  
 1 
Set Max Address 
F9h 
 
 
 1 
 Set Multiple Mode 
C6h 
  
 y 
 
 
 D  
 1 
 Sleep Mode  
99h, E6h 
   
   
 
 
 D  
1  
Smart 
B0h 
y *1
y  y  D 
 1 
 Standby 
96h, E2h 
   
 y 
 
    
 D  
 1 
 Standby Immediate 
94h, E0h 
   
   
 
 
 D  
 2 
 Write Buffer 
E8h 
   
   
   
    
 D  
 3 
 Write DMA (w/retry) 
CAh 
  
 y 
 y 
 y  
 y  
 3 
 Write DMA (w/o retry) 
CBh 
  
 y 
 y 
 y  
 y  
 2 
 Write Long (w/retry) 
32h 
*2
 y 
 y 
 y  
 y  
 2 
 Write Long (w/o retry) 
33h 
*2
 y 
 y 
 y  
 y  
 3 
 Write Multiple 
C5h 
*2
 y 
 y 
 y  
 y  
 Write Sector(s) (w/retry) 
30h 
*2
 y 
 y 
 y  
 y  
 2 
 Write Sector(s) (w/o retry) 
31h 
*2
 y 
 y 
 y  
 y  
 
Legend: 
CY = Cylinder register 
SC = Sector Count register  
DH = Device/Head register                
SN = Sector Number register 
FR = Feature register