13306381536(支持手机上网点击直拨)

闪电恢复  立等可取

数据库速提快修复技术

raid快速分析恢复技术

中高端数据恢复中心/服务器数据库维护技术支持  
技术中心

手机:13306381536
技术中心
Seagate Harddisk指令大全
作者:烟台数据恢复中心    发表日期:2011/4/7    阅讯:2577次
Barracuda ATA IV Family Product Manual
烟台数据恢复中心编辑  来自互联网
 
Barracuda ATA IV Family Product Manual, Rev. A 27
3.1.1  Supported ATA commands
The following table lists ATA-standard commands that the drive supports. For a detailed description of the ATA commands, refer to the Draft ATA-5 Standard. See Section 3.1.4 on page 34 for details and subcommands used in the S.M.A.R.T. implementation.
 
Command name Command code (in hex)
ATA-standard commands
Download Microcode
 92H
Exec ute Device Diagnostics
 90H
Flush Cache
 E7H
Format Track
 50H
Identify Device
 ECH
Initialize Device Parameters
 91H
Read Buffer
 E4H
Read DMA
 C8H, C9H
Read Multiple
 C4H
Read Sectors
 20H, 21H
Read Verify Sec tors
 40H, 41H
Recalibrate
 10H
Seek
 70H
Set Features
 EFH
Set Multiple Mode
 C6H
S.M.A.R.T.
 B0H
Write Buffer
 E8H
Write DMA
 CAH, CBH
Write Multiple
 C5H
Write Sectors
 30H, 31H
ATA-standard power-management commands
Check Power Mode
 98H or E5H
Idle
 97H or E3H

 
 
28 Barracuda ATA IV Family Product Manual, Rev. A
 
 
Command name Command code (in hex)
Idle Immediate
 95H or E1H
Sleep
 99H or E6H
Standby
 96H or E2H
Standby Immediate
 94H or E0H
ATA-standard security commands
Security Set Password
 F1H
Security Unlock
 F2H
Security Erase Prepare
 F3H
Security Erase Unit
 F4H
Security Freeze Lock
 F5H
Security Disable Password
 F6H
3.1.2  Identify Device command
The Identify Device command (command code ECH) transfers information about the drive to the host following power up. The data is organized as a single 512-byte block of data, whose contents are shown in the table on page 27. All reserved bits or words should be set to zero. Parameters listed with an "x" are drive-specific or vary with the state of the drive. See Section 1.0 on page 5 for default parameter settings.
The following commands contain drive-specific features that may not be included in the Draft ATA-5 Standard.

 
 
Barracuda ATA IV Family Product Manual, Rev. A 29
 
 
Word Description Value
 Configuration information:
. Bit 15: 0 = ATA; 1 = ATAPI
 0C5AH
. Bit 7: removable media
0
. Bit 6: removable controller
. Bit 0: reserved
1 Number of logical cylinders 16,383
2 ATA-reserved
 0000H
3 Number of logical heads 16
4 Retired
 0000H
5 Retired
 0000H
6 Number of logical sectors per
 003FH
logical track: 63
7¨C9 Retired                                                   0000H
10¨C19 Serial number: (20 ASCII
charac ters, 0000H = none) ASCII
20 Retired
 0000H
21 Retired
 0400H
22 Obsolete
 0000H
23¨C26 Firmware revision (8 ASCII
 x.xx
charac ter string, padded with
blanks to end of string)
27¨C46 Drive model number: (40                                                   ST380021A
ST360021A
ASCII characters, padded
ST340016A
with blanks to end of string)
ST320011A
47 (Bits 7¨C0) Maximum sectors
 8010H
per interrupt on Read multi-
ple and Write multiple (16)
48 Reserved                                                  0000H
49 Standard Standby  timer,
 2F00H
IORDY supported and may
be disabled
50 ATA-reserved                                                  0000H

 
 
30 Barracuda ATA IV Family Product Manual, Rev. A
 
 
Word Description Value
51 PIO data-transfer cycle
 0200H
timing mode
52 Retired                                                   0200H
53 Words 54¨C58, 64¨C70 and 88
 0007H
are valid
54 Number of current logical                                                    xxxxH
cylinders
55 Number of current logical                                                   xxxxH
heads
56 Number of current logical
sectors per logical track xxxxH
57¨C58 Current capacity in sectors xxxxH
59 Number of sectors trans-
 xxxxH
ferred during a Read Multiple or Write Multiple command
 ST380021A =156,301,488
60¨C61 Total number of user-addres-
ST360021A = 117,231,408
sable LBA sectors available
ST340016A = 78,165,360
(see Section 2.2.3 for related
ST320011A = 39,102,336
information)
62 Retired
 0000H
63 Multiword DMA active and
 xx07H
modes supported (see note following this table)
64 Advanced PIO modes sup-
 0003H
ported (modes 3 and 4 supported)
65 Minimum multiword DMA
 0078H
transfer cycle time per word
(120 nsec)
66 Recommended multiword
 0078H
DMA transfer cycle time per
word (120 nsec)
67 Minimum PIO cycle time
 00F0H
without IORDY flow control
(240 nsec)

 
 
Barracuda ATA IV Family Product Manual, Rev. A 31
 
 
Word Description Value
68 Minimum PIO cycle time with
 0078H
IORDY flow control (120
nsec)
69¨C74 ATA-reserved                                                    0000H
75 Queue depth                                                  0000H
76¨C79 ATA-reserved                                                    0000H
80 Major version number 003EH
81 Minor version number 0000H
82 Command sets supported 306BH
83 Command sets supported 4001H
84 Command sets support                                                   4000H
extension
85 Command sets enabled 30xxH
86 Command sets enabled 0001H
87 Command sets enable                                                   4000H
extension
88 Ultra DMA support and
 xx3FH
current mode
(see note following this table)
89 Security erase time
 0000H
90 Enhanced security erase
 0000H
time
91 Advanced power manage-                                                  0040H
ment value
92 Master password revision
 FFFEH
code
93 Hardware reset value
 xxxxH
(see description following
this table)
94 Auto acoustic management
 xxxxH
setting
95¨C127 ATA-reserved                                                     0000H

 
 
32 Barracuda ATA IV Family Product Manual, Rev. A
 
 
Word Description Value
128 Security status                                                   0001H
129¨C159 Seagate-reserved                                                      xxxxH
160¨C254 ATA-reserved                                                      0000H
255 Integrity word                                                   xxA5H
Note. See the bit descriptions below for words 63, 88, 93 and 94 of
the Identify Drive data:
Description (if bit is set to 1)
Bit Word 63
0 Multiword DMA mode 0 is supported.
1 Multiword DMA mode 1 is supported.
2 Multiword DMA mode 2 is supported.
8 Multiword DMA mode 0 is currently active.
9 Multiword DMA mode 1 is currently active.
10 Multiword DMA mode 2 is currently active.
Bit Word 88
0 Ultra DMA mode 0 is supported.
1 Ultra DMA mode 1 is supported.
2 Ultra DMA mode 2 is supported.
3 Ultra DMA mode 3 is supported.
4 Ultra DMA mode 4 is supported.
8 Ultra DMA mode 0 is currently active.
9 Ultra DMA mode 1 is currently active.
10 Ultra DMA mode 2 is currently active.
11 Ultra DMA mode 3 is currently active.
12 Ultra DMA mode 4 is currently active.
13 Ultra DMA mode 5 is currently active.

 
 
Barracuda ATA IV Family Product Manual, Rev. A 33
 
 
Bit Word 93
 
13 1=80-conductor cable detected, CBLID above VIH 
0=40-conductor cable detected, CBLID below VI L
Bit Word 94
0¨C7 Current AAM setting
8¨C15 AAM Power on default
3.1.3  Set Features command
This command controls the implementation of various features that the  driv e supports. When the drive receives this command, it sets BSY, checks the contents of the Features register, clears BSY and generates an interrupt. If the value in the register does not represent a feature that the drive supports, the c ommand is aborted. Power-on default has the read look-ahead and write caching features  enabled. The acceptable values for the Features register are defined as follows:
 
02H Enable write cache (default).
03H Set transfer mode (based on value in Sector Count register).
Sector Count register values:
 
00H Set PIO mode to default (PIO mode 2).
01H Set PIO mode to default and disable IORDY
(PIO mode 2).
08H PIO mode 0
09H PIO mode 1
0AH PIO mode 2
0BH PIO mode 3
0CH PIO mode 4 (default)
20H Multiword DMA mode 0
21H Multiword DMA mode 1
22H Multiword DMA mode 2
40H Ultra DMA mode 0
41H Ultra DMA mode 1
42H Ultra DMA mode 2

 
 
34 Barracuda ATA IV Family Product Manual, Rev. A
 
 
43H Ultra DMA mode 3
44H Ultra DMA mode 4
45H Ultra DMA mode 5
05H Enable advanced power management
42H Auto acoustic management
FEH Performance seek
80H Quiet acoustic seek
55H Disable read look-ahead (read cache) feature.
82H Disable write cache.
AAH Enable read look-ahead (read cache) feature (default).
F1H Report full capacity available
Note. At power-on, or after a hardware or software reset, the default
values of the features are as indicated above.
3.1.4  S.M.A.R.T. commands
S.M.A.R.T. provides near-term failure prediction for disc drives. When S.M.A.R.T. is enabled, the drive monitors predetermined drive attributes that are susceptible to degradation over time. If self-monitoring determines  that a failure is likely, S.M.A.R.T. makes a status report available to the  host. Not all failures are predictable. S.M.A.R.T. predictability is limited to  the attributes the drive can monitor. For more information on S.M.A.R.T. commands and implementation, see the Draft ATA-5 Standard.
SeaTools diagnostic software activates a built-in drive self-test (DST S.M.A.R.T. command for D4H) that eliminates unnecessary drive returns.
The diagnostic software ships with all new drives and is also available at: http://seatools.seagate.com.
This drive is shipped with S.M.A.R.T. features disabled. You must have a recent BIOS or software package that supports S.M.A.R.T. to enable this feature. The table below shows the S.M.A.R.T. command codes that the drive uses.
 
Code in features                       S.M.A.R.T. command
register
D0H S.M.A.R.T. Read Data
D1H Vendor-spec ific

 
 
Barracuda ATA IV Family Product Manual, Rev. A 35
 
 
Code in features                       S.M.A.R.T. command
register
D2H S.M.A.R.T. Enable/Disable Attribute Autosave
D3H S.M.A.R.T. Save Attribute Values
D4H S.M.A.R.T. Execute Off-line Immediate
(runs DST)
D5H S.M.A.R.T. Read Log Sector
D6H S.M.A.R.T. Write Log Sector
D7H Vendor-specific
D8H S.M.A.R.T. Enable Operations
D9H S.M.A.R.T. Disable Operations
DAH S.M.A.R.T. Return Status
Note. If an appropriate code is not written to the Features Register, the
command is aborted and 0x 04 (abort) is written to the Error register.
上一篇:没有了!
下一篇:没有了!
友情链接:
电话:13306381536李经理; E-mail:EIP01@Hotmail.com
地址:烟台芝罘屯路13号烟台电脑市场A310室   本站域名:www.ytdata.com
烟台大脑数据恢复中心版权所有 Copyright©2005- 2013 All rights reserved.
鲁ICP备10023116