SCT Commands

Download Report

Transcript SCT Commands

SCT Commands Review
for T13
By Joseph Chen
Dec 14, 2004
(E04165R0)
SCT Command Summary
Item
SCT Commands
1
Read Long
2
Write Long
3
LBA Segment Access
4
Return Error Recovery Control
5
Set Error Recovery Control
6
Set Feature Control
7
Return Feature Control
8
Return Feature Option Flag
9
Return SCT Data Table
SCT Command Block Structure
Item SCT Commands
SCT Parameter
(4)
SCT Command Block (512-byte)
SCT
SCT
SCT
SCT
SCT
SCT
SCT
SCT
SCT
SCT
SCT
Parameter Parameter Parameter Parameter Parameter Parameter Parameter Parameter Parameter Parameter Parameter
(6)
(8)
(10)
(12)
(14)
(16)
(18)
(20)
(22)
(24)
(26)
1
Read Long
LBA (QWORD)
2
Write Long
LBA (QWORD)
3
LBA Segment Access
(Selection Code)
1=Read Timer
2=Write Timer
(Selection Code)
1=Read Timer
2=Write Timer
LBA (QWORD)
Count (QWORD)
LBA (QWORD)
Count (QWORD)
4
Return Error Recovery Control
5
Set Error Recovery Control
6
Set Feature Control
(Feature Code)
(State)
1=Use Setf WrCache
Enable/Disa
2=Enable WrCache
ble
3=TempLogInterval
7
Return Feature Control
(Feature Code)
1=Use Setf WrCache
2=Enable WrCache
3=TempLogInterval
8
Return Feature Option Flag
9
Return SCT Data Table
1 (Read Table)
(Value)
in 100ms
(Table ID)
2=HDA
Temp
Pattern (QWORD)
SCT Data Block
Item
SCT Commands
No. of
Block
Data
Cmd Rep
Time
Remarks
1
Read Long
2
Fast
2
Write Long
2
Fast
0
Long
Write with 32-bit Pattern
1
Long
Write with sector data in data
block
3
LBA Segment Access
4
Return Error Recovery Control
0
Fast
5
Set Error Recovery Control
0
Fast
6
Set Feature Control
0
Fast
7
Return Feature Control
0
Fast
9
Return SCT Data Table
1
Fast
SCT Command Protocol
SCT Command Example
Item
SCT Commands
First Cmd
Second Cmd
1
Read Long
SCT Read Long Cmd
SCT Read Data Block (2)
2
Write Long
SCT Write Long Cmd
SCT Write Data Block (2)
SCT LBA Seg Access Cmd
SCT Read Status …
3
LBA Segment Access
SCT LBA Seg Access Cmd
SCT Write Data Block (1)
4
Return Error Recovery Control
SCT Rtn Err Rec Ctl Cmd
5
Set Error Recovery Control
SCT Set Err Rec Ctl Cmd
6
Set Feature Control
SCT Set Fea Ctl
7
Return Feature Control
SCT Ret Fea Ctl
8
Return Feature Option Flag
SCT Ret Fea Opt Flag
9
Return SCT Data Table
SCT Rtn SCT Data Table
SCT Read Data Block (1)
Third Cmd…
SCT Read Status …
Backup Slides
 The following slides are backups for this
presentation.
SMART Log Directory (Table 53)
Byte
0-1
2
3
4
5
…
510
511
Descriptions
SMART Logging Version
Number of sectors in the log at log address 1
Reserved
Number of sectors in the log at log address 2
Reserved
…
Number of sectors in the log at log address 255
Reserved
General Purpose Log Directory (Table
21)
Byte
0-1
2
3
4
5
…
256
257
…
510-511
Descriptions
General Purpose Logging Version
Number of sectors in the log at log address 01h (7:0)
Number of sectors in the log at log address 01h (15:8)
Number of sectors in the log at log address 02h (7:0)
Number of sectors in the log at log address 02h (15:8)
10h sectors in the log at log address 80h
00h sectors in the log at log address 80h
Number of sectors in the log at log address FFh