home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
S2R10_C.ZIP
/
S2R10C08.SI
< prev
next >
Wrap
Text File
|
1990-03-09
|
263KB
|
5,143 lines
.RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
.PL 62
.LM 1
.RM 78
.MT3
.MB4
.HM1
.FM1
.PO10
.CW10
.SR2
.UJ0
.OJ0
.UL1
.heDirect-Access Devices 3/9/90
.foSCSI-2 draft proposed American National Standard 8-# Revision 10c
.pn 1
.cp 30
.aw off
.pm 0
8. Direct-Access Devices
.aw on
.pm 3
.cp 20
.aw off
.pm 0
8.1. Direct-Acces≤ Devicσ Model
.aw on
.pm 3
ááDirec⌠-acces≤ device≤ storσ block≤ oµ datß fo≥ late≥ retrieval« EacΦ blocδ ì
oµ datß i≤ storeΣ a⌠ ß uniquσ logica∞ blocδ address« Aε initiato≥ issue≤ ì
WRIT┼ command≤ t∩ storσ thσ block≤ oµ datß (writσ operations⌐ anΣ REA─ ì
command≤ t∩ retrievσ thσ block≤ oµ datß (reaΣ operations)« Othe≥ command≤ ì
issueΣ b∙ thσ initiato≥ t∩ ma∙ als∩ causσ writσ anΣ reaΣ operation≤ t∩ occur« ì
┴ writσ operatioε cause≤ ß blocδ oµ datß t∩ bσ writteε oε thσ medium« ┴ reaΣ ì
operatioε cause≤ ß blocδ oµ datß t∩ bσ reaΣ froφ thσ medium« ┴ verif∙ ì
operatioε cause≤ ß blocδ oµ datß t∩ bσ verifieΣ tha⌠ i⌠ caε bσ reaΣ withou⌠ ì
erro≥ froφ thσ medium.
ááBlock≤ oµ datß arσ storeΣ b∙ ß proces≤ tha⌠ cause≤ localizeΣ change≤ o≥ ì
transition≤ withiε thσ medium« Thσ change≤ madσ t∩ thσ mediuφ t∩ storσ thσ ì
block≤ oµ datß ma∙ bσ volatilσ (i.e.¼ no⌠ retaineΣ througΦ powe≥ cycles⌐ o≥ ì
noε-volatilσ (retaineΣ througΦ powe≥ cycles)« Thσ mediuφ ha≤ ma∙ bσ divideΣ ì
iε part≤ tha⌠ arσ useΣ t∩ datß blocks¼ part≤ tha⌠ arσ reserveΣ a≤ spare≤ fo≥ ì
defec⌠ handling¼ anΣ part≤ tha⌠ arσ reserveΣ fo≥ usσ b∙ thσ controlle≥ fo≥ thσ ì
managemen⌠ oµ thσ device.
.cp 10
.aw off
.pm 0
8.1.1. Removable Medium
.aw on
.pm 3
ááThσ mediuφ ma∙ bσ removablσ (i.e.¼ ß typicall∙ useΣ iε ß flopp∙ disδ drive⌐ ì
o≥ noε-removablσ (i.e.¼ typicall∙ useΣ iε ß harΣ disδ drive)« Removablσ ì
mediuφ i≤ containeΣ withiε ß cartridgσ (o≥ jacket⌐ t∩ preven⌠ damagσ t∩ thσ ì
recordinτ surfaces« Thσ combinatioε oµ mediuφ anΣ cartridgσ i≤ ofteε calleΣ ß ì
volume«
áá┴ volumσ ha≤ aε attributσ oµ beinτ mounteΣ o≥ demounteΣ oε ß suitablσ ì
transpor⌠ mechanism« ┴ volumσ i≤ mounteΣ wheε thσ direc⌠-acces≤ devicσ i≤ ì
capablσ oµ performinτ writσ o≥ reaΣ operation≤ t∩ thσ medium« ┴ mounteΣ ì
volumσ ma∙ bσ no⌠ bσ accessiblσ b∙ aε initiato≥ iµ i⌠ i≤ reserveΣ b∙ anothe≥ ì
initiator« ┴ volumσ i≤ demounteΣ a⌠ an∙ othe≥ timσ (e.g.¼ durinτ loading¼ ì
unloading¼ o≥ storage)«
ááAε initiato≥ ma∙ checδ whethe≥ ß volumσ i≤ mounteΣ b∙ issuinτ ß TES╘ UNI╘ ì
READ┘ command« ┴ volumσ tha⌠ i≤ loadeΣ ma∙ neeΣ ß STAR╘ STO╨ UNI╘ commanΣ ì
issueΣ t∩ becomσ accessiblσ fo≥ writσ o≥ reaΣ operations.
ááThσ PREVEN╘ ALLO╫ MEDIU═ REMOVA╠ commanΣ allow≤ aε initiato≥ t∩ restric⌠ thσ ì
demountinτ oµ thσ volume« Thi≤ i≤ usefu∞ iε maintaininτ systeφ integrity« Iµ ì
thσ direc⌠-acces≤ devicσ implement≤ cachσ memory¼ i⌠ mus⌠ ensurσ tha⌠ al∞ ì
logica∞ block≤ oµ thσ mediuφ contaiε thσ mos⌠ recen⌠ datß prio≥ t∩ permittinτ ì
demountinτ oµ thσ volume« Iµ thσ initiato≥ issue≤ ß STAR╘ STO╨ UNI╘ commanΣ ì
t∩ ejec⌠ thσ cartridge¼ anΣ thσ direc⌠-acces≤ devicσ i≤ preventeΣ froφ ì
demountinτ b∙ thσ PREVEN╘ ALLO╫ MEDIU═ REMOVA╠ command¼ thσ STAR╘ STO╨ uni⌠ ì
commanΣ i≤ rejecteΣ b∙ thσ direc⌠-acces≤ device.
.cp 10è.aw off
.pm 0
8.1.2. Logica∞ Blocks
.aw on
.pm 3
ááBlock≤ oµ datß arσ storeΣ oε thσ mediuφ alonτ witΦ additiona∞ informatioε ì
tha⌠ thσ controlle≥ use≤ t∩ managσ thσ storagσ anΣ retrieval« Thσ forma⌠ oµ ì
thσ additiona∞ informatioε i≤ uniquσ anΣ i≤ hiddeε froφ thσ initiato≥ durinτ ì
norma∞ reaΣ o≥ writσ operations« Thi≤ additiona∞ informatioε i≤ ofteε useΣ t∩ ì
identif∙ thσ physica∞ locatioε oµ thσ block≤ oµ data¼ thσ addres≤ oµ thσ ì
logica∞ block¼ anΣ t∩ providσ protectioε agains⌠ thσ los≤ oµ thσ use≥ data.
ááThσ addres≤ oµ thσ firs⌠ logica∞ blocδ i≤ zero« Thσ addres≤ oµ thσ las⌠ ì
logica∞ blocδ i≤ [ε-1]¼ wherσ [n▌ i≤ thσ numbe≥ oµ logica∞ block≤ availablσ oε ì
thσ medium« ┴ REA─ CAPACIT┘ commanΣ ma∙ bσ issueΣ t∩ determinσ thσ valuσ oµ ì
[ε-1]« Iµ ß commanΣ i≤ issueΣ whicΦ request≤ acces≤ t∩ ß logica∞ blocδ no⌠ ì
withiε thσ capacit∙ oµ thσ mediuφ thσ commanΣ i≤ terminateΣ witΦ CHEC╦ ì
CONDITION«
ááThσ numbe≥ oµ byte≤ oµ datß containeΣ iε ß logica∞ blocδ i≤ knowε a≤ thσ ì
blocδ length« EacΦ logica∞ blocδ ha≤ ß blocδ lengtΦ associateΣ witΦ it« Thσ ì
blocδ lengtΦ ma∙ bσ differen⌠ fo≥ eacΦ logica∞ blocδ oε thσ medium« However¼ ì
iε ß typica∞ devicσ onl∙ onσ blocδ lengtΦ i≤ useΣ a⌠ ß time« Thσ blocδ ì
descripto≥ iε thσ MOD┼ SENS┼ datß describe≤ thσ blocδ length≤ tha⌠ arσ useΣ oε ì
thσ medium« Aε MOD┼ SELEC╘ commanΣ caε bσ useΣ t∩ setu≡ extents« Aε exten⌠ ì
i≤ ß specifieΣ numbe≥ oµ logica∞ block≤ tha⌠ havσ thσ specifieΣ blocδ length« ì
Thσ FORMA╘ UNI╘ commanΣ i≤ typicall∙ requireΣ t∩ changσ thσ blocδ lengtΦ oµ ì
device≤ tha⌠ suppor⌠ variablσ blocδ length≤ anΣ makσ thσ extent≤ tha⌠ werσ ì
setu≡ active.
ááThσ locatioε oµ ß logica∞ blocδ oε thσ mediuφ doe≤ no⌠ havσ ß relationshi≡ ì
t∩ thσ locatioε oµ an∙ othe≥ logica∞ block« However¼ iε ß typica∞ devicσ thσ ì
logica∞ block≤ arσ locateΣ iε aε ascendinτ order« Thσ timσ t∩ acces≤ thσ ì
logica∞ blocδ a⌠ addres≤ [x▌ anΣ theε thσ logica∞ blocδ a⌠ addres≤ [x+1▌ ma∙ ì
no⌠ bσ les≤ thaε timσ t∩ acces≤ [x▌ anΣ theε [x+100]« Thσ REA─ CAPACIT┘ witΦ ì
ß PM╔ bi⌠ oµ onσ i≤ usefu∞ iε determininτ wherσ longe≥ acces≤ time≤ occur«
.cp 10
.aw off
.pm 0
8.1.3. Ready State
.aw on
.pm 3
áá┴ direc⌠-acces≤ devicσ i≤ read∙ wheε mediuφ acces≤ command≤ caε bσ executed« ì
┴ devicσ usinτ removablσ mediß i≤ usuall∙ no⌠ read∙ unti∞ ß volumσ i≤ mounted« ì
SucΦ ß devicσ normall∙ return≤ CHEC╦ CONDITIO╬ statu≤ anΣ set≤ thσ sensσ ke∙ ì
t∩ NO╘ READY.
áá┴ direc⌠-acces≤ devicσ ma∙ bσ switcheΣ froφ beinτ read∙ t∩ beinτ no⌠ read∙ ì
b∙ usinτ thσ STAR╘ STO╨ UNI╘ command« Aε initiato≥ ma∙ neeΣ t∩ issuσ ß STAR╘ ì
UNI╘ commanΣ t∩ brinτ ß devicσ ready.
.cp 10
.aw off
.pm 0
8.1.4. Initialization
.aw on
.pm 3
ááMan∙ direc⌠-acces≤ device≤ mus⌠ bσ initializeΣ prio≥ t∩ writσ o≥ reaΣ ì
operations« Thi≤ initializatioε i≤ usuall∙ performeΣ b∙ ß FORMA╘ UNI╘ ì
command« Parameter≤ relateΣ t∩ thσ geometr∙ anΣ performancσ characteristic≤ ì
caε bσ se⌠ witΦ thσ MOD┼ SELEC╘ commanΣ prio≥ t∩ thσ forma⌠ operation« Somσ ì
device≤ arσ initializeΣ b∙ mean≤ no⌠ specifieΣ iε thi≤ standard« Thσ timσ a⌠ ì
whicΦ thi≤ occur≤ i≤ specifiπ t∩ thσ implementatioε oµ thσ direc⌠-acces≤ ì
device«
è.cp 3
ááDevice≤ usinτ noε-volatilσ mediuφ typicall∙ savσ thσ parameter≤ anΣ onl∙ ì
neeΣ t∩ bσ initializeΣ once« However¼ somσ modσ parameter≤ ma∙ neeΣ t∩ bσ ì
initializeΣ afte≥ eacΦ powe≥-oε anΣ reset« ┴ catastrophiπ failurσ oµ thσ ì
direc⌠-acces≤ devicσ ma∙ requirσ thσ FORMA╘ UNI╘ commanΣ t∩ bσ reissued«
ááDevice≤ tha⌠ d∩ no⌠ usσ noε-volatilσ mediuφ ma∙ neeΣ t∩ bσ initializeΣ a⌠ ì
eacΦ powe≥-oε prio≥ reaΣ o≥ writσ operation≤ beinτ performed« Modσ parameter≤ ì
ma∙ als∩ neeΣ initialization.
.cp 10
.aw off
.pm 0
8.1.5. Mediuφ Defects
.aw on
.pm 3
ááAn∙ mediuφ ha≤ thσ potentia∞ fo≥ defect≤ whicΦ caε causσ use≥ datß t∩ bσ ì
lost« Therefore¼ eacΦ logica∞ blocδ ma∙ contaiε informatioε whicΦ allow≤ thσ ì
detectioε oµ change≤ t∩ thσ use≥ datß causeΣ b∙ defect≤ iε thσ mediuφ o≥ othe≥ ì
phenomena¼ anΣ ma∙ als∩ allo≈ thσ datß t∩ bσ reconstructeΣ followinτ thσ ì
detectioε oµ sucΦ ß change« Oε somσ devices¼ thσ initiato≥ ha≤ somσ contro∞ ì
somσ througΦ usσ oµ thσ modσ parameters« Somσ device≤ ma∙ allo≈ thσ initiato≥ ì
t∩ examinσ anΣ modif∙ thσ additiona∞ informatioε b∙ usinτ thσ REA─ LON╟ anΣ ì
WRIT┼ LON╟ commands« Somσ mediß havinτ ß ver∙ lo≈ probabilit∙ oµ defect≤ ma∙ ì
no⌠ requirσ thesσ structures.
ááDefect≤ ma∙ als∩ bσ detecteΣ anΣ manageΣ durinτ executioε oµ thσ FORMA╘ UNI╘ ì
command« Thσ FORMA╘ UNI╘ commanΣ define≤ fou≥ source≤ oµ defec⌠ information« ì
Thesσ defect≤ ma∙ bσ reassigneΣ o≥ avoideΣ durinτ thσ initializatioε proces≤ ì
s∩ tha⌠ the∙ d∩ no⌠ appea≥ iε ß logica∞ block.
ááDefect≤ ma∙ als∩ bσ avoideΣ afte≥ initialization« Thσ initiato≥ issue≤ ß ì
REASSIG╬ BLOCK╙ commanΣ t∩ reques⌠ tha⌠ thσ specifieΣ logica∞ blocδ addres≤ bσ ì
reassigneΣ t∩ ß differen⌠ par⌠ oµ thσ medium« Thi≤ operatioε caε bσ repeateΣ ì
iµ ß ne≈ defec⌠ appear≤ a⌠ ß late≥ time« Thσ tota∞ numbe≥ oµ defect≤ tha⌠ ma∙ ì
bσ handleΣ iε thi≤ manne≥ caε bσ specifieΣ iε thσ modσ parameters.
ááDefec⌠ managemen⌠ oε direc⌠-acces≤ device≤ i≤ usuall∙ vendo≥ specific« ì
Device≤ no⌠ usinτ removablσ mediuφ typicall∙ optimizσ thσ defec⌠ managemen⌠ ì
fo≥ capacit∙ o≥ performancσ o≥ both« Device≤ tha⌠ usσ removablσ mediuφ ì
typicall∙ d∩ no⌠ suppor⌠ defec⌠ managemen⌠ (e.g.¼ somσ flopp∙ disδ drives⌐ o≥ ì
usσ defec⌠ managemen⌠ tha⌠ i≤ baseΣ oε thσ abilit∙ t∩ interchangσ thσ medium«
.cp 10
.aw off
.pm 0
8.1.6. Datß Cachσ
.aw on
.pm 3
ááSomσ direc⌠-acces≤ device≤ implemen⌠ cachσ memory« ┴ cachσ memor∙ i≤ ì
usuall∙ aε areß oµ temporar∙ storagσ iε thσ direc⌠-acces≤ devicσ witΦ ß fas⌠ ì
acces≤ timσ tha⌠ i≤ useΣ t∩ enhancσ performance« I⌠ exist≤ separatel∙ froφ ì
thσ block≤ oµ datß storeΣ anΣ i≤ normall∙ no⌠ directl∙ accessiblσ b∙ thσ ì
initiator« Usσ oµ cachσ memor∙ fo≥ writσ o≥ reaΣ operation≤ typicall∙ reduce≤ ì
thσ acces≤ timσ t∩ ß logica∞ blocδ anΣ caε increasσ thσ overal∞ datß ì
throughput«
.cp10èááDurinτ reaΣ operation≤ thσ direc⌠-acces≤ devicσ use≤ thσ cachσ memor∙ t∩ ì
kee≡ block≤ oµ datß tha⌠ thσ initiato≥ ma∙ reques⌠ a⌠ somσ futurσ time« Thσ ì
algorithφ useΣ t∩ managσ thσ cachσ memor∙ i≤ no⌠ par⌠ oµ thi≤ standard« ì
However¼ therσ arσ parameter≤ provideΣ b∙ whicΦ thσ initiato≥ ma∙ advisσ thσ ì
direc⌠-acces≤ devicσ abou⌠ it≤ futurσ requests¼ o≥ restric⌠ thσ usσ oµ cachσ ì
memor∙ fo≥ ß particula≥ request«
ááDurinτ writσ operation≤ thσ direc⌠-acces≤ devicσ use≤ thσ cachσ memor∙ t∩ ì
buffe≥ datß fo≥ late≥ storagσ oε thσ medium« Thi≤ i≤ typicall∙ calleΣ ß ì
writσ-bacδ cachinτ algorithm« Thu≤ thσ commanΣ ma∙ completσ prio≥ t∩ block≤ ì
oµ datß beinτ writteε t∩ thσ medium« A≤ ß resul⌠ oµ usinτ writσ-bacδ cachinτ ì
therσ i≤ ß perioΣ oµ timσ durinτ whicΦ thσ block≤ oµ datß ma∙ bσ los⌠ duσ t∩ ß ì
powe≥ o≥ hardwarσ failure« Therσ i≤ als∩ thσ possibilit∙ oµ aε erro≥ ì
occurrinτ durinτ thσ writσ operation« Iµ aε erro≥ occurreΣ durinτ thσ write¼ ì
i⌠ ma∙ bσ reporteΣ a≤ ß deferreΣ erro≥ oε ß late≥ command« However¼ therσ arσ ì
parameter≤ provideΣ b∙ whicΦ thσ thσ initiato≥ ma∙ reques⌠ thσ usσ oµ writσ-ì
througΦ cachinτ thereb∙ preventinτ thesσ circumstance≤ froφ arising«
ááWheε thσ cachσ memor∙ fill≤ u≡ witΦ block≤ oµ datß tha⌠ arσ beinτ kep⌠ fo≥ ì
possiblσ futurσ access¼ ne≈ block≤ oµ datß tha⌠ arσ t∩ bσ kep⌠ mus⌠ replacσ ì
thosσ currentl∙ iε cachσ memory« Thσ disablσ pagσ ou⌠ (DPO⌐ bi⌠ i≤ useΣ t∩ ì
contro∞ replacemen⌠ oµ logica∞ block≤ iε thσ cache« Fo≥ writσ operations¼ ì
settinτ thi≤ bi⌠ t∩ onσ advise≤ thσ direc⌠-acces≤ devicσ t∩ no⌠ replacσ ì
existinτ block≤ iε thσ cachσ memor∙ witΦ thσ writσ data« Fo≥ reaΣ operations¼ ì
settinτ thi≤ bi⌠ t∩ onσ cause≤ block≤ oµ datß tha⌠ arσ beinτ reaΣ t∩ no⌠ ì
replacσ existinτ one≤ iε thσ cachσ memory.
ááSometime≤ thσ initiato≥ ma∙ wisΦ t∩ havσ thσ block≤ oµ datß reaΣ froφ thσ ì
mediuφ insteaΣ oµ froφ thσ cachσ memory« Thσ forcσ uni⌠ acces≤ (FUA⌐ bi⌠ i≤ ì
useΣ t∩ indicatσ tha⌠ thσ direc⌠-acces≤ devicσ shal∞ acces≤ thσ physica∞ ì
medium« Fo≥ ß writσ operation¼ settinτ FU┴ t∩ onσ cause≤ thσ direc⌠-acces≤ ì
devicσ t∩ completσ thσ datß writσ t∩ thσ physica∞ mediuφ beforσ completinτ thσ ì
command« Fo≥ ß reaΣ operation¼ settinτ FU┴ t∩ onσ cause≤ thσ logica∞ block≤ ì
t∩ bσ retrieveΣ froφ thσ physica∞ medium«
ááNotσ tha⌠ wheε thσ DP╧ anΣ FU┴ bit≤ arσ botΦ se⌠ t∩ one¼ writσ anΣ reaΣ ì
operation≤ bypas≤ thσ cachσ memory.
ááFo≥ thσ VERIF┘ command¼ aε FU┴ i≤ implied¼ sincσ thσ block≤ oµ datß storeΣ ì
oε thσ mediuφ arσ beinτ verified« Further¼ ß SYNCHRONIZ┼ CACH┼ operatioε (seσ ì
below⌐ i≤ als∩ implieΣ t∩ flusΦ aε unwritteε block≤ oµ datß stil∞ iε thσ cachσ ì
memory« Thesσ block≤ oµ datß mus⌠ bσ storeΣ oε thσ mediuφ beforσ thσ verif∙ ì
operatioε caε begin« Thσ DP╧ bi⌠ i≤ stil∞ provideΣ sincσ thσ VERIF┘ commanΣ ì
ma∙ stil∞ causσ thσ replacemen⌠ oµ block≤ iε thσ cache« Thσ abovσ als∩ ì
applie≤ t∩ thσ WRIT┼ AN─ VERIF┘ command.
.cp 16èááCertaiε specia∞ command≤ ma∙ bσ implementeΣ b∙ thσ direc⌠-acces≤ devicσ tha⌠ ì
allo≈ thσ initiato≥ t∩ contro∞ othe≥ behavio≥ oµ thσ cachσ memory:
.lm5
áá- LOC╦ UNLOC╦ CACH┼ control≤ whethe≥ certaiε logica∞ block≤ wil∞ bσ helΣ iε ì
ááááthσ datß cachσ fo≥ futurσ use« Lockinτ ß logica∞ blocδ prevent≤ it≤ ì
ááááreplacemen⌠ b∙ ß futurσ access« Unlockinτ ß logica∞ blocδ expose≤ i⌠ t∩ ì
áááápossiblσ replacemen⌠ b∙ ß futurσ access« (Seσ 8.2.2)
áá- PR┼-FETC╚ cause≤ ß se⌠ oµ logica∞ block≤ requesteΣ b∙ thσ initiato≥ t∩ bσ ì
ááááreaΣ int∩ thσ datß cachσ fo≥ possiblσ futurσ access« Thσ block≤ fetcheΣ ì
ááááarσ subjec⌠ t∩ late≥ replacemen⌠ unles≤ the∙ arσ lockeΣ (seσ 8.2.3)
áá- SYNCHRONIZ┼ CACH┼ force≤ an∙ pendinτ writσ datß iε thσ requesteΣ se⌠ oµ ì
áááálogica∞ block≤ t∩ bσ storeΣ iε thσ physica∞ medium« Thi≤ commanΣ caε bσ ì
ááááuseΣ t∩ ensurσ tha⌠ thσ datß wa≤ writteε anΣ an∙ error≤ reported« (seσ ì
áááá8.2.18)
áá- Thσ MOD┼ SELEC╘ commanΣ define≤ ß pagσ fo≥ thσ contro∞ oµ cachσ behavio≥ ì
ááááanΣ handle≤ certaiε basiπ element≤ oµ cachσ replacemen⌠ algorithm≤ (seσ ì
áááá8.3.3.1).
.lm1
.cp 10
.aw off
.pm 0
8.1.7. Reservation
.aw on
.pm 3
ááThσ acces≤ enableΣ o≥ acces≤ disableΣ conditioε determine≤ wheε aε initiato≥ ì
ma∙ storσ o≥ retrievσ use≥ datß al∞ o≥ par⌠ oµ thσ medium« Acces≤ ma∙ bσ ì
restricteΣ fo≥ reaΣ operations¼ writσ operations¼ o≥ both« Thi≤ attributσ ma∙ ì
bσ controlleΣ b∙ aε externa∞ mechanisφ o≥ b∙ thσ RESERV┼ anΣ RELEAS┼ command≤ ì
(seσ 8.2.1▓ anΣ 8.2.11).
ááThσ RESERV┼ anΣ RELEAS┼ command≤ definσ ho≈ differen⌠ type≤ oµ restricteΣ ì
acces≤ ma∙ bσ achieved¼ anΣ t∩ whoφ thσ acces≤ i≤ restricted« Thi≤ sectioε ì
describe≤ thσ interactioε oµ thσ initiato≥ tha⌠ requesteΣ thσ reservation¼ anΣ ì
thσ othe≥ initiators.
ááAε initiato≥ use≤ reservation≤ t∩ gaiε ß leve∞ oµ exclusivit∙ iε acces≤ t∩ ì
al∞ o≥ par⌠ oµ thσ mediuφ fo≥ itselµ o≥ anothe≥ initiator« I⌠ i≤ expecteΣ ì
tha⌠ thσ reservatioε wil∞ bσ retaineΣ unti∞ released« Thσ direc⌠-acces≤ ì
devicσ mus⌠ ensurσ tha⌠ thσ initiato≥ witΦ thσ reservatioε i≤ ablσ t∩ acces≤ ì
thσ reserveΣ mediß withiε thσ operatinτ parameter≤ establisheΣ b∙ tha⌠ ì
initiator«
ááThσ followinτ lis⌠ explain≤ thσ target≤ action≤ iε ß situatioε wherσ ß ì
reservatioε exist≤ fo≥ variou≤ commands« Unles≤ otherwisσ noted¼ aε initiato≥ ì
tha⌠ issue≤ an∙ commanΣ t∩ ß direc⌠-acces≤ devicσ tha⌠ ha≤ ß logica∞ uni⌠ ì
reservatioε t∩ anothe≥ initiator¼ incur≤ ß reservatioε conflict.
ááThσ CHANG┼ DEFINITIO╬ commanΣ i≤ deal⌠ witΦ a≤ follows« Iµ an∙ initiato≥ ì
ha≤ aε exten⌠ reservatioε oε ß direc⌠-acces≤ device¼ n∩ othe≥ initiato≥ ma∙ ì
affec⌠ thσ operatinτ definitioε oµ tha⌠ initiato≥ b∙ usσ oµ thi≤ command« Iµ ì
thσ direc⌠-acces≤ devicσ allow≤ differen⌠ operatinτ definition≤ fo≥ eacΦ ì
initiator¼ theε therσ i≤ n∩ conflict╗ otherwise¼ ß reservatioε conflic⌠ ì
occurs.
.cp 6
ááThσ COMPARE¼ COPY¼ anΣ COP┘ AN─ VERIF┘ command≤ arσ evaluateΣ fo≥ ì
reservatioε conflic⌠ a≤ iµ the∙ werσ norma∞ writσ anΣ reaΣ operation≤ eveε ì
wheε ß direc⌠-acces≤ devicσ i≤ requesteΣ t∩ cop∙ t∩ o≥ froφ itself¼ thosσ ì
writσ anΣ reaΣ accesse≤« Fo≥ example¼ iµ ß COP┘ i≤ issueΣ t∩ logica∞ ì
uni⌠ ░ tha⌠ request≤ thσ direc⌠-acces≤ devicσ t∩ cop∙ froφ logica∞ uni⌠ ░ t∩ ì
logica∞ uni⌠ 1¼ acces≤ t∩ logica∞ uni⌠ ▒ mus⌠ als∩ bσ evaluateΣ fo≥ conflict.è
.cp 3
ááThσ FORMA╘ UNIT¼ PREVEN╘ ALLO╫ MEDIU═ REMOVAL¼ REZER╧ UNIT¼ anΣ STAR╘ STO╨ ì
UNI╘ command≤ wil∞ generatσ ß reservatioε conflic⌠ iµ an∙ othe≥ initiato≥ ha≤ ì
aε exten⌠ reservatioε oε ß direc⌠-acces≤ device.
ááThσ INQUIR┘ anΣ REQUES╘ SENS┼ command≤ arσ no⌠ affecteΣ b∙ an∙ kinΣ oµ ì
reservation.
.cp 3
ááThσ LO╟ SELECT¼ LO╟ SENSE¼ MOD┼ SENSE¼ TES╘ UNI╘ READY¼ REA─ CAPACIT┘ (PM╔ ì
se⌠ t∩ zero)¼ REA─ BUFFER¼ WRIT┼ BUFFER¼ anΣ REA─ DEFEC╘ DAT┴ command≤ arσ no⌠ ì
affecteΣ b∙ exten⌠ reservations«
ááThσ SEEK¼ LOC╦ UNLOC╦ CACHE¼ PR┼-FETCH¼ anΣ SYNCHRONIZ┼ CACH┼ command≤ arσ ì
evaluateΣ fo≥ reservatioε conflic⌠ a≤ iµ the∙ werσ norma∞ writσ or reaΣ ì
operations.
ááThσ MOD┼ SELEC╘ commanΣ i≤ deal⌠ witΦ a≤ follows« Iµ aε initiato≥ ha≤ aε ì
exten⌠ reservatioε oε ß direc⌠-acces≤ device¼ anΣ anothe≥ initiato≥ attempt≤ ì
onσ oµ thesσ command¼ ß reservatioε conflic⌠ occur≤ iµ thσ commanΣ affect≤ thσ ì
manne≥ iε whicΦ acces≤ oµ thσ exten⌠ b∙ thσ firs⌠ initiato≥ i≤ performed« Iµ ì
thσ commanΣ doe≤ no⌠ affec⌠ acces≤ t∩ thσ extent¼ o≥ parameter≤ arσ saveΣ fo≥ ì
eacΦ initiator¼ theε ß conflic⌠ doe≤ no⌠ occur«
ááThσ SEN─ DIAGNOSTIC¼ RECEIV┼ DIAGNOSTI├ RESULT╙ command≤ conflic⌠ witΦ aε ì
exten⌠ reservatioε onl∙ iµ the∙ affec⌠ acces≤ t∩ thσ exten⌠ (a≤ witΦ MOD┼ ì
SELECT).
ááThσ REASSIG╬ BLOCK╙ commanΣ ma∙ no⌠ reassigε ß blocδ tha⌠ i≤ iε aε exten⌠ ì
reserveΣ t∩ anothe≥ initiator.
ááThσ SE╘ LIMIT╙ commanΣ generate≤ ß reservatioε conflic⌠ iµ thσ logica∞ ì
block≤ specifieΣ arσ withiε aε exten⌠ reserveΣ t∩ anothe≥ initiator.
ááAL╠ othe≥ command≤ arσ thß⌠ reques⌠ reaΣ o≥ writσ operations arσ evaluateΣ ì
fo≥ reservatioε conflic⌠ a≤ describeΣ iε thσ RESERV┼ command.
ááWheε ß systeφ i≤ integrateΣ witΦ morσ thaε onσ initiator¼ therσ mus⌠ bσ ì
agreemen⌠ betweeε thσ initiator≤ a≤ t∩ ho≈ mediß i≤ reserveΣ anΣ releaseΣ ì
durinτ operations¼ otherwisσ aε initiato≥ ma∙ bσ lockeΣ ou⌠ oµ acces≤ t∩ ß ì
targe⌠ iε thσ middlσ oµ aε operation« Fo≥ example¼ initiato≥ 'Aº i≤ ì
performinτ write≤ t∩ ß direc⌠-acces≤ devicσ tha⌠ arσ beinτ cached« Then¼ ì
initiato≥ 'Bº issue≤ ß RESERV┼ commanΣ t∩ thσ direc⌠-acces≤ device« A≤ ß ì
result¼ initiato≥ 'Aº i≤ lockeΣ ou⌠ oµ issuinτ ß SYNCHRONIZ┼ CACH┼ commanΣ t∩ ì
ensurσ thσ integrit∙ oµ thσ writes« T∩ preven⌠ thi≤ froφ happening¼ initiato≥ ì
'Aº shoulΣ issuσ ß RESERV┼ prio≥ t∩ thσ cacheΣ writσ commands.
.cp 10è.aw off
.pm 0
8.1.8. Seek and Rezero
.aw on
.pm 3
.cp 6
ááThσ SEE╦ commanΣ provide≤ ß wa∙ fo≥ thσ initiato≥ t∩ positioε thσ devicσ iε ì
preparatioε fo≥ acces≤ t∩ ß particula≥ logica∞ blocδ a⌠ somσ late≥ time« ì
Sincσ thi≤ positioninτ actioε i≤ implici⌠ iε othe≥ commands¼ thσ SEE╦ commanΣ ì
ma∙ no⌠ bσ usefu∞ witΦ somσ direc⌠-acces≤ devices.
.cp 5
ááThσ REZER╧ UNI╘ commanΣ i≤ provideΣ t∩ brinτ thσ direc⌠-acces≤ devicσ t∩ ß ì
knowε condition« Thi≤ standarΣ doe≤ no⌠ specif∙ thσ condition« Thσ REZER╧ ì
UNI╘ commanΣ i≤ useΣ iε somσ device≤ t∩ positioε thσ actuato≥ a⌠ cylinde≥ ì
zero« Somσ device≤ returε GOO─ statu≤ withou⌠ attemptinτ an∙ action.
.cp 10
.aw off
.pm 0
8.1.9. NotcheΣ Drives
.aw on
.pm 3
áá┴ notcheΣ (als∩ calleΣ partitioneΣ o≥ zoned⌐ drivσ ha≤ area≤ oµ thσ mediuφ ì
iε whicΦ thσ drivσ geometr∙ changes« Iε thσ simples⌠ case¼ thσ entirσ mediuφ ì
consist≤ oµ ß singlσ notch« Multiplσ notche≤ arσ ofteε useΣ t∩ increasσ ì
capacit∙ oµ thσ drive« Thσ notcΦ pagσ i≤ useΣ t∩ indicatσ thσ notcΦ fo≥ ì
assignmen⌠ oµ value≤ t∩ thσ parameter≤ iε thσ forma⌠ devicσ page« B∙ ì
sequencinτ thσ notcΦ pagσ througΦ eacΦ notch¼ thσ forma⌠ devicσ parameter≤ oµ ì
eacΦ notcΦ arσ set« Thi≤ i≤ usuall∙ donσ prio≥ t∩ initializatioε b∙ thσ ì
FORMA╘ UNI╘ command.
.cp 10
.aw off
.pm 0
8.1.10. Rotational Position Locking
.aw on
.pm 3
ááRotationa∞ positioε lockinτ i≤ aε optiona∞ featurσ implementeΣ iε somσ ì
direc⌠-acces≤ device≤ t∩ allo≈ thσ synchronizatioε oµ spindle≤ betweeε ß ì
numbe≥ oµ devices« Thσ rotationa∞ positioε offse⌠ featurσ allow≤ device≤ t∩ ì
synchronizσ spindle≤ a⌠ offset≤ froφ index« Thi≤ ma∙ bσ usefu∞ iε improvinτ ì
performancσ iε system≤ tha⌠ implemen⌠ array≤ oµ devices.
.cp 10
.aw off
.pm 0
8.1.11. Relativσ Addressing
.aw on
.pm 3
ááRelativσ addressinτ i≤ ß techniquσ usefu∞ iε accessinτ structureΣ datß iε ß ì
uniforφ manner« Relativσ addressinτ i≤ onl∙ alloweΣ wheε command≤ arσ linked« ì
Sectioε 6.4.│ give≤ aε examplσ oµ relativσ addressinτ anΣ linkinτ fo≥ SEARC╚ ì
DAT┴ command≤ appropriatσ t∩ direc⌠-acces≤ devices.
ááThσ SE╘ LIMIT╙ commanΣ i≤ provideΣ t∩ definσ thσ limit≤ oµ ß linkeΣ chaiε oµ ì
relativσ addressinτ commands« Thi≤ give≤ aε additiona∞ protectioε agains⌠ ì
exceedinτ ß particula≥ se⌠ oµ blocks« Thσ SE╘ LIMIT╙ commanΣ ha≤ n∩ effec⌠ oε ì
an∙ othe≥ initiator.
.cp 10
.aw off
.pm 0
8.1.12. Erro≥ Reporting
.aw on
.pm 3
ááIµ an∙ oµ thσ followinτ condition≤ occu≥ durinτ thσ executioε oµ ß commanΣ ì
thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status« Thσ appropriatσ sensσ ke∙ anΣ ì
additiona∞ sensσ codσ shoulΣ bσ set« Thσ followinτ tablσ illustrate≤ somσ ì
erro≥ condition≤ anΣ thσ applicablσ sensσ keys« Thσ tablσ doe≤ no⌠ providσ aε ì
exhaustivσ enumeratioε oµ al∞ condition≤ tha⌠ ma∙ causσ thσ CHEC╦ CONDITIO╬ ì
status.
.cp 25è.pm 0
.aw off
Condition Sense Key
---------------------------------------------- ----------------------------
Invalid logical block address ILLEGAL REQUEST
UnsupporteΣ optioε requesteΣ ILLEGA╠ REQUEST
Target reset or medium change since
last command from this initiator UNIT ATTENTION
Selµ diagnostiπ faileΣ HARDWAR┼ ERROR
Unrecovered read error MEDIUM ERROR
HARDWAR┼ ERROR
Recovered read error RECOVERED ERROR
Overrun or other error that might
be resolved by repeating the command ABORTED COMMAND
Attempt to write on write protected mediuφ DAT┴ PROTECT
.pm 3
.aw on
.cp 2
ááIε thσ casσ oµ aε invaliΣ logica∞ blocδ address¼ thσ sensσ datß informatioε ì
fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ firs⌠ invaliΣ address.
.cp 4
ááIε thσ casσ oµ aε attemp⌠ t∩ reaΣ ß blanδ o≥ previousl∙ unwritteε block¼ thσ ì
informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ addres≤ oµ thσ firs⌠ blanδ ì
blocδ encountered« Thσ datß reaΣ u≡ t∩ tha⌠ blocδ shal∞ bσ transferreΣ ì
(optica∞ memor∙ anΣ writσ-oncσ device≤ only).
.cp 4
ááIε thσ casσ oµ aε attemp⌠ t∩ writσ ß previousl∙ writteε blocδ anΣ blanδ ì
checkinτ i≤ enabled¼ thσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ logica∞ blocδ ì
addres≤ oµ thσ firs⌠ noε-blanδ blocδ encountereΣ (optica∞ memor∙ anΣ writσ-ì
oncσ device≤ only).
.cp 15
.aw off
.pm 0
8.1.13. Examples
.aw on
.pm 3
ááThσ followinτ example≤ sho≈ somσ typica∞ variation≤ oµ thσ direc⌠-acces≤ ì
device« Othe≥ variation≤ arσ possible.
.cp 5
.aw off
.pm 0
8.1.13.1. Rotatinτ Mediß
.aw on
.pm 3
ááThσ typica∞ applicatioε oµ ß direc⌠-acces≤ devicσ i≤ ß disδ drive« Thσ ì
mediuφ i≤ ß disδ coateΣ witΦ ß materia∞ iε whicΦ flu° change≤ ma∙ bσ induced« ì
Thσ disδ drivσ allow≤ direc⌠ anΣ randoφ acces≤ t∩ thσ medium« Thi≤ i≤ donσ ì
usinτ ß actuato≥ whicΦ position≤ thσ reaΣ-writσ head¼ anΣ ß rotatinτ disk« ì
Datß i≤ storeΣ anΣ retrieveΣ througΦ thσ interactioε oµ thσ read-writσ heaΣ ì
anΣ thσ disk.
.cp 6
ááThσ disδ i≤ typicall∙ divideΣ int∩ cylinders« EacΦ cylinde≥ i≤ typicall∙ ì
divideΣ int∩ tracks« EacΦ tracδ i≤ typicall∙ divideΣ int∩ sectors« ┴ ì
cylinde≥ i≤ ß se⌠ oµ track≤ thaε caε bσ accesseΣ withou⌠ movemen⌠ oµ thσ ì
actuator« ┴ tracδ i≤ ß recordinτ patΦ ove≥ whicΦ thσ read-writσ heaΣ travel≤ ì
durinτ onσ rotatioε oµ thσ disk« ┴ secto≥ i≤ ß par⌠ oµ ß tracδ tha⌠ contain≤ ì
thσ storeΣ datß blocks.
è.cp 8
áá┴ logica∞ blocδ i≤ storeΣ iε onσ o≥ morσ sectors¼ o≥ ß secto≥ ma∙ storσ morσ ì
thaε onσ logica∞ block« ┴ secto≥ i≤ typicall∙ madσ u≡ oµ ß header¼ datß anΣ ß ì
trailer« Thσ heade≥ contain≤ ß preamblσ useΣ t∩ synchronizσ reaΣ circuit≤ t∩ ì
thσ data¼ aε addres≤ fielΣ t∩ identif∙ thσ sector¼ flag≤ t∩ usσ fo≥ defec⌠ ì
management¼ anΣ ß checksuφ tha⌠ validate≤ thσ header« Thσ datß contain≤ thσ ì
blocδ oµ data« Thσ traile≥ contain≤ thσ checksuφ anΣ thσ erro≥ correctioε ì
informatioε iµ i⌠ i≤ used« Thσ checksuφ o≥ thσ erro≥ correctioε informatioε ì
allow≤ thσ correctioε datß fo≥ mediuφ defects.
.cp 4
áá┴ disδ drivσ i≤ typicall∙ read∙ wheε thσ disk≤ arσ rotatinτ a⌠ thσ correc⌠ ì
speeΣ anΣ thσ reaΣ-writσ circuitr∙ i≤ powereΣ anΣ read∙ t∩ acces≤ thσ disks« ì
Somσ disks¼ particularl∙ removablσ disks¼ requirσ thσ use≥ t∩ issuσ loaΣ o≥ ì
star⌠ command≤ t∩ brinτ thσ disδ drivσ t∩ thσ read∙ state.
áá┴ disδ drivσ wil∞ typicall∙ havσ t∩ bσ formatteΣ prio≥ t∩ thσ initia∞ ì
access« Exception≤ t∩ thi≤ arσ drive≤ tha⌠ arσ formatteΣ a⌠ thσ factor∙ anΣ ì
somσ optica∞ drive≤ witΦ prσ-formatteΣ mediß (seσ 12.1)« ┴ disδ drivσ forma⌠ ì
wil∞ typicall∙ creatσ thσ header≤ fo≥ eacΦ secto≥ anΣ initializσ thσ datß ì
field« Thσ MOD┼ SELEC╘ commanΣ i≤ ofteε useΣ a⌠ forma⌠ timσ t∩ establisΦ thσ ì
geometr∙ (numbe≥ oµ head≤ anΣ tracks¼ sector≤ pe≥ track¼ etc.⌐ anΣ defec⌠ ì
managemen⌠ scheme« Disδ drive≤ arσ usuall∙ noε-volatile.
.cp10
ááThσ defec⌠ managemen⌠ schemσ oµ ß disδ drivσ i≤ ofteε shieldeΣ froφ thσ ì
user¼ thougΦ somσ aspect≤ caε bσ evaluateΣ anΣ controlleΣ b∙ thσ initiator« ì
Thσ direc⌠-acces≤ devicσ wil∞ usuall∙ reservσ somσ sector≤ anΣ track≤ fo≥ ì
recordinτ defec⌠ table≤ anΣ fo≥ reassigninτ defectivσ blocks« Thσ REA─ LON╟ ì
anΣ WRIT┼ LON╟ command≤ wil∞ typicall∙ acces≤ thσ use≥ datß anΣ checksuφ ì
portion≤ oµ thσ datß fielΣ s∩ tha⌠ defect≤ ma∙ bσ induceΣ b∙ thσ initiato≥ t∩ ì
tes⌠ thσ defec⌠ detectioε logiπ oµ thσ direc⌠-acces≤ device.
ááNotche≤ finΣ thei≥ mos⌠ typica∞ usσ iε ß rotatinτ disδ drive« Oε ß disk¼ ì
thσ inne≥ track≤ arσ physicall∙ shorte≥ thaε thσ oute≥ tracks« A≤ ß result¼ ì
iµ eacΦ tracδ i≤ madσ t∩ storσ thσ samσ numbe≥ oµ datß bits¼ thσ datß i≤ ì
packeΣ morσ densel∙ oε thσ inne≥ track≤ thaε thσ oute≥ tracks« B∙ usinτ ì
notches¼ thσ oute≥ track≤ ma∙ bσ madσ t∩ contaiε ß differen⌠ numbe≥ oµ sector≤ ì
thaε thσ inne≥ tracks¼ balancinτ thσ datß density« Thi≤ result≤ iε increaseΣ ì
capacity.
.cp 10
.aw off
.pm 0
8.1.13.2. Sequentia∞ Media
.aw on
.pm 3
ááSomσ tapσ device≤ arσ implementeΣ a≤ ß direc⌠ acces≤ devicσ s∩ tha⌠ the∙ caε ì
bσ useΣ iε disδ orienteΣ operatinτ systeφ environments« Thesσ device≤ arσ ì
sometime≤ referreΣ t∩ a≤ 'randoφ acces≤ tapeº o≥ 'flopp∙ tape'« Thesσ device≤ ì
migh⌠ bσ though⌠ oµ a≤ ß disδ drivσ witΦ onσ o≥ ß fe≈ ver∙ lonτ tracks« ì
Acces≤ timσ t∩ ß logica∞ blocδ i≤ usuall∙ longe≥ thaε fo≥ ß disδ drive¼ sincσ ì
thσ tapσ mus⌠ bσ fas⌠ forwardeΣ o≥ rewounΣ t∩ thσ block« A≤ ß result¼ thσ ì
SEE╦ commanΣ wil∞ ofteε bσ morσ usefu∞ fo≥ ß tapσ thaε fo≥ ß disk« Thσ onl∙ ì
wa∙ aε initiato≥ ma∙ determinσ iµ ß direc⌠-acces≤ devicσ i≤ ß tapσ i≤ t∩ usσ ì
thσ mediuφ typσ codσ returneΣ b∙ thσ MOD┼ SENS┼ command.
.cp 10è.aw off
.pm 0
8.1.13.3. Memor∙ Media
.aw on
.pm 3
ááMemor∙ mediß include≤ device≤ whicΦ arσ traditionall∙ useΣ fo≥ primar∙ ì
storagσ withiε compute≥ systems¼ sucΦ a≤ soliΣ statσ statiπ o≥ dynamiπ randoφ ì
acces≤ memorie≤ (SRA═ o≥ DRAM)¼ o≥ magnetiπ corσ o≥ bubblσ memory« Thesσ ì
device≤ arσ typicall∙ noε-mechanica∞ anΣ thereforσ thσ entirσ physica∞ mediuφ ì
ma∙ bσ accesseΣ iε virtuall∙ thσ samσ acces≤ time« Thσ datß i≤ typicall∙ ì
accesseΣ a≤ ß bi⌠ o≥ bytσ anΣ thi≤ als∩ speed≤ acces≤ time« Memor∙ device≤ ì
typicall∙ storσ les≤ datß thaε disk≤ o≥ tapes¼ anΣ arσ usuall∙ volatilσ wheε ì
no⌠ protecteΣ b∙ batter∙ backup.
.cp 54è.aw off
.pm 0
8.2. Command≤ fo≥ Direct-Acces≤ Devices.
.aw on
.pm 3
ááThσ command≤ fo≥ direc⌠-acces≤ device≤ shal∞ bσ a≤ showε iε Tablσ ╕-1.
.aw off
.pm 0
Table 8-1: Commands for Direct-Access Devices
==============================================================================
Operation
Command Name Code Type Section
------------------------------------------------------------------------------
CHANG┼ DEFINITIO╬ 40Φ ╧ 7.2.1
COMPARE 39h O 7.2.2
COPY 18h O 7.2.3
COPY AND VERIFY 3Ah O 7.2.4
FORMAT UNIT 04h M 8.2.1
INQUIRY 12h M 7.2.5
LOC╦-UNLOCK CACHE 36h O 8.2.2
LO╟ SELEC╘ 4CΦ ╧ 7.2.6
LO╟ SENS┼ 4DΦ ╧ 7.2.7
MODE SELECT(6) 15h O 7.2.8
MODE SELECT(10) 55h O 7.2.9
MODE SENSE(6) 1Ah O 7.2.10
MODE SENSE(10) 5Ah O 7.2.11
PRE-FETCH 34h O 8.2.3
PREVEN╘-ALLOW MEDIUM REMOVAL 1Eh O 8.2.4
READ(6) 08h M 8.2.5
REA─(10) 28h M 8.2.6
READ BUFFER 3Ch O 7.2.12
READ CAPACITY 25h M 8.2.7
READ DEFECT DATA 37h O 8.2.8
READ LONG 3Eh O 8.2.9
REASSIGN BLOCKS 07h O 8.2.10
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
RELEASE 17h M 8.2.11
REQUEST SENSE 03h M 7.2.14
RESERVE 16h M 8.2.12
REZERO UNIT 01h O 8.2.13
SEARCH DATA EQUAL 31h O 8.2.14.1
SEARCH DATA HIGH 30h O 8.2.14.2
SEARCH DATA LOW 32h O 8.2.14.3
SEEK(6) 0Bh O 8.2.15
SEE╦(10) 2Bh O 8.2.15
SEND DIAGNOSTIC 1Dh M 7.2.15
SET LIMITS 33h O 8.2.16
STAR╘ STOP UNIT 1Bh O 8.2.17
SYNCHRONIZ┼ CACHE 35h O 8.2.18
TEST UNIT READY 00h M 7.2.16
VERIFY 2Fh O 8.2.19
==============================================================================
.aw on
.pm 3
.cp 33è.aw off
.pm 0
Tablσ 8-▒ continued
==============================================================================
Operation
Command Name Code Type Section
------------------------------------------------------------------------------
WRITE(6) 0Ah M 8.2.20
WRIT┼(10) 2Ah M 8.2.21
WRITE AND VERIFY 2Eh O 8.2.22
WRITE BUFFER 3Bh O 7.2.17
WRITE LONG 3Fh O 8.2.23
WRIT┼ SAM┼ 41Φ ╧ 8.2.24
==============================================================================
.aw on
.pm 3
ááKey║ ═ ╜ CommanΣ implementatioε i≤ mandatory.
áá ╧ ╜ CommanΣ implementatioε i≤ optional.
.cp 6
ááThσ followinτ operatioε code≤ arσ vendo≥-specific║ 02h¼ 05h¼ 06h¼ 09h¼ 0Ch¼ ì
0Dh¼ 0Eh¼ 0Fh¼ 10h¼ 11h¼ 13h¼ 14h¼ 19h¼ 20h¼ 21h¼ 22h¼ 23h¼ 24h¼ 26h¼ 27h¼ ì
29h¼ 2Ch¼ 2DΦ anΣ C0Φ througΦ FFh« Al∞ remaininτ operatioε code≤ fo≥ direc⌠-ì
acces≤ device≤ arσ reserveΣ fo≥ futurσ standardization.
.cp 25
.aw off
.pm 0
8.2.1. FORMAT UNIT Command
Table 8-2: FORMAT UNIT Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (04h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | FmtData| CmpLst | Defect List Format |
-----|-----------------------------------------------------------------------|
2 | Vendor-Specific |
-----|-----------------------------------------------------------------------|
3 | (MSB) |
-----|--- Interleave ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
.cp 5
ááThσ FORMA╘ UNI╘ commanΣ (Tablσ ╕-2⌐ format≤ thσ mediuφ int∩ initiato≥ ì
addressablσ logica∞ block≤ pe≥ thσ initiato≥ defineΣ options« Iε addition¼ ì
thσ mediuφ ma∙ bσ certifieΣ anΣ contro∞ structure≤ ma∙ bσ createΣ fo≥ thσ ì
managemen⌠ oµ thσ mediuφ anΣ defects« Therσ i≤ n∩ guaranteσ tha⌠ thσ mediuφ ì
ha≤ o≥ ha≤ no⌠ beeε altered.
.cp 10èááThσ simples⌠ mandator∙ forφ oµ thσ FORMA╘ UNI╘ commanΣ (witΦ n∩ forma⌠ data⌐ ì
accomplishe≤ mediuφ formattinτ witΦ littlσ initiato≥ contro∞ ove≥ defec⌠ ì
management« Thσ targe⌠ implementatioε determine≤ thσ degreσ oµ defec⌠ ì
managemen⌠ tha⌠ i≤ t∩ bσ performed« Tw∩ additiona∞ mandator∙ form≤ oµ thi≤ ì
commanΣ increasσ thσ initiator'≤ contro∞ ove≥ defec⌠ management« Severa∞ ì
optiona∞ form≤ oµ thi≤ commanΣ furthe≥ increasσ thσ initiator'≤ contro∞ ove≥ ì
defec⌠ management¼ b∙ allowinτ thσ initiato≥ t∩ specif∙ whicΦ defec⌠ list(s⌐ ì
arσ t∩ bσ used¼ t∩ specif∙ defec⌠ location≤ (iε severa∞ formats)¼ t∩ enablσ ì
targe⌠ certification¼ anΣ t∩ specif∙ wha⌠ t∩ d∩ iε thσ even⌠ tha⌠ defec⌠ list≤ ì
arσ no⌠ accessible«
ááThσ FORMA╘ UNI╘ commanΣ shal∞ bσ rejecteΣ witΦ RESERVATIO╬ CONFLIC╘ statu≤ ì
iµ thσ logica∞ uni⌠ i≤ reserved¼ o≥ an∙ exten⌠ reservation¼ froφ an∙ ì
initiator¼ i≤ activσ iε thσ specifieΣ logica∞ unit.
ááDurinτ thσ forma⌠ operation¼ thσ targe⌠ shal∞ responΣ t∩ command≤ a≤ ì
follows║
áá(1⌐ Iε responsσ t∩ al∞ command≤ excep⌠ REQUES╘ SENS┼ anΣ INQUIRY¼ thσ targe⌠ ì
shal∞ returε CHEC╦ CONDITIO╬ statu≤ unles≤ ß reservatioε conflic⌠ exist≤ iε ì
whicΦ casσ RESERVATIO╬ CONFLIC╘ statu≤ shal∞ bσ returned.
áá(2⌐ Iε responsσ t∩ thσ INQUIR┘ command¼ thσ targe⌠ shal∞ responΣ a≤ ì
commanded.
áá(3⌐ Iε responsσ t∩ thσ REQUES╘ SENS┼ command¼ unles≤ aε erro≥ ha≤ occurred¼ ì
thσ targe⌠ shal∞ returε ß sensσ ke∙ oµ NO╘ READ┘ anΣ aε additiona∞ sensσ codσ ì
oµ LOGICA╠ UNI╘ NO╘ READ┘ FORMA╘ I╬ PROGRESS¼ witΦ thσ sensσ ke∙ specifiπ ì
byte≤ se⌠ fo≥ progres≤ indicatioε (a≤ describeΣ iε 7.2.14.1)« Refe≥ t∩ ì
7.2.14.▓ fo≥ ß descriptioε oµ deferreΣ erro≥ handlinτ whicΦ ma∙ occu≥ durinτ ì
thσ forma⌠ operation.
.lm3
ááIMPLEMENTOR╙ NOTE║ I⌠ i≤ recommendeΣ tha⌠ MOD┼ SELEC╘ parameter≤ (iµ any⌐ ì
áábσ se⌠ prio≥ t∩ issuinτ thσ FORMA╘ UNI╘ command«
.lm1
.cp 15
ááDurinτ thσ executioε oµ thσ FORMA╘ UNI╘ command¼ thσ targe⌠ ma∙ perforφ ß ì
mediuφ defec⌠ managemen⌠ algorithφ (whicΦ caε bσ controlleΣ b∙ thσ initiator¼ ì
usinτ optiona∞ form≤ oµ thi≤ command)« Fou≥ source≤ oµ defec⌠ locatioε ì
informatioε (hereafte≥ calleΣ defects⌐ arσ defineΣ a≤ follows:
.cp 9
ááPrimar∙ defec⌠ lis⌠ (Plist).é Thi≤ i≤ thσ lis⌠ oµ defects¼ usuall∙ supplieΣ ì
b∙ thσ origina∞ manufacture≥ oµ thσ devicσ o≥ medium¼ tha⌠ arσ considereΣ a≤ ì
permanen⌠ defects« Thσ Plis⌠ i≤ locateΣ outsidσ oµ thσ initiato≥-accessiblσ ì
logica∞ blocδ space« Thσ Plis⌠ i≤ accessiblσ b∙ thσ targe⌠ (t∩ referencσ ì
whilσ formatting)¼ bu⌠ i⌠ i≤ no⌠ normall∙ accessiblσ b∙ thσ initiato≥ excep⌠ ì
througΦ thσ REA─ DEFEC╘ DAT┴ command« Oncσ created¼ thσ origina∞ Plis⌠ shal∞ ì
no⌠ bσ subjec⌠ t∩ change.
ááTarge⌠ certificatioε lis⌠ (Clist).é Thi≤ lis⌠ include≤ defect≤ detecteΣ b∙ ì
thσ targe⌠ durinτ aε optiona∞ certificatioε proces≤ executeΣ durinτ thσ FORMA╘ ì
UNI╘ command« Thi≤ lis⌠ shal∞ bσ addeΣ t∩ thσ Glist.
.cp 4
ááDatß defec⌠ lis⌠ (Dlist).é Thi≤ lis⌠ oµ defec⌠ descriptor≤ ma∙ bσ supplieΣ ì
t∩ thσ targe⌠ b∙ thσ initiato≥ iε thσ DAT┴ OU╘ phasσ oµ thσ FORMA╘ UNI╘ ì
command« Thi≤ lis⌠ shal∞ bσ addeΣ t∩ thσ Glist« Thσ defec⌠ lis⌠ lengtΦ iε ì
thσ defec⌠ lis⌠ heade≥ ma∙ bσ zero¼ iε whicΦ casσ therσ i≤ n∩ Dlist«
.cp 10èááGrowε defec⌠ lis⌠ (Glist).é Thσ Glis⌠ include≤ al∞ defect≤ sen⌠ b∙ thσ ì
initiato≥ o≥ detecteΣ b∙ thσ target« Thσ Glis⌠ doe≤ no⌠ includσ thσ Plist« ì
Iµ thσ CmpLs⌠ bi⌠ i≤ zer∩ thσ Glis⌠ shal∞ includσ Dlist≤ provideΣ t∩ thσ ì
targe⌠ durinτ thσ previou≤ anΣ thσ curren⌠ FORMA╘ UNI╘ commands« Thσ Glis⌠ ì
shal∞ als∩ include:
áá(1⌐ Defect≤ detecteΣ b∙ thσ forma⌠ operatioε durinτ mediuφ certification.
áá(2⌐ Defect≤ previousl∙ identifieΣ witΦ ß REASSIG╬ BLOCK╙ command.
áá(3⌐ Defect≤ previousl∙ detecteΣ b∙ thσ targe⌠ anΣ automaticall∙ reallocated.
.cp 6
áá┴ forma⌠ datß (FmtData⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ FORMA╘ UNI╘ paramete≥ ì
lis⌠ (seσ Tablσ ╕-3⌐ shal∞ bσ transferreΣ durinτ thσ DAT┴ OU╘ phase« Thσ ì
DAT┴ OU╘ phasσ consist≤ oµ ß defec⌠ lis⌠ heade≥ (seσ Tablσ ╕-4)¼ followeΣ b∙ ì
aε initializatioε patterε descriptor¼ followeΣ b∙ zer∩ o≥ morσ defec⌠ ì
descriptors« EacΦ defec⌠ descripto≥ identifie≤ ß locatioε oε thσ mediuφ tha⌠ ì
thσ targe⌠ shal∞ ma≡ ou⌠ oµ thσ use≥-accessiblσ area«
.cp 2
áá┴ FmtDatß bi⌠ oµ zer∩ indicate≤ tha⌠ ß DAT┴ OU╘ phasσ shal∞ no⌠ occur« Thσ ì
sourcσ oµ defec⌠ informatioε i≤ no⌠ specified.
.cp 5
áá┴ completσ lis⌠ (CmpLst⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ defec⌠ lis⌠ sen⌠ b∙ ì
thσ initiato≥ i≤ ß completσ lis⌠ oµ defects« An∙ existinτ defec⌠ lis⌠ excep⌠ ì
thσ Plis⌠ shal∞ bσ ignoreΣ b∙ thσ target« A≤ ß resul⌠ ß ne≈ Glis⌠ i≤ ì
constructeΣ whicΦ contain≤ thσ Dlis⌠ (iµ i⌠ i≤ sen⌠ b∙ thσ initiator)¼ anΣ thσ ì
Clis⌠ (iµ certificatioε i≤ enabled)« Thσ targe⌠ ma∙ adΣ an∙ defect≤ i⌠ ì
detect≤ durinτ thσ forma⌠ operatioε t∩ thi≤ Dlist.
.cp 5
áá┴ CmpLs⌠ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ defec⌠ lis⌠ sen⌠ b∙ thσ initiato≥ i≤ ì
aε additioε t∩ existinτ lis⌠ oµ defects« A≤ ß resul⌠ ß ne≈ Glis⌠ i≤ ì
constructeΣ whicΦ contain≤ thσ existinτ Glist¼ thσ Dlis⌠ (iµ i⌠ i≤ sen⌠ b∙ thσ ì
initiator⌐ anΣ thσ Clis⌠ (iµ certificatioε i≤ enabled)« Thσ targe⌠ ma∙ adΣ ì
an∙ defect≤ i⌠ detect≤ durinτ thσ forma⌠ operatioε t∩ thi≤ Dlist.
.cp 2
ááThσ defec⌠ lis⌠ forma⌠ fielΣ specifie≤ whicΦ defec⌠ descripto≥ i≤ useΣ iµ ì
thσ FmtDatß bi⌠ i≤ onσ (seσ Tablσ ╕-5).
.cp 7
ááThσ interleavσ fielΣ specifie≤ thσ interleavσ tha⌠ i≤ useΣ wheε performinτ ì
thσ forma⌠ operation« Thi≤ allow≤ thσ logica∞ block≤ t∩ bσ relateΣ iε ß wa∙ ì
tha⌠ facilitate≤ matchinτ thσ transfe≥ ratσ betweeε thσ initiato≥ anΣ thσ ì
peripheral« Aε interleavσ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ usσ it≤ defaul⌠ ì
interleave« Aε interleavσ oµ onσ specifie≤ tha⌠ consecutivσ logica∞ block≤ bσ ì
placeΣ iε contiguou≤ ascendinτ order« Al∞ othe≥ value≤ arσ vendo≥ specific.
.aw off
.pm 0
.cp 20è Table 8-3: FORMA╘ UNIT Paramete≥ List
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
ⁿ Defec⌠ Lis⌠ Heade≥ |
==============================================================================
| Initialization Pattern Descriptor (if any) |
==============================================================================
| Defect Descriptor(s) (if any) |
==============================================================================
á | Defect Descriptor 0 |
| (See specific table for length.) |
-----|¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡|
á | Defect Descriptor n |
| (See specific table for length.) |
==============================================================================
.aw on
.pm 3
.aw off
.pm 0
.cp 20
Table 8-4: Defect Lis⌠ Header
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Reserved |
-----|-----------------------------------------------------------------------|
1 | FOV | DPRY | DCRT | STPF | IP | DSP | Immed ⁿ V╙ |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Defect List Length ---|
3 | (LSB) |
==============================================================================
.aw on
.pm 3
.cp 7
ááThσ defec⌠ lis⌠ heade≥ (TABL┼ ╕-4⌐ provide≤ severa∞ optiona∞ forma⌠ contro∞ ì
bits« Target≤ tha⌠ implemen⌠ thesσ bit≤ givσ thσ initiato≥ additiona∞ contro∞ ì
ove≥ thσ usσ oµ thσ fou≥ defec⌠ sources¼ anΣ thσ formattinτ operation« Iµ thσ ì
initiato≥ attempt≤ t∩ selec⌠ an∙ functioε no⌠ implementeΣ b∙ thσ target¼ thσ ì
targe⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ke∙ ì
shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ ì
INVALI─ FIEL─ I╬ PARAMETE╥ LIST.
.cp 6
áá┴ forma⌠ option≤ valiΣ (FOV⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ usσ ì
it≤ defaul⌠ setting≤ fo≥ thσ DPRY¼ DCRT¼ STPF¼ I╨ anΣ DS╨ bit≤ (seσ below)« ì
Thσ initiato≥ shal∞ se⌠ thesσ bit≤ t∩ zero« Iµ an∙ oµ thesσ bit≤ arσ no⌠ ì
zero¼ thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ shal∞ ì
bσ se⌠ t∩ INVALI─ FIEL─ I╬ PARAMETE╥ LIST.
.cp 3
áá┴ FO╓ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ examinσ thσ settinτ oµ thσ ì
DPRY¼ DCRT¼ STPF¼ I╨ anΣ DS╨ bits« Wheε FO╓ i≤ onσ thσ DPRY¼ DCRT¼ STPF¼ I╨ ì
anΣ DS╨ bit≤ arσ defineΣ below.
è.cp 6
áá┴ disablσ primar∙ (DPRY⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ usσ ì
portion≤ oµ thσ mediuφ identifieΣ a≤ defectivσ iε thσ primar∙ defec⌠ Plis⌠ fo≥ ì
initiato≥ addressablσ logica∞ blocks« Iµ thσ targe⌠ canno⌠ locatσ thσ Plis⌠ ì
o≥ i⌠ canno⌠ determinσ whethe≥ ß Plis⌠ exists¼ i⌠ shal∞ perforφ thσ actioε ì
specifieΣ b∙ thσ STP╞ bit« ┴ DPR┘ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ ì
no⌠ usσ thσ Plis⌠ t∩ identif∙ defectivσ area≤ oµ thσ medium« Thσ Plis⌠ i≤ no⌠ ì
deleted.
.cp 5
áá┴ disablσ certificatioε (DCRT⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ ì
perforφ ß vendo≥-specifiπ mediuφ certificatioε operatioε t∩ generatσ ß Clist« ì
┴ DCR╘ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ perforφ an∙ vendo≥-ì
specifiπ mediuφ certificatioε proces≤ o≥ forma⌠ verificatioε operatioε whilσ ì
executinτ thσ FORMA╘ UNI╘ command.
.cp 8
ááThσ sto≡ forma⌠ (STPF⌐ bi⌠ control≤ thσ behavio≥ oµ thσ targe⌠ wheε onσ oµ ì
thσ followinτ event≤ occurs:
áá(1⌐ Thσ targe⌠ ha≤ beeε requesteΣ t∩ usσ thσ primar∙ defec⌠ lis⌠ (DPR┘ i≤ ì
se⌠ t∩ zero)¼ o≥ thσ growε defec⌠ lis⌠ (CmpLs⌠ i≤ se⌠ t∩ zero⌐ anΣ thσ targe⌠ ì
canno⌠ locatσ thσ lis⌠ no≥ determinσ whethe≥ thσ lis⌠ exists.
áá(2⌐ Thσ targe⌠ ha≤ beeε requesteΣ t∩ usσ thσ primar∙ defec⌠ lis⌠ (DPR┘ i≤ ì
se⌠ t∩ zero⌐ o≥ thσ growε defec⌠ lis⌠ (CmpLs⌠ i≤ se⌠ t∩ zero)¼ anΣ thσ targe⌠ ì
encounter≤ aε erro≥ whilσ accessinτ thσ defec⌠ list.
.cp 6
áá┴ STP╞ bi⌠ oµ zer∩ indicate≤ that¼ iµ onσ o≥ botΦ oµ thσ abovσ condition≤ ì
occurs¼ thσ targe⌠ shal∞ continuσ t∩ executσ thσ FORMA╘ UNI╘ command« Thσ ì
targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ a⌠ thσ completioε oµ thσ FORMA╘ ì
UNI╘ command« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ RECOVERE─ ERRO╥ anΣ thσ ì
additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ t∩ eithe≥ DEFEC╘ LIS╘ NO╘ FOUN─ iµ ì
conditioε onσ occurred¼ o≥ DEFEC╘ LIS╘ ERRO╥ iµ conditioε tw∩ occurred.
áá┴ STP╞ bi⌠ oµ onσ indicate≤ that¼ iµ onσ o≥ botΦ oµ thσ abovσ condition≤ ì
occurs¼ thσ targe⌠ shal∞ terminatσ thσ FORMA╘ UNI╘ commanΣ witΦ CHEC╦ ì
CONDITIO╬ status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ MEDIU═ ERRO╥ anΣ thσ ì
additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ t∩ eithe≥ DEFEC╘ LIS╘ NO╘ FOUN─ iµ ì
conditioε onσ occurred¼ o≥ DEFEC╘ LIS╘ ERRO╥ iµ conditioε tw∩ occurred.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ usσ oµ thσ FmtDatß bit¼ thσ CmpLs⌠ bit¼ anΣ thσ ì
áádefec⌠ heade≥ allo≈ thσ initiato≥ t∩ contro∞ thσ sourcσ oµ thσ defec⌠ list≤ ì
ááuseΣ b∙ thσ FORMA╘ UNI╘ command« Settinτ thσ defec⌠ lis⌠ lengtΦ t∩ zer∩ ì
ááallow≤ thσ initiato≥ t∩ contro∞ thσ usσ oµ Plis⌠ anΣ Clis⌠ withou⌠ havinτ t∩ ì
ááspecif∙ ß Dlist.
.lm 1
.cp 55èááTablσ ╕-╡ define≤ thσ implementatioε requirement≤ fo≥ thσ FORMA╘ UNI╘ ì
command.
.pm 0
.aw off
Table 8-5: FORMAT UNIT Defect Descriptor Format and Requirements
==============================================================================
FmtData
ⁿ CmpLst
| ⁿ Defect Defect
| | List List Command
| | Format Length Type Comments
- - ------ ------ --------- ------------------------------------------
0 0 000b N/A Mandatory Target-defined use of defect sources.
------------------------------------------------------------------------------
BLOCK FORMAT:
1 ░ 000b Zero Mandatory (1),(3)
1 ▒ 000b Zero Mandatory (1),(4)
1 0 000b >0 Optional (2),(3)
1 ▒ 000b >0 Optional (2),(4)
------------------------------------------------------------------------------
BYTES FROM INDEX FORMAT:
1 ░ 100b Zero Optional (1),(3)
1 ▒ 100b Zero Optional (1),(4)
1 ░ 100b >0 Optional (2),(3)
1 ▒ 100b >0 Optional (2),(4)
------------------------------------------------------------------------------
PHYSICAL SECTOR FORMAT:
1 ░ 101b Zero Optional (1),(3)
1 ▒ 101b Zero Optional (1),(4)
1 0 101b >0 Optional (2),(3)
1 ▒ 101b >0 Optional (2),(4)
------------------------------------------------------------------------------
1 ░ 110b Vendor-Specific
1 ▒ 110b Vendor-Specific
All other codes Reserved
NOTE║ Al∞ option≤ describeΣ abovσ causσ ß ne≈ Glis⌠ t∩ bσ createΣ durinτ thσ ì
executioε oµ thσ FORMA╘ UNI╘ commanΣ a≤ describeΣ iε thσ tex⌠ above.
ì
===============================================================================ì
.aw on
.pm 3
.cp 8èááNOTES║
áá(1⌐ N∩ Dlis⌠ i≤ transferreΣ t∩ thσ targe⌠ durinτ thσ DAT┴ OU╘ phase.
áá(2⌐ ┴ Dlis⌠ i≤ transferreΣ t∩ thσ targe⌠ durinτ thσ DAT┴ OU╘ phase« AdΣ thσ ì
Dlis⌠ defect≤ t∩ thσ ne≈ Glist.
áá(3⌐ Usσ thσ existinτ Glis⌠ a≤ ß defec⌠ source« AdΣ existinτ Glis⌠ defect≤ ì
t∩ thσ ne≈ Glist.
áá(4⌐ DiscarΣ thσ existinτ Glist« D∩ no⌠ adΣ existinτ Glis⌠ defect≤ t∩ thσ ne≈ ì
Glist.
áá┴ disablσ savinτ parameter≤ (DSP⌐ bi⌠ oµ one¼ specifie≤ tha⌠ thσ targe⌠ ì
shal∞ no⌠ savσ thσ MOD┼ SELEC╘ savablσ parameter≤ t∩ noε-volatilσ memor∙ ì
durinτ thσ forma⌠ operation« ┴ DS╨ bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ ì
shal∞ savσ al∞ thσ MOD┼ SELEC╘ savablσ parameter≤ fo≥ al∞ initiator≤ t∩ noε-ì
volatilσ memor∙ durinτ thσ forma⌠ operation«
ááAε immediatσ (Immed⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ statu≤ shal∞ bσ returneΣ ì
afte≥ thσ forma⌠ operatioε ha≤ completed« Aε ImmeΣ bi⌠ valuσ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ shal∞ returε statu≤ a≤ sooε a≤ thσ commanΣ descripto≥ blocδ ì
ha≤ beeε validated¼ anΣ thσ entirσ defec⌠ lis⌠ ha≤ beeε transferred.
.cp 10
ááThσ defec⌠ lis⌠ lengtΦ fielΣ iε thσ defec⌠ lis⌠ heade≥ specifie≤ thσ tota∞ ì
lengtΦ iε byte≤ oµ thσ defec⌠ descriptor≤ tha⌠ follo≈ anΣ doe≤ no⌠ includσ thσ ì
initializatioε patterε descripto≥ o≥ initializatioε pattern¼ iµ any« Thσ ì
lengtΦ oµ thσ defec⌠ descriptor≤ varie≤ witΦ thσ forma⌠ oµ thσ defec⌠ list« ì
Thσ threσ format≤ fo≥ thσ defec⌠ descriptor(s⌐ fielΣ iε thσ defec⌠ list≤ arσ ì
showε iε Table≤ ╕-6¼ ╕-7¼ anΣ ╕-8« Iε Tablσ ╕-6¼ thσ defec⌠ lis⌠ lengtΦ i≤ ì
equa∞ t∩ fou≥ time≤ thσ numbe≥ oµ defec⌠ descriptors« Iε Table≤ ╕-╖ anΣ ╕-8¼ ì
thσ defec⌠ lis⌠ lengtΦ i≤ equa∞ t∩ eigh⌠ time≤ thσ numbe≥ oµ defec⌠ ì
descriptors.
.cp 5
.aw off
.pm 0
8.2.1.1. Defect List Formats
.aw on
.pm 3
ááThi≤ sectioε describe≤ thσ defec⌠ lis⌠ format≤ useΣ iε thσ FORMA╘ UNIT¼ REA─ ì
DEFEC╘ DAT┴ anΣ translatσ pagσ oµ thσ SEN─ DIAGNOSTI├ anΣ RECEIV┼ DIAGNOSTI├ ì
RESULT╙ commands.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ selecteΣ reportinτ forma⌠ mus⌠ accoun⌠ fo≥ variable≤ ì
ááwhicΦ caε impac⌠ thσ informatioε iε thσ returned« Fo≥ example¼ thσ specifiπ ì
áálocatioε oµ ß defect¼ whilσ constan⌠ iε angula≥ anΣ radia∞ locatioε oε thσ ì
áádevice¼ ma∙ changσ iε reporteΣ locatioε ß forma⌠ operatioε witΦ differen⌠ ì
áágeometr∙ parameter≤ i≤ performed« I⌠ i≤ thσ responsibilit∙ oµ thσ initiato≥ ì
áát∩ usσ ß defec⌠ lis⌠ forma⌠ appropriatσ fo≥ thσ intendeΣ operatioε witΦ thσ ì
áácurren⌠ o≥ futurσ geometr∙ parameters« Iµ thσ targe⌠ i≤ ablσ t∩ detec⌠ tha⌠ ì
ááthσ selecteΣ defec⌠ lis⌠ forma⌠ woulΣ providσ inconsisten⌠ results¼ thσ ì
áátarge⌠ ma∙ returε CHEC╦ CONDITIO╬ status.
.pm 3
.lm 1
.cp 13è.aw off
.pm 0
Table 8-6: Defect Descriptor - Block Format
==============================================================================
Byte | Defect Descriptor |
==============================================================================
0 | (MSB) |
- - -|- - Defective Block Address - -|
3 | (LSB) |
==============================================================================
.aw on
.pm 3
ááEacΦ blocδ forma⌠ defec⌠ descripto≥ specifie≤ ß fou≥-bytσ defectivσ blocδ ì
addres≤ tha⌠ contain≤ thσ defect« Thσ defec⌠ descriptor≤ shoulΣ bσ iε ì
ascendinτ order« Morσ thaε onσ physica∞ o≥ logica∞ blocδ ma∙ bσ affecteΣ b∙ ì
eacΦ defec⌠ descriptor.
áá┴ targe⌠ ma∙ returε CHEC╦ CONDITIO╬ iµ thσ defec⌠ descriptor≤ arσ no⌠ iε ì
ascendinτ order.
.cp 22
.aw off
.pm 0
Table 8-7: Defect Descriptor - Byte≤ Froφ Index Format
==============================================================================
Byte | Defect Descriptor |
==============================================================================
0 | (MSB) |
- - -|- - Cylinder Number of Defect - -|
2 | (LSB) |
-----|-----------------------------------------------------------------------|
3 | Head Number of Defect |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
- - -|- - Defect Bytes from Index - -|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
ááEacΦ byte≤ froφ inde° defec⌠ descripto≥ specifie≤ thσ locatioε oµ ß defec⌠ ì
whicΦ i≤ n∩ morσ thaε eigh⌠-byte≤ iε length« EacΦ descripto≥ i≤ compriseΣ oµ ì
thσ cylinde≥ numbe≥ oµ defect¼ thσ heaΣ numbe≥ oµ defect¼ anΣ thσ defec⌠ byte≤ ì
froφ inde° t∩ thσ defect« Thσ defec⌠ descriptor≤ shal∞ bσ iε ascendinτ order« ì
Thσ cylinde≥ numbe≥ oµ defec⌠ i≤ thσ mos⌠ significan⌠ par⌠ oµ thσ addres≤ anΣ ì
thσ defec⌠ byte≤ froφ inde° i≤ thσ leas⌠ significan⌠ par⌠ oµ thσ address« Morσ ì
thaε onσ physica∞ o≥ logica∞ blocδ ma∙ bσ affecteΣ b∙ eacΦ defect.
áá┴ defec⌠ byte≤ froφ inde° oµ FFFFFFFFΦ indicate≤ tha⌠ thσ entirσ tracδ shal∞ ì
bσ considereΣ defective.
.cp 27è.aw off
.pm 0
Table 8-8: Defect Descriptor - Physical Sector Format
==============================================================================
Byte | Defect Descriptor |
==============================================================================
0 | (MSB) |
- - -|- - Cylinder Number of Defect - -|
2 | (LSB) |
-----|-----------------------------------------------------------------------|
3 | Head Number of Defect |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
- - -|- - Defective Sector Number - -|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
..ljl defect is not length of a sector
ááEacΦ physica∞ secto≥ defec⌠ descripto≥ specifie≤ thσ locatioε oµ ß defec⌠ ì
tha⌠ i≤ thσ lengtΦ oµ ß sector« EacΦ descripto≥ i≤ compriseΣ oµ ß cylinde≥ ì
numbe≥ oµ defect¼ thσ heaΣ numbe≥ oµ defect¼ anΣ thσ defectivσ secto≥ number« ì
Thσ defec⌠ descriptor≤ shal∞ bσ iε ascendinτ order« Thσ cylinde≥ numbe≥ oµ ì
defec⌠ i≤ thσ mos⌠ significan⌠ par⌠ oµ thσ addres≤ anΣ thσ defectivσ secto≥ ì
numbe≥ i≤ thσ leas⌠ significan⌠ par⌠ oµ thσ address« Morσ thaε onσ blocδ ma∙ ì
bσ affecteΣ b∙ eacΦ defec⌠ descriptor.
áá┴ defectivσ secto≥ numbe≥ oµ FFFFFFFFΦ indicate≤ tha⌠ thσ entirσ tracδ shal∞ ì
bσ considereΣ defective.
.cp 5
.aw off
.pm 0
8.2.1.2. Initializatioε Patterε Option
.aw on
.pm 3
ááThσ initializatioε patterε optioε specifie≤ tha⌠ thσ logica∞ block≤ contaiε ì
thσ specifieΣ initializatioε pattern« Thσ initializatioε patterε descripto≥ ì
(Tablσ ╕-9⌐ i≤ sen⌠ t∩ thσ targe⌠ a≤ par⌠ oµ thσ FORMA╘ UNI╘ paramete≥ list.
.cp 15
.aw off
.pm 0
Table 8-9: Initialization Pattern Descriptor
==============================================================================
0 | IP Modifier | Reserved |
-----|-----------------------------------------------------------------------|
1 | Pattern Type |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Initialization Pattern Length ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
0 - | Initialization Pattern |
ε | |
==============================================================================
.aw on
.pm 3
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ initializatioε patterε optioε i≤ no⌠ intendeΣ fo≥ ì
áámediß analysi≤ o≥ certification« Thi≤ optioε ma∙ onl∙ initializσ thσ ì
ááinitiato≥ accessiblσ areß oµ thσ mediß t∩ thσ specifieΣ patterε anΣ ma∙ no⌠ ì
ááwritσ t∩ an∙ initiato≥ inaccessiblσ area≤ oµ thσ disk.
.lm 1
.cp 3èááAε initializatioε patterε (IP⌐ bi⌠ oµ onσ indicate≤ tha⌠ aε initializatioε ì
patterε descripto≥ i≤ includeΣ iε thσ FORMA╘ UNI╘ paramete≥ lis⌠ immediatel∙ ì
followinτ thσ defec⌠ lis⌠ header« Aε I╨ bi⌠ oµ zer∩ indicate≤ tha⌠ aε ì
initializatioε patterε descripto≥ i≤ no⌠ includeΣ anΣ tha⌠ thσ targe⌠ shal∞ ì
usσ it≤ defaul⌠ initializatioε pattern.
ááThσ I╨ modifie≥ fielΣ specifie≤ thσ typσ anΣ locatioε oµ ß heade≥ tha⌠ ì
modifie≤ thσ initializatioε patterε (Tablσ ╕-10).
.cp 16
.aw off
.pm 0
Table 8-10: Initialization Pattern Modifier
==============================================================================
IP Modifier Description
------------------------------------------------------------------------------
.aw on
.pm 3
.lm18
áá0 0 N∩ header« Thσ targe⌠ shal∞ no⌠ modif∙ thσ thσ initializatioε ì
ááááááááááááááááápattern.
áá0 1 Thσ targe⌠ shal∞ overwritσ thσ initializatioε patterε t∩ ì
áááááááááááááááááwritσ thσ logica∞ blocδ addres≤ iε thσ firs⌠ fou≥ byte≤ oµ ì
áááááááááááááááááthσ logica∞ block« Thσ logica∞ blocδ addres≤ shal∞ bσ ì
áááááááááááááááááwritteε witΦ thσ mos⌠ significan⌠ bytσ first.
áá1 0 Thσ targe⌠ shal∞ overwritσ thσ initializatioε patterε t∩ ì
áááááááááááááááááwritσ thσ logica∞ blocδ addres≤ iε thσ firs⌠ fou≥ byte≤ oµ ì
áááááááááááááááááeacΦ physica∞ blocδ containeΣ withiε thσ logica∞ block« Thσ ì
ááááááááááááááááálowes⌠ numbereΣ logica∞ blocδ o≥ par⌠ thereoµ tha⌠ occur≤ ì
áááááááááááááááááwithiε thσ physica∞ blocδ i≤ used« Thσ logica∞ blocδ addres≤ ì
áááááááááááááááááshal∞ bσ writteε witΦ thσ mos⌠ significan⌠ bytσ first.
áá1 1 Reserved.
.pm 0
.lm 1
==============================================================================
.pm 3
.aw on
.cp 8
ááThσ initializatioε patterε typσ fielΣ indicate≤ thσ typσ oµ patterε thσ ì
targe⌠ shal∞ usσ t∩ initializσ eacΦ logica∞ blocδ withiε thσ initiato≥ ì
accessiblσ portioε oµ thσ mediuφ (Tablσ ╕-11)« Al∞ byte≤ withiε ß logica∞ ì
blocδ shal∞ bσ writteε witΦ thσ initializatioε pattern« Thσ initializatioε ì
patterε i≤ modifieΣ b∙ thσ I╨ modifie≥ fielΣ a≤ describeΣ abovσ iε Tablσ ╕-10.
.cp 23è.aw off
.pm 0
Table 8-11: Initialization Pattern Type
==============================================================================
Pattern Type Note Description
------------------------------------------------------------------------------
.aw on
.pm 6
.lm 21
ááááá00h (1) Usσ defaul⌠ pattern
ááááá01h (2) Repea⌠ thσ initializatioε patterε a≤ requireΣ t∩ fil∞ thσ ì
áááááááááááááááááááálogica∞ block
ááááá02-7Fh none Reserved
ááááá80-FFh none Vendo≥-specific
.pm 0
.lm 1
==============================================================================
.pm 3
ááNOTES║
áá(1⌐ Iµ thσ initializatioε patterε lengtΦ i≤ no⌠ zer∩ thσ targe⌠ shal∞ ì
terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ke∙ shal∞ bσ se⌠ ì
t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ INVALI─ FIEL─ ì
I╬ PARAMETE╥ LIST.
áá(2⌐ Iµ thσ initializatioε patterε lengtΦ i≤ zer∩ thσ targe⌠ shal∞ ì
terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ke∙ shal∞ bσ se⌠ ì
t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ INVALI─ FIEL─ ì
I╬ PARAMETE╥ LIST.
ááThσ initializatioε patterε lengtΦ fielΣ indicate≤ thσ numbe≥ oµ byte≤ ì
containeΣ iε thσ initializatioε pattern« Iµ thσ lengtΦ exceed≤ thσ curren⌠ ì
logica∞ blocδ sizσ thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ ì
status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ ì
sensσ codσ shal∞ bσ se⌠ t∩ INVALI─ FIEL─ I╬ PARAMETE╥ LIST« Thσ patterε i≤ ì
modifieΣ b∙ thσ I╨ modifie≥ field.
.cp 35è.aw off
.pm 0
8.2.2. LOC╦ UNLOCK CACHE Command
Table 8-12: LOC╦ UNLOCK CACHE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (36h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | ReserveΣ | Lock | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
¡ ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
¡-¡--|¡-- Numbe≥ oµ Block≤ ¡--|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ LOC╦ UNLOC╦ CACH┼ commanΣ (Tablσ ╕-12⌐ request≤ tha⌠ thσ targe⌠ disallo≈ ì
o≥ allo≈ logica∞ block≤ withiε thσ specifieΣ rangσ t∩ bσ removeΣ froφ thσ ì
cachσ memor∙ b∙ thσ target'≤ cachσ replacemen⌠ algorithm« LockeΣ logica∞ ì
block≤ ma∙ bσ writteε t∩ thσ mediuφ wheε modified¼ bu⌠ ß cop∙ oµ thσ modifieΣ ì
logica∞ blocδ shal∞ remaiε iε thσ cachσ memory.
áá┴ locδ bi⌠ oµ onσ indicate≤ tha⌠ an∙ logica∞ blocδ iε thσ specifieΣ rangσ ì
tha⌠ i≤ currentl∙ presen⌠ iε thσ cachσ memor∙ shal∞ bσ lockeΣ int∩ cachσ ì
memory« Onl∙ logica∞ block≤ tha⌠ arσ alread∙ presen⌠ iε thσ cachσ memor∙ arσ ì
actuall∙ locked« ┴ locδ bi⌠ oµ zer∩ indicate≤ tha⌠ al∞ logica∞ block≤ iε thσ ì
specifieΣ rangσ tha⌠ arσ currentl∙ lockeΣ int∩ thσ cachσ memor∙ shal∞ bσ ì
unlocked¼ bu⌠ no⌠ necessaril∙ removed.
áá┴ relativσ addres≤ (RelAdr⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ logica∞ blocδ ì
addres≤ fielΣ i≤ ß two'≤ complemen⌠ displacement« Thi≤ negativσ o≥ positivσ ì
displacemen⌠ i≤ t∩ bσ addeΣ t∩ thσ logica∞ blocδ addres≤ las⌠ accesseΣ oε thσ ì
logica∞ uni⌠ t∩ forφ thσ logica∞ blocδ addres≤ fo≥ thi≤ command« Thi≤ featurσ ì
i≤ onl∙ availablσ wheε linkinτ commands« Thσ featurσ require≤ tha⌠ ß previou≤ ì
commanΣ iε thσ linkeΣ grou≡ havσ accesseΣ ß blocδ oµ datß oε thσ logica∞ unit.
áá┴ RelAd≥ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ logica∞ blocδ addres≤ fielΣ ì
specifie≤ thσ firs⌠ logica∞ blocδ oµ thσ rangσ oµ logica∞ block≤ t∩ bσ ì
operateΣ oε b∙ thi≤ command.
.cp 3
ááThσ numbe≥ oµ block≤ specifie≤ thσ tota∞ numbe≥ oµ contiguou≤ logica∞ block≤ ì
withiε thσ range« ┴ numbe≥ oµ block≤ fielΣ oµ zer∩ indicate≤ tha⌠ al∞ ì
remaininτ logica∞ block≤ oε thσ logica∞ uni⌠ shal∞ bσ withiε thσ range«
è.cp 3
ááMultiplσ lock≤ ma∙ bσ iε effec⌠ froφ morσ thaε onσ initiator« Lock≤ froφ ì
differen⌠ initiator≤ ma∙ overlap« Aε unlocδ oµ aε overlappeΣ areß doe≤ no⌠ ì
releasσ thσ locδ oµ anothe≥ initiator.
.pm 3
.lm 1
.cp 35
.pm 0
.aw off
8.2.3. PRE-FETCH Command
Table 8-13: PRE-FETCH Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (34h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | ReserveΣ | Immed | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Transfer LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ PR┼-FETC╚ commanΣ (Tablσ ╕-13⌐ request≤ thσ targe⌠ t∩ transfe≥ thσ ì
specifieΣ logica∞ block≤ t∩ thσ cachσ memory« N∩ datß shal∞ bσ transferreΣ t∩ ì
thσ initiator.
.cp 3
ááAε immediatσ (Immed⌐ bi⌠ oµ onσ indicate≤ tha⌠ statu≤ shal∞ bσ returneΣ a≤ ì
sooε a≤ thσ commanΣ descripto≥ blocδ ha≤ beeε validated« Aε ImmeΣ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ statu≤ shal∞ bσ returneΣ afte≥ thσ operatioε i≤ complete.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 7
ááThσ transfe≥ lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
oµ datß tha⌠ shal∞ bσ transferreΣ t∩ thσ target'≤ cachσ memory« ┴ transfe≥ ì
lengtΦ oµ zer∩ indicate≤ tha⌠ thσ contiguou≤ logica∞ block≤ u≡ t∩ anΣ ì
includinτ thσ las⌠ logica∞ blocδ oµ thσ logica∞ uni⌠ shal∞ bσ transferreΣ t∩ ì
thσ target'≤ cachσ memory« An∙ othe≥ valuσ indicate≤ thσ numbe≥ oµ logica∞ ì
block≤ tha⌠ shal∞ bσ transferred« Thσ targe⌠ ma∙ elec⌠ t∩ no⌠ transfe≥ ì
logica∞ block≤ tha⌠ alread∙ arσ containeΣ iε thσ cachσ memory.
.cp 4
ááIµ thσ ImmeΣ bi⌠ i≤ zer∩ anΣ thσ specifieΣ logica∞ block≤ werσ successfull∙ ì
transferreΣ t∩ thσ cachσ memor∙ thσ targe⌠ shal∞ returε CONDITIO╬ ME╘ status« ì
Iµ thσ linδ bi⌠ (seσ 6.2.7⌐ i≤ onσ thσ targe⌠ shal∞ returε INTERMEDIAT┼-ì
CONDITIO╬ ME╘ status.
è.cp 4
ááIµ ImmeΣ i≤ onσ anΣ thσ unlockeΣ cachσ memor∙ ha≤ sufficien⌠ capacit∙ t∩ ì
accep⌠ al∞ oµ thσ specifieΣ logica∞ block≤ thσ targe⌠ shal∞ returε CONDITIO╬ ì
ME╘ status« Iµ thσ linδ bi⌠ (seσ 6.2.7⌐ i≤ onσ thσ targe⌠ shal∞ returε ì
INTERMEDIAT┼-CONDITIO╬ ME╘ status.
.cp 5
ááIµ ImmeΣ i≤ onσ anΣ thσ unlockeΣ cachσ memor∙ doe≤ no⌠ havσ sufficien⌠ ì
capacit∙ t∩ accep⌠ al∞ oµ thσ specifieΣ logica∞ block≤ thσ targe⌠ shal∞ returε ì
GOO─ status« Thσ targe⌠ shal∞ transfe≥ t∩ cachσ memor∙ a≤ man∙ logica∞ block≤ ì
a≤ wil∞ fit« Iµ thσ linδ bi⌠ (seσ 6.2.7⌐ i≤ onσ thσ targe⌠ shal∞ returε ì
INTERMEDIAT┼ status.
.cp 30
.aw off
.pm 0
8.2.4. PREVEN╘ ALLOW MEDIUM REMOVAL Command
Table 8-14: PREVEN╘ ALLOW MEDIUM REMOVAL Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (1Eh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved | Prevent|
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ PREVEN╘ ALLO╫ MEDIU═ REMOVA╠ commanΣ (Tablσ ╕-14⌐ request≤ tha⌠ thσ ì
targe⌠ enablσ o≥ disablσ thσ remova∞ oµ thσ mediuφ iε thσ logica∞ unit« Thi≤ ì
mechanisφ i≤ independen⌠ oµ devicσ reservation≤ anΣ thσ targe⌠ shal∞ no⌠ allo≈ ì
mediuφ remova∞ iµ an∙ initiato≥ currentl∙ ha≤ mediuφ remova∞ prevented.
ááThσ preventioε oµ mediuφ remova∞ shal∞ begiε wheε an∙ initiato≥ issue≤ ß ì
PREVEN╘ ALLO╫ MEDIU═ REMOVA╠ commanΣ witΦ ß preven⌠ bi⌠ oµ onσ (mediuφ remova∞ ì
prevented)« Thσ preventioε oµ mediuφ remova∞ fo≥ thσ logica∞ uni⌠ shal∞ ì
terminate:
áá(1⌐ afte≥ al∞ initiator≤ tha⌠ havσ mediuφ remova∞ preventeΣ issuσ PREVEN╘ ì
ALLO╫ MEDIU═ REMOVA╠ command≤ witΦ ß preven⌠ bi⌠ oµ zero¼ anΣ thσ targe⌠ ha≤ ì
successfull∙ performeΣ ß synchronizσ cachσ operation.
áá(2⌐ upoε thσ receip⌠ oµ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ initiator¼ or
áá(3⌐ upoε ß harΣ RESE╘ condition.
.cp 2
ááWhilσ ß preventioε oµ mediuφ remova∞ conditioε i≤ iε effec⌠ thσ targe⌠ shal∞ ì
inhibi⌠ mechanism≤ tha⌠ normall∙ allo≈ remova∞ oµ thσ mediuφ b∙ aε operator.
.cp 30è.aw off
.pm 0
8.2.5. READ(6⌐ Command
Table 8-15: READ(6) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (08h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | (MSB) |
-----|------------------------------ ---|
2 | Logical Block Address |
-----|--- ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | Transfer Length |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ READ(6⌐ commanΣ (Tablσ ╕-15⌐ request≤ tha⌠ thσ targe⌠ transfe≥ datß t∩ ì
thσ initiator« Thσ mos⌠ recen⌠ datß valuσ writteε iε thσ addresseΣ logica∞ ì
blocδ shal∞ bσ returned«
ááThσ cachσ contro∞ bit≤ (seσ 8.2.6⌐ arσ no⌠ provideΣ fo≥ thi≤ command« ì
Target≤ witΦ cachσ memor∙ ma∙ havσ value≤ fo≥ thσ cachσ contro∞ bit≤ whicΦ ma∙ ì
affec⌠ thσ READ(6⌐ command¼ howeve≥ n∩ defaul⌠ valuσ i≤ defineΣ b∙ thi≤ ì
standard« Iµ explici⌠ contro∞ i≤ required¼ thσ READ(10⌐ commanΣ shoulΣ bσ ì
used.
ááThσ logica∞ blocδ addres≤ fielΣ specifie≤ thσ logica∞ blocδ a⌠ whicΦ thσ ì
reaΣ operatioε shal∞ begin.
ááThσ transfe≥ lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
oµ datß t∩ transferred« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ 25╢ logica∞ ì
block≤ shal∞ bσ transferred« An∙ othe≥ valuσ indicate≤ thσ numbe≥ oµ logica∞ ì
block≤ tha⌠ shal∞ bσ transferred.
.cp 35è.pm 0
.aw off
8.2.6. READ(10⌐ Command
Table 8-16: READ(10⌐ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (28h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | DPO | FUA | Reserved | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Transfer LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ READ(10⌐ commanΣ (Tablσ ╕-16⌐ request≤ tha⌠ thσ targe⌠ transfe≥ datß t∩ ì
thσ initiator« Thσ mos⌠ recen⌠ datß valuσ writteε iε thσ addresseΣ logica∞ ì
blocδ shal∞ bσ returned«
áá┴ disablσ pagσ ou⌠ (DPO⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ assigε ì
thσ logica∞ block≤ accesseΣ b∙ thi≤ commanΣ thσ lowes⌠ priorit∙ fo≥ beinτ ì
fetcheΣ int∩ o≥ retaineΣ b∙ thσ cache« ┴ DP╧ bi⌠ oµ onσ override≤ an∙ ì
retentioε priorit∙ specifieΣ iε thσ cachσ pagσ (seσ 8.3.3.1)« ┴ DP╧ bi⌠ oµ ì
zer∩ indicate≤ thσ priorit∙ shal∞ bσ determineΣ b∙ thσ retentioε priorit∙ ì
field≤ iε thσ cachσ page« Al∞ othe≥ aspect≤ oµ thσ algorithφ implementinτ thσ ì
cachσ memor∙ replacemen⌠ strateg∙ arσ no⌠ defineΣ b∙ thi≤ standard.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ DP╧ bi⌠ i≤ useΣ t∩ contro∞ replacemen⌠ oµ logica∞ ì
ááblock≤ iε thσ cachσ memor∙ wheε thσ hos⌠ ha≤ informatioε oε thσ futurσ usagσ ì
ááoµ thσ logica∞ blocks« Iµ thσ thσ DP╧ bi⌠ i≤ se⌠ t∩ one¼ thσ hos⌠ know≤ thσ ì
áálogica∞ block≤ accesseΣ b∙ thσ commanΣ arσ no⌠ likel∙ t∩ bσ accesseΣ agaiε ì
ááiε thσ nea≥ futurσ anΣ shoulΣ no⌠ bσ pu⌠ iε thσ cachσ memor∙ no≥ retaineΣ b∙ ì
ááthσ cachσ memory« Iµ thσ DP╧ bi⌠ i≤ zero¼ thσ hos⌠ expect≤ tha⌠ logica∞ ì
ááblock≤ accesseΣ b∙ thi≤ commanΣ arσ likel∙ t∩ bσ accesseΣ agaiε iε thσ nea≥ ì
ááfuture«
.lm 1
.cp 10èáá┴ forcσ uni⌠ acces≤ (FUA⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ acces≤ ì
thσ mediß iε performinτ thσ commanΣ prio≥ t∩ returninτ GOO─ status« ReaΣ ì
command≤ shal∞ acces≤ thσ specifieΣ logica∞ block≤ froφ thσ mediß (i.e.¼ thσ ì
datß i≤ no⌠ directl∙ retrieveΣ froφ thσ cache)« Iε thσ casσ wherσ thσ cachσ ì
contain≤ ß morσ recen⌠ versioε oµ ß logica∞ blocδ thaε thσ media¼ thσ logica∞ ì
blocδ shal∞ firs⌠ bσ writteε t∩ thσ media« Writσ command≤ shal∞ no⌠ returε ì
GOO─ statu≤ unti∞ thσ logica∞ block≤ havσ actuall∙ beeε writteε oε thσ mediß ì
(i.e.¼ thσ datß i≤ no⌠ writσ cached)«
ááAε FU┴ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ ma∙ satisf∙ thσ commanΣ b∙ ì
accessinτ thσ cachσ memory« Fo≥ reaΣ operations¼ an∙ logica∞ block≤ tha⌠ arσ ì
containeΣ iε thσ cachσ memor∙ ma∙ bσ transferreΣ t∩ thσ initiato≥ directl∙ ì
froφ thσ cachσ memory« Fo≥ writσ operations¼ logica∞ block≤ ma∙ bσ ì
transferreΣ directl∙ t∩ thσ cachσ memory« GOO─ statu≤ ma∙ bσ returneΣ t∩ thσ ì
initiato≥ prio≥ t∩ writinτ thσ logica∞ block≤ t∩ thσ medium« An∙ error≤ whicΦ ì
occu≥ afte≥ thσ GOO─ statu≤ i≤ returneΣ i≤ ß deferreΣ erro≥ anΣ informatioε ì
regardinτ thσ erro≥ i≤ no⌠ reporteΣ unti∞ ß subsequen⌠ command.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
ááThσ transfe≥ lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
oµ datß tha⌠ shal∞ bσ transferred« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ ì
n∩ logica∞ block≤ shal∞ bσ transferred« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ aε error« An∙ othe≥ valuσ indicate≤ thσ numbe≥ oµ logica∞ block≤ ì
tha⌠ shal∞ bσ transferred.
.cp 35è.aw off
.pm 0
8.2.7. READ CAPACITY Command
Table 8-17: READ CAPACITY Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (25h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- - -|- - Logical Block Address - -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | Reserved |
-----|-----------------------------------------------------------------------|
8 | ReserveΣ | PMI |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ REA─ CAPACIT┘ commanΣ (Tablσ ╕-17⌐ provide≤ ß mean≤ fo≥ thσ initiato≥ t∩ ì
reques⌠ informatioε regardinτ thσ capacit∙ oµ thσ logica∞ unit.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
ááThσ logica∞ blocδ addres≤ shal∞ bσ zer∩ iµ thσ PM╔ bi⌠ i≤ zero« Iµ thσ PM╔ ì
bi⌠ i≤ zer∩ anΣ thσ logica∞ blocδ addres≤ i≤ no⌠ zero¼ thσ targe⌠ shal∞ returε ì
ß CHEC╦ CONDITIO╬ status¼ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ ì
thσ additiona∞ sensσ codσ se⌠ t∩ ILLEGA╠ FIEL─ I╬ CDB.
áá┴ partia∞ mediuφ indicato≥ (PMI⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ returneΣ ì
logica∞ blocδ addres≤ anΣ thσ blocδ lengtΦ iε byte≤ arσ tha⌠ oµ thσ las⌠ ì
logica∞ blocδ oµ thσ logica∞ unit«
áá┴ PM╔ bi⌠ oµ onσ indicate≤ tha⌠ thσ returneΣ logica∞ blocδ addres≤ anΣ blocδ ì
lengtΦ iε byte≤ arσ tha⌠ oµ thσ logica∞ blocδ addres≤ afte≥ whicΦ ß ì
substantia∞ dela∙ iε datß transfe≥ wil∞ bσ encountered« Thi≤ returneΣ logica∞ ì
blocδ addres≤ shal∞ bσ greate≥ thaε o≥ equa∞ t∩ thσ logica∞ blocδ addres≤ ì
specifieΣ b∙ thσ RelAd≥ anΣ logica∞ blocδ addres≤ field≤ iε thσ commanΣ ì
descripto≥ block«
.lm3
ááIMPLEMENTOR╙ NOTE║ Thi≤ functioε i≤ intendeΣ t∩ assis⌠ storagσ managemen⌠ ì
áásoftwarσ iε determininτ whethe≥ therσ i≤ sufficien⌠ spacσ oε thσ curren⌠ ì
áátrack¼ cylinder¼ etc« t∩ contaiε ß frequentl∙ accesseΣ datß structurσ sucΦ ì
ááa≤ ß filσ director∙ o≥ filσ inde° withou⌠ incurrinτ aε acces≤ delay.
.lm1
.cp 2èááThσ REA─ CAPACIT┘ datß (Tablσ ╕-18⌐ shal∞ bσ sen⌠ durinτ thσ DAT┴ I╬ phasσ ì
oµ thσ command.
.cp 30
.aw off
.pm 0
Table 8-18: REA─ CAPACIT┘ Data
==============================================================================
Byte | Description |
==============================================================================
0 | (MSB) |
- - -|- - ReturneΣ Logical Block Address - -|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
- - -|- - Block Length Iε Bytes - -|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
.cp 35
.aw off
.pm 0
8.2.8. READ DEFECT DATA Command
Table 8-19: READ DEFECT DATA Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (37h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved | PList | GList | Defect List Format |
-----|-----------------------------------------------------------------------|
3 | |
- - -|- - Reserved - -|
6 | |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--- Allocation Length |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
.cp 6
ááThσ REA─ DEFEC╘ DAT┴ commanΣ (Tablσ ╕-19⌐ request≤ tha⌠ thσ targe⌠ transfe≥ ì
thσ mediuφ defec⌠ datß t∩ thσ initiator« Iµ thσ targe⌠ i≤ unablσ t∩ acces≤ ì
an∙ mediuφ defec⌠ datß i⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ ì
status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ eithe≥ MEDIU═ ERRO╥ iµ ß mediuφ erro≥ ì
occurreΣ o≥ N╧ SENS┼ iµ thσ lis⌠ doe≤ no⌠ exis⌠ anΣ thσ additiona∞ sensσ codσ ì
shal∞ bσ se⌠ t∩ DEFEC╘ LIS╘ NO╘ FOUND.
.cp 2
.lm 3
ááIMPLEMENTOR╙ NOTE║ Somσ target≤ ma∙ no⌠ bσ ablσ t∩ returε mediuφ defec⌠ ì
áádatß unti∞ afte≥ ß FORMA╘ UNI╘ commanΣ ha≤ beeε successfull∙ completed.
.lm 1
è.cp 5
áá┴ primar∙ defec⌠ lis⌠ (PList⌐ bi⌠ oµ onσ request≤ tha⌠ thσ targe⌠ returε thσ ì
primar∙ lis⌠ oµ defects« ┴ PLis⌠ bi⌠ oµ zer∩ request≤ tha⌠ thσ targe⌠ no⌠ ì
returε thσ primar∙ lis⌠ oµ defects.
.cp 3
áá┴ growε defec⌠ lis⌠ (GList⌐ bi⌠ oµ onσ request≤ tha⌠ thσ targe⌠ returε thσ ì
growε defec⌠ list« ┴ GLis⌠ bi⌠ oµ zer∩ request≤ tha⌠ thσ targe⌠ no⌠ returε ì
thσ growε defec⌠ list.
.cp 4
áá┴ PLis⌠ bi⌠ oµ onσ anΣ ß GLis⌠ bi⌠ oµ onσ request≤ tha⌠ thσ targe⌠ returε ì
thσ primar∙ anΣ thσ growε defec⌠ lists« Thσ orde≥ iε whicΦ thσ list≤ arσ ì
returneΣ i≤ vendo≥-specific« Whethe≥ thσ list≤ arσ mergeΣ o≥ no⌠ i≤ vendo≥-ì
specific«
.cp 5
áá┴ PLis⌠ bi⌠ oµ zer∩ anΣ ß GLis⌠ bi⌠ oµ zer∩ request≤ tha⌠ thσ targe⌠ returε ì
onl∙ thσ defec⌠ lis⌠ header.
.cp 5
ááThσ defec⌠ lis⌠ forma⌠ fielΣ i≤ useΣ b∙ thσ initiato≥ t∩ indicatσ thσ ì
preferreΣ forma⌠ fo≥ thσ defec⌠ list« Thi≤ fielΣ i≤ intendeΣ fo≥ thosσ ì
target≤ capablσ oµ returninτ morσ thaε onσ format¼ a≤ defineΣ iε thσ FORMA╘ ì
UNI╘ commanΣ (seσ 8.2.1.2¼ defec⌠ lis⌠ format)« ┴ targe⌠ unablσ t∩ returε thσ ì
requesteΣ forma⌠ shal∞ returε thσ defec⌠ lis⌠ iε it≤ defaul⌠ forma⌠ (seσ thσ ì
defec⌠ lis⌠ forma⌠ fielΣ iε thσ defec⌠ lis⌠ heade≥ below).
ááIµ thσ requesteΣ defec⌠ lis⌠ forma⌠ anΣ thσ returneΣ defec⌠ lis⌠ forma⌠ arσ ì
no⌠ thσ samσ thσ targe⌠ shal∞ transfe≥ thσ defec⌠ datß anΣ theε terminatσ thσ ì
commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ RECOVERE─ ì
ERRO╥ anΣ thσ additiona∞ sensσ codσ shal∞ bσ se⌠ t∩ DEFEC╘ LIS╘ NO╘ FOUND«
ááThσ REA─ DEFEC╘ DAT┴ defec⌠ lis⌠ (Tablσ ╕-20⌐ contain≤ ß fou≥-bytσ header¼ ì
followeΣ b∙ zer∩ o≥ morσ defec⌠ descriptors.
.cp 15
.aw off
.pm 0
Table 8-20: REA─ DEFEC╘ DAT┴ Defect List
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Reserved |
-----|-----------------------------------------------------------------------|
1 | Reserved | PList | GList | Defect List Format |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Defect List Length |
3 | (LSB) |
==============================================================================
Defect Descriptors
==============================================================================
0-n | |
==============================================================================
.aw on
.pm 3
.cp 3
áá┴ PLis⌠ bi⌠ oµ onσ indicate≤ tha⌠ thσ datß returneΣ contain≤ thσ primar∙ ì
defec⌠ list« ┴ PLis⌠ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ datß returneΣ doe≤ no⌠ ì
contaiε thσ primar∙ defec⌠ list.
è.cp 3
áá┴ GLis⌠ bi⌠ oµ onσ indicate≤ tha⌠ thσ datß returneΣ contain≤ thσ growε ì
defec⌠ list« ┴ GLis⌠ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ datß returneΣ doe≤ no⌠ ì
contaiε thσ growε defec⌠ list.
.cp 8
ááThσ defec⌠ lis⌠ forma⌠ fielΣ indicate≤ thσ forma⌠ oµ thσ defec⌠ descriptor≤ ì
returneΣ b∙ thσ target« Thi≤ fielΣ i≤ defineΣ iε thσ FORMA╘ UNI╘ commanΣ (seσ ì
8.2.1.2)«
.cp 4
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ usσ oµ thσ blocδ forma⌠ i≤ no⌠ recommended« Therσ i≤ ì
áán∩ universa∞ mode∞ tha⌠ sensibl∙ define≤ thσ meaninτ oµ thσ logica∞ blocδ ì
ááaddres≤ oµ ß defect« Iε thσ usua∞ casσ ß defec⌠ tha⌠ ha≤ beeε reassigneΣ n∩ ì
áálonge≥ ha≤ ß logica∞ blocδ address.
.lm 1
.cp 6
ááDefec⌠ descriptor≤ returneΣ iε thσ blocδ forma⌠ arσ vendo≥-specific« Defec⌠ ì
descriptor≤ returneΣ iε thσ physica∞ secto≥ forma⌠ ma∙ o≥ ma∙ no⌠ includσ ì
defect≤ iε area≤ no⌠ accessiblσ t∩ thσ initiator« Defec⌠ descriptor≤ returneΣ ì
iε byte≤-froφ-inde° forma⌠ shal∞ comprisσ ß completσ lis⌠ oµ defects« ┴ ì
completσ lis⌠ oµ defect≤ ma∙ includσ defect≤ iε area≤ no⌠ withiε thσ capacit∙ ì
returneΣ iε thσ REA─ CAPACIT┘ command.
ááThσ defec⌠ lis⌠ lengtΦ fielΣ specifie≤ thσ lengtΦ iε byte≤ oµ thσ defec⌠ ì
descriptor≤ tha⌠ follow« Thσ defec⌠ lis⌠ lengtΦ i≤ equa∞ t∩ fou≥ o≥ eigh⌠ ì
time≤ thσ numbe≥ oµ defec⌠ descriptor≤ dependinτ oε thσ forma⌠ oµ thσ returneΣ ì
descriptor≤ (seσ Table≤ ╕-8¼ ╕-╣ anΣ ╕-1░ iε thσ FORMA╘ UNI╘ command).
ááIµ thσ allocatioε lengtΦ i≤ insufficien⌠ t∩ transfe≥ al∞ oµ thσ defec⌠ ì
descriptors¼ thσ defec⌠ lis⌠ lengtΦ shal∞ no⌠ bσ adjusteΣ t∩ reflec⌠ thσ ì
truncation« Thσ targe⌠ shal∞ no⌠ creatσ CHEC╦ CONDITIO╬ status« Thσ ì
initiato≥ i≤ responsiblσ fo≥ comparinτ thσ defec⌠ lis⌠ lengtΦ anΣ thσ ì
allocatioε lengtΦ t∩ ensurσ tha⌠ ß partia∞ lis⌠ wa≤ no⌠ received.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ initiato≥ caε determinσ thσ lengtΦ oµ thσ defec⌠ ì
áális⌠ b∙ sendinτ thσ REA─ DEFEC╘ DAT┴ commanΣ witΦ aε allocatioε lengtΦ oµ ì
ááfour« Thσ targe⌠ wil∞ returε thσ defec⌠ lis⌠ heade≥ whicΦ contain≤ thσ ì
áálengtΦ oµ thσ defec⌠ list.
.lm 1
ááThσ defec⌠ descriptor≤ ma∙ o≥ ma∙ no⌠ bσ sen⌠ iε ascendinτ order« Thσ ì
initiato≥ caε determinσ thσ exac⌠ numbe≥ oµ defect≤ b∙ dividinτ thσ defec⌠ ì
lis⌠ lengtΦ b∙ thσ lengtΦ oµ ß singlσ defec⌠ descripto≥ fo≥ thσ returneΣ ì
format.
.cp 35è.aw off
.pm 0
8.2.9. READ LON╟ Command
Table 8-21: READ LONG Command
==============================================================================
Bitⁿ ╖ ⁿ ╢ ⁿ ╡ ⁿ ┤ ⁿ │ ⁿ ▓ ⁿ ▒ ⁿ 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (3Eh) |
-----|-----------------------------------------------------------------------|
▒ ⁿ Logica∞ Uni⌠ Numbe≥ | ReserveΣ ⁿ CORR├T | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
¡ ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
╖ ⁿ (MSB) |
-----|--- Bytσ Transfe≥ LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ REA─ LON╟ commanΣ (Tablσ ╕-21⌐ request≤ tha⌠ thσ targe⌠ transfe≥ datß t∩ ì
thσ initiator« Thσ datß passeΣ durinτ thσ REA─ LON╟ commanΣ i≤ implementatioε ì
specific¼ bu⌠ shal∞ includσ thσ datß byte≤ anΣ thσ EC├ byte≤ recordeΣ oε thσ ì
medium« Thσ mos⌠ recen⌠ datß writteε iε thσ addresseΣ logica∞ blocδ shal∞ bσ ì
returned.
.lm3
ááIMPLEMENTOR╙ NOTE║ An∙ othe≥ byte≤ tha⌠ caε bσ correcteΣ b∙ EC├ shoulΣ bσ ì
ááincludeΣ (e.g.¼ datß synchronizatioε marδ withiε thσ areß covereΣ b∙ ECC)« ì
ááI⌠ i≤ no⌠ importan⌠ fo≥ thσ EC├ byte≤ t∩ bσ a⌠ thσ enΣ oµ thσ datß bytes¼ ì
ááhoweve≥ the∙ shoulΣ bσ iε thσ samσ orde≥ a≤ the∙ arσ oε thσ media.
.lm1
áá┴ correcteΣ (CORRCT⌐ bi⌠ oµ zer∩ cause≤ ß logica∞ blocδ t∩ bσ reaΣ withou⌠ ì
an∙ correctioε madσ b∙ thσ target« ┴ CORRC╘ bi⌠ oµ onσ cause≤ thσ datß t∩ bσ ì
correcteΣ b∙ EC├ beforσ beinτ transferreΣ t∩ thσ initiator.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 8
ááThσ bytσ transfe≥ lengtΦ fielΣ shoulΣ exactl∙ specif∙ thσ numbe≥ oµ byte≤ oµ ì
datß tha⌠ arσ availablσ fo≥ transfer« Iµ ß noε-zer∩ bytσ transfe≥ lengtΦ doe≤ ì
no⌠ exactl∙ matcΦ thσ availablσ datß length¼ thσ targe⌠ shal∞ terminatσ thσ ì
commanΣ witΦ CHEC╦ CONDITIO╬ status¼ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ ì
REQUES╘ anΣ aε additiona∞ sensσ codσ se⌠ t∩ INVALI─ FIEL─ I╬ CDB« Thσ valiΣ ì
anΣ IL╔ bit≤ shal∞ bσ se⌠ t∩ onσ anΣ thσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ ì
differencσ (residue⌐ oµ thσ requesteΣ lengtΦ minu≤ thσ actua∞ lengtΦ iε bytes« ì
Negativσ value≤ shal∞ bσ indicateΣ b∙ two'≤ complemen⌠ notation«
.cp 2èáá┴ bytσ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ n∩ byte≤ shal∞ bσ transferreΣ ì
anΣ shal∞ no⌠ bσ considereΣ aε error«
.cp 30
.aw off
.pm 0
8.2.10. REASSIGN BLOCKS Command
Table 8-22: REASSIGN BLOCKS Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (07h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ REASSIG╬ BLOCK╙ commanΣ (Tablσ ╕-22⌐ request≤ thσ targe⌠ t∩ reassigε thσ ì
defectivσ logica∞ block≤ t∩ anothe≥ areß oε thσ mediuφ se⌠ asidσ fo≥ thi≤ ì
purpose« Thσ targe⌠ shoulΣ als∩ recorΣ thσ locatioε oµ thσ defectivσ logica∞ ì
block≤ t∩ thσ growε defec⌠ lis⌠ iµ sucΦ ß lis⌠ i≤ supported« Morσ thaε onσ ì
physica∞ o≥ logica∞ blocδ ma∙ bσ relocateΣ b∙ eacΦ defec⌠ descripto≥ sen⌠ b∙ ì
thσ initiator« Thi≤ commanΣ doe≤ no⌠ alte≥ thσ content≤ o≥ locatioε oµ thσ ì
Plis⌠ (seσ 8.2.1¼ FORMA╘ UNI╘ command).
ááThσ initiato≥ transfer≤ ß defec⌠ lis⌠ tha⌠ contain≤ thσ logica∞ blocδ ì
addresse≤ t∩ bσ reassigned« Thσ targe⌠ shal∞ reassigε thσ physica∞ mediuφ ì
useΣ fo≥ eacΦ logica∞ blocδ addres≤ iε thσ list« Thσ datß containeΣ iε thσ ì
logica∞ block≤ specifieΣ iε thσ defec⌠ lis⌠ ma∙ bσ altered¼ bu⌠ thσ datß iε ì
al∞ othe≥ logica∞ block≤ oε thσ mediuφ shal∞ bσ preserved.
.cp 5
.lm3
ááIMPLEMENTOR╙ NOTE║ Thσ effec⌠ oµ specifyinτ ß logica∞ blocδ t∩ bσ ì
ááreassigneΣ tha⌠ previousl∙ ha≤ beeε reassigneΣ i≤ t∩ reassigε thσ blocδ ì
ááagain« Ove≥ thσ lifσ oµ thσ medium¼ ß logica∞ blocδ caε bσ assigneΣ t∩ ì
áámultiplσ physica∞ addresse≤ unti∞ n∩ morσ sparσ location≤ remaiε oε thσ ì
áámedium.
.lm1
.cp 3
ááThσ REASSIG╬ BLOCK╙ defec⌠ lis⌠ (Tablσ ╕-23⌐ contain≤ ß fou≥-bytσ heade≥ ì
followeΣ b∙ onσ o≥ morσ defec⌠ descriptors« Thσ lengtΦ oµ eacΦ defec⌠ ì
descripto≥ i≤ fou≥ bytes.
.cp 24è.aw off
.pm 0
Table 8-23: REASSIGN BLOCKS Defect List
==============================================================================ì
Byte | Defect List Header |
==============================================================================
0 | Reserved |
-----|-----------------------------------------------------------------------|
1 | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Defect List Length ---|
3 | (LSB) |
==============================================================================
| Defect Descriptor(s) |
==============================================================================
0 | (MSB) |
¡ ¡ -|¡ - Defec⌠ Logica∞ Blocδ Address ¡ -|
3 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ defec⌠ lis⌠ lengtΦ fielΣ specifie≤ thσ tota∞ lengtΦ iε byte≤ oµ thσ ì
defec⌠ descriptor≤ tha⌠ follow« Thσ defec⌠ lis⌠ lengtΦ i≤ equa∞ t∩ fou≥ time≤ ì
thσ numbe≥ oµ defec⌠ descriptor≤ anΣ doe≤ no⌠ includσ thσ defec⌠ lis⌠ heade≥ ì
length.
ááThσ defec⌠ descripto≥ specifie≤ ß fou≥-bytσ defec⌠ logica∞ blocδ addres≤ ì
tha⌠ contain≤ thσ defect« Thσ defec⌠ descriptor≤ shal∞ bσ iε ascendinτ order.
ááIµ thσ logica∞ uni⌠ ha≤ insufficien⌠ capacit∙ t∩ reassigε al∞ oµ thσ logica∞ ì
block≤ specifieΣ iε thσ defec⌠ descriptors¼ thσ commanΣ shal∞ terminatσ witΦ ì
CHEC╦ CONDITIO╬ status¼ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ HARDWAR┼ ERRO╥ anΣ thσ ì
additiona∞ sensσ codσ se⌠ t∩ N╧ DEFEC╘ SPAR┼ LOCATIO╬ AVAILABLE«
ááIµ thσ logica∞ uni⌠ i≤ unablσ t∩ successfull∙ completσ ß REASSIG╬ BLOCK╙ ì
command¼ thσ commanΣ shal∞ terminatσ witΦ CHEC╦ CONDITIO╬ statu≤ witΦ thσ ì
appropriatσ sensσ information« Thσ logica∞ blocδ addres≤ oµ thσ firs⌠ defec⌠ ì
descripto≥ no⌠ reassigneΣ shal∞ bσ returneΣ iε thσ commanΣ-specifiπ ì
informatioε fielΣ oµ thσ sensσ data« Iµ informatioε abou⌠ thσ firs⌠ defec⌠ ì
descripto≥ no⌠ reassigneΣ i≤ no⌠ available¼ o≥ iµ al∞ thσ defect≤ havσ beeε ì
reassigned¼ thi≤ fielΣ shal∞ bσ se⌠ t∩ FFFFFFFFh.
.cp 5
ááIµ thσ REASSIG╬ BLOCK╙ commanΣ faileΣ duσ t∩ aε unexpecteΣ unrecoverablσ ì
reaΣ erro≥ tha⌠ woulΣ causσ thσ los≤ oµ datß iε ß blocδ no⌠ specifieΣ iε thσ ì
defec⌠ list¼ thσ logica∞ blocδ addres≤ oµ thσ unrecoverablσ blocδ shal∞ bσ ì
returneΣ iε thσ informatioε fielΣ oµ thσ sensσ datß anΣ thσ valiΣ bi⌠ shal∞ bσ ì
se⌠ t∩ one.
.cp 12è.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ thσ REASSIG╬ BLOCK╙ commanΣ return≤ CHEC╦ CONDITIO╬ ì
áástatu≤ anΣ thσ sensσ datß commanΣ-specifiπ informatioε fielΣ contain≤ ß ì
áávaliΣ logica∞ blocδ address¼ thσ initiato≥ shoulΣ removσ al∞ defec⌠ ì
áádescriptor≤ froφ thσ defec⌠ lis⌠ prio≥ t∩ thσ onσ returneΣ iε thσ commanΣ-ì
ááspecifiπ informatioε field« Iµ thσ sensσ ke∙ i≤ MEDIU═ ERRO╥ anΣ thσ valiΣ ì
áábi⌠ i≤ onσ (thσ informatioε fielΣ contain≤ thσ valiΣ blocδ address⌐ thσ ì
ááinitiato≥ shoulΣ inser⌠ tha⌠ ne≈ defectivσ logica∞ blocδ addres≤ int∩ thσ ì
áádefec⌠ lis⌠ anΣ reissuσ thσ REASSIG╬ BLOCK╙ commanΣ witΦ thσ ne≈ defec⌠ ì
áálist« Otherwise¼ thσ initiato≥ shoulΣ perforφ an∙ correctivσ actioε ì
ááindicateΣ b∙ thσ sensσ datß anΣ theε reissuσ thσ REASSIG╬ BLOCK╙ commanΣ ì
ááwitΦ thσ ne≈ defec⌠ list.
.lm 1
.cp 30
.aw off
.pm 0
8.2.11. RELEASE Command
Table 8-24: RELEASE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (17h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | 3rdPty | Third Party Device ID | Extent |
-----|-----------------------------------------------------------------------|
2 | Reservation Identification |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ RESERV┼ anΣ RELEAS┼ command≤ providσ thσ basiπ mechanisφ fo≥ contentioε ì
resolutioε iε multiplσ-initiato≥ systems« Thσ RELEAS┼ commanΣ (Tablσ ╕-24⌐ i≤ ì
useΣ t∩ releasσ ß previousl∙ reserveΣ logica∞ unit¼ or¼ iµ thσ exten⌠ releasσ ì
optioε i≤ implemented¼ t∩ releasσ previousl∙ reserveΣ extent≤ withiε ß logica∞ ì
unit« I⌠ i≤ no⌠ aε erro≥ fo≥ aε initiato≥ t∩ attemp⌠ t∩ releasσ ß reservatioε ì
tha⌠ i≤ no⌠ currentl∙ valid« Iε thi≤ case¼ thσ targe⌠ shal∞ returε GOO─ ì
statu≤ withou⌠ alterinτ an∙ othe≥ reservation.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ reservatioε queuinτ optioε iε X3.13▒-198╢ ha≤ beeε ì
ááremoveΣ froφ SCS╔-2.
.lm 1
.cp 5
.aw off
.pm 0
8.2.11.1. Logica∞ Uni⌠ Releasσ (Mandatory)
.aw on
.pm 3
ááIµ thσ exten⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ causσ thσ targe⌠ t∩ terminatσ ì
al∞ noε-thirΣ-part∙ logica∞ uni⌠ anΣ exten⌠ reservation≤ tha⌠ arσ activσ froφ ì
thσ initiato≥ t∩ thσ specifieΣ logica∞ unit« Thσ reservatioε I─ fielΣ iε thσ ì
commanΣ descripto≥ blocδ i≤ ignoreΣ b∙ thσ target.
.cp 5è.aw off
.pm 0
8.2.11.2. Exten⌠ Releasσ (Optional)
.aw on
.pm 3
ááIµ thσ exten⌠ bi⌠ i≤ onσ anΣ thσ exten⌠ releasσ optioε i≤ no⌠ implemented¼ ì
theε thσ RELEAS┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ ì
thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST« Thi≤ optioε shal∞ bσ ì
implementeΣ iµ thσ exten⌠ reservatioε optioε (seσ 8.2.12.2⌐ i≤ implemented.
ááIµ thσ exten⌠ bi⌠ i≤ onσ anΣ thσ exten⌠ releasσ optioε i≤ implemented¼ thi≤ ì
commanΣ shal∞ causσ an∙ reservatioε froφ thσ requestinτ initiato≥ witΦ ß ì
matchinτ reservatioε identificatioε t∩ bσ terminated« Othe≥ reservation≤ froφ ì
thσ requestinτ initiato≥ shal∞ remaiε iε effect.
.cp 5
.aw off
.pm 0
8.2.11.3. ThirΣ-Part∙ Releasσ (Mandatory)
.aw on
.pm 3
ááThirΣ-part∙ releasσ allow≤ aε initiato≥ t∩ releasσ ß logica∞ uni⌠ o≥ extent≤ ì
withiε ß logica∞ uni⌠ tha⌠ werσ previousl∙ reserveΣ usinτ thirΣ-part∙ ì
reservatioε (seσ 8.2.12.3)« ThirΣ-part∙ releasσ shal∞ bσ implementeΣ anΣ i≤ ì
intendeΣ fo≥ usσ iε multiplσ-initiato≥ system≤ tha⌠ usσ thσ COP┘ command.
ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ theε ß thirΣ-part∙ releasσ i≤ no⌠ ì
requested« Iµ thσ 3rdPt∙ bi⌠ i≤ onσ theε thσ targe⌠ shal∞ releasσ thσ ì
specifieΣ logica∞ uni⌠ o≥ extents¼ bu⌠ onl∙ iµ thσ reservatioε wa≤ madσ usinτ ì
ß thirΣ-part∙ reservatioε b∙ thσ initiato≥ tha⌠ i≤ requestinτ thσ releasσ fo≥ ì
thσ samσ SCS╔ devicσ a≤ specifieΣ iε thσ thirΣ-part∙ devicσ I─ field.
ááIµ thσ 3rdPt∙ bi⌠ i≤ onσ thσ targe⌠ shal∞ no⌠ modif∙ thσ modσ parameter≤ fo≥ ì
command≤ receiveΣ froφ thσ thirΣ-part∙ devicσ eveε iµ thσ targe⌠ implement≤ ì
thσ transfe≥ oµ modσ parameter≤ witΦ ß thirΣ-part∙ RESERV┼ command.
.cp 5
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ ß targe⌠ implement≤ independen⌠ storagσ oµ modσ ì
ááparameter≤ fo≥ eacΦ initiator¼ ß thirΣ-part∙ RESERV┼ commanΣ copie≤ thσ ì
áácurren⌠ modσ parameter≤ fo≥ thσ initiato≥ tha⌠ sen⌠ thσ RESERV┼ commanΣ t∩ ì
ááthσ curren⌠ modσ parameter≤ fo≥ thσ initiato≥ specifieΣ a≤ thσ thirΣ-part∙ ì
áádevicσ (usuall∙ ß cop∙ maste≥ device)« ┴ uni⌠ attentioε conditioε notifie≤ ì
ááthσ thirΣ-part∙ oµ thσ changeΣ modσ parameter≤ duσ t∩ thσ thσ reservation« ì
áá┴ successfu∞ thirΣ-part∙ RELEAS┼ commanΣ doe≤ no⌠ returε thσ thirΣ-part∙ ì
áádevicesº curren⌠ modσ parameter≤ bacδ t∩ thei≥ previou≤ values« Thσ thirΣ-ì
áápart∙ devicσ caε issuσ MOD┼ SENS┼ anΣ MOD┼ SELEC╘ command≤ t∩ quer∙ anΣ ì
áámodif∙ thσ modσ parameters«
.lm 1
.cp 25è.aw off
.pm 0
8.2.12. RESERVE Command
Table 8-25: RESERVE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (16h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | 3rdPty | Third Party Device ID | Extent |
-----|-----------------------------------------------------------------------|
2 | Reservation Identification |
-----|-----------------------------------------------------------------------|
3 ⁿ (MSB) |
-----|--- Extent List LengtΦ ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ RESERV┼ anΣ RELEAS┼ command≤ providσ thσ basiπ mechanisφ fo≥ contentioε ì
resolutioε iε multiplσ-initiato≥ systems« Thσ RESERV┼ commanΣ (Tablσ ╕-25⌐ i≤ ì
useΣ t∩ reservσ ß logica∞ uni⌠ or¼ iµ thσ exten⌠ reservatioε optioε i≤ ì
implemented¼ extent≤ withiε ß logica∞ unit« Thσ thirΣ-part∙ reservatioε ì
allow≤ logica∞ unit≤ o≥ extent≤ t∩ bσ reserveΣ fo≥ anothe≥ specifieΣ SCS╔ ì
device.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ reservatioε queuinτ optioε iε X3.13▒-198╢ ha≤ beeε ì
ááremoveΣ froφ SCS╔-2.
.lm 1
.cp 5
.aw off
.pm 0
8.2.12.1. Logica∞ Uni⌠ Reservatioε (Mandatory).
.aw on
.pm 3
ááIµ thσ exten⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ reques⌠ tha⌠ thσ entirσ ì
logica∞ uni⌠ bσ reserveΣ fo≥ thσ exclusivσ usσ oµ thσ initiato≥ unti∞ thσ ì
reservatioε i≤ supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ ì
tha⌠ madσ thσ reservatioε o≥ unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ ì
initiato≥ tha⌠ madσ thσ reservation¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ ì
initiator¼ b∙ ß harΣ RESE╘ condition¼ o≥ b∙ ß powe≥ oε cycle« ┴ logica∞ uni⌠ ì
reservatioε shal∞ no⌠ bσ granteΣ iµ thσ logica∞ uni⌠ o≥ an∙ exten⌠ i≤ reserveΣ ì
b∙ anothe≥ initiator« I⌠ shal∞ bσ permissiblσ fo≥ aε initiato≥ t∩ reservσ ß ì
logica∞ uni⌠ tha⌠ i≤ currentl∙ reserveΣ b∙ tha⌠ initiator« Iµ thσ exten⌠ bi⌠ ì
i≤ zero¼ thσ reservatioε identificatioε anΣ thσ exten⌠ lis⌠ lengtΦ shal∞ bσ ì
ignored.
ááIµ thσ logica∞ unit¼ o≥ an∙ exten⌠ withiε thσ logica∞ uni⌠ i≤ reserveΣ fo≥ ì
anothe≥ initiator¼ thσ targe⌠ shal∞ returε RESERVATIO╬ CONFLIC╘ status«
.cp 5
ááIf¼ afte≥ honorinτ thσ reservation¼ an∙ othe≥ initiato≥ attempt≤ t∩ perforφ ì
an∙ commanΣ oε thσ reserveΣ logica∞ uni⌠ othe≥ thaε aε INQUIRY¼ REQUES╘ ì
SENSE¼ ALLO╫ MEDIU═ REMOVAL¼ RESERVE¼ o≥ ß RELEAS┼ commanΣ theε thσ commanΣ ì
shal∞ bσ rejecteΣ witΦ RESERVATIO╬ CONFLIC╘ status«
è.aw off
.pm 0
.cp 10
8.2.12.2. Exten⌠ Reservatioε (Optional)
.aw on
.pm 3
ááThσ reservatioε identificatioε fielΣ provide≤ ß mean≤ fo≥ aε initiato≥ t∩ ì
identif∙ eacΦ exten⌠ reservation« Thi≤ allow≤ aε initiato≥ iε ß multiplσ ì
taskinτ environment¼ t∩ havσ multiplσ reservation≤ outstanding« Thσ ì
reservatioε identificatioε i≤ useΣ iε thσ RELEAS┼ commanΣ t∩ specif∙ whicΦ ì
reservatioε i≤ t∩ bσ released« I⌠ i≤ als∩ useΣ iε supersedinτ RESERV┼ ì
command≤ t∩ specif∙ whicΦ reservatioε i≤ t∩ bσ superseded.
ááIµ thσ exten⌠ reservatioε optioε i≤ implemented¼ theε thσ exten⌠ releasσ ì
optioε (seσ 8.2.11.2⌐ shal∞ als∩ bσ implemented« Thesσ option≤ permi⌠ ì
multiplσ extent≤ withiε thσ logica∞ uni⌠ t∩ bσ reserved¼ eacΦ witΦ ß separatσ ì
reservatioε type.
.cp 35
ááIµ thσ exten⌠ bi⌠ i≤ one¼ anΣ thσ exten⌠ reservatioε optioε i≤ implemented¼ ì
theε thσ targe⌠ shal∞ proces≤ thσ reservatioε reques⌠ a≤ follows:
áá(1⌐ Thσ exten⌠ lis⌠ shal∞ bσ checkeΣ fo≥ thσ numbe≥ oµ extent≤ iε thσ ì
reservatioε request« Iµ thσ exten⌠ lis⌠ lengtΦ i≤ zero¼ n∩ curren⌠ ì
reservation≤ shal∞ bσ changed¼ n∩ ne≈ reservation≤ shal∞ bσ created¼ anΣ thi≤ ì
conditioε shal∞ no⌠ bσ treateΣ a≤ aε error« Iµ thσ exten⌠ lis⌠ contain≤ morσ ì
extent≤ thaε arσ supporteΣ oε thσ logica∞ unit¼ thσ commanΣ shal∞ bσ ì
terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ì
ILLEGA╠ REQUEST« Iµ thσ exten⌠ lis⌠ contain≤ morσ extent≤ thaε arσ currentl∙ ì
availablσ oε thσ logica∞ unit¼ theε thσ targe⌠ shal∞ returε ß RESERVATIO╬ ì
CONFLIC╘ status«
áá(2⌐ Thσ exten⌠ lis⌠ shal∞ bσ checkeΣ fo≥ valiΣ exten⌠ logica∞ blocδ ì
addresses« Iµ an∙ logica∞ blocδ addres≤ i≤ invaliΣ fo≥ thi≤ logica∞ unit¼ thσ ì
commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ ì
shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST« Thσ exten⌠ lis⌠ shal∞ bσ checkeΣ fo≥ invaliΣ ì
exten⌠ overlap≤ (a≤ defineΣ b∙ reservatioε type⌐ witΦ othe≥ exten⌠ descriptor≤ ì
iε thσ exten⌠ lis⌠ anΣ iµ invaliΣ overlap≤ arσ found¼ thσ commanΣ shal∞ bσ ì
terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ì
ILLEGA╠ REQUEST.
áá(3⌐ Iµ thσ requesteΣ reservatioε doe≤ no⌠ conflic⌠ witΦ aε existinτ ì
reservation¼ thσ extent≤ specifieΣ shal∞ bσ reserveΣ unti∞ supersedeΣ b∙ ì
anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ reservatioε o≥ ì
unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ initiator¼ b∙ ß BU╙ DEVIC┼ ì
RESE╘ messagσ froφ an∙ initiator¼ o≥ b∙ ß harΣ RESE╘ condition« Iµ eithe≥ oµ ì
thσ las⌠ tw∩ condition≤ occur¼ thσ nex⌠ commanΣ froφ eacΦ initiato≥ shal∞ bσ ì
terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ UNI╘ ì
ATTENTION.
áá(4⌐ Iµ thσ reservatioε reques⌠ conflict≤ witΦ aε existinτ reservation¼ theε ì
thσ targe⌠ shal∞ returε ß RESERVATIO╬ CONFLIC╘ status.
ááIµ thσ exten⌠ bi⌠ i≤ one¼ anΣ thσ exten⌠ reservatioε optioε i≤ no⌠ ì
implemented¼ theε thσ RESERV┼ commanΣ shal∞ bσ rejecteΣ witΦ CHEC╦ CONDITIO╬ ì
statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
.cp 16è.aw off
.pm 0
Table 8-26: Data Format of Extent Descriptors
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Reserved | RelAdr | Reservation Type|
-----|-----------------------------------------------------------------------|
1 | (MSB) |
¡ ¡ -|¡ - Numbe≥ oµ Blocks ¡ -|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
¡ ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ sizσ oµ thσ exten⌠ lis⌠ shal∞ bσ defineΣ b∙ thσ exten⌠ lis⌠ lengtΦ ì
field« Thσ exten⌠ lis⌠ shal∞ consis⌠ oµ zer∩ o≥ morσ descriptor≤ a≤ showε iε ì
Tablσ ╕-26« EacΦ exten⌠ descripto≥ define≤ aε exten⌠ beginninτ a⌠ thσ ì
specifieΣ logica∞ blocδ addres≤ fo≥ thσ specifieΣ numbe≥ oµ blocks« Iµ thσ ì
numbe≥ oµ block≤ i≤ zero¼ thσ exten⌠ shal∞ begiε a⌠ thσ specifieΣ logica∞ ì
blocδ addres≤ anΣ continuσ througΦ thσ las⌠ logica∞ blocδ addres≤ oε thσ ì
logica∞ unit.
ááThσ reservatioε typσ fielΣ shal∞ determinσ thσ typσ oµ reservatioε t∩ bσ ì
effecteΣ fo≥ eacΦ extent« Fou≥ type≤ oµ reservation≤ arσ possiblσ a≤ follows:
.cp 10
.aw off
.pm 0
DB(1) DB(0) Reservation Type
----- ----- ----------------
1 ░ ReaΣ Exclusive
0 1 Write Exclusive
1 1 Exclusive Access
0 0 Read Shared
.aw on
.pm 3
ááReaΣ Exclusive.é Whilσ thi≤ reservatioε i≤ active¼ n∩ othe≥ initiato≥ shal∞ ì
bσ permitteΣ reaΣ operation≤ t∩ thσ indicateΣ extent« Thi≤ reservatioε shal∞ ì
no⌠ inhibi⌠ writσ operation≤ froφ an∙ initiato≥ o≥ conflic⌠ witΦ ß writσ ì
exclusivσ reservation╗ however¼ reaΣ exclusive¼ exclusivσ access¼ anΣ reaΣ ì
shareΣ reservation≤ tha⌠ overla≡ thi≤ exten⌠ shal∞ conflic⌠ witΦ thi≤ ì
reservation.
.cp 6
ááWritσ Exclusive.é Whilσ thi≤ reservatioε i≤ active¼ n∩ othe≥ initiato≥ shal∞ ì
bσ permitteΣ writσ operation≤ t∩ thσ indicateΣ extent« Thi≤ reservatioε shal∞ ì
no⌠ inhibi⌠ reaΣ operation≤ froφ an∙ initiato≥ o≥ conflic⌠ witΦ ß reaΣ ì
exclusivσ reservatioε froφ an∙ initiator« Thi≤ reservatioε shal∞ conflic⌠ ì
witΦ writσ exclusive¼ exclusivσ access¼ anΣ reaΣ shareΣ reservation≤ tha⌠ ì
overla≡ thi≤ extent.
.cp 3
ááExclusivσ Access.é Whilσ thi≤ reservatioε i≤ active¼ n∩ othe≥ initiato≥ ì
shal∞ bσ permitteΣ an∙ acces≤ t∩ thσ indicateΣ extent« Al∞ reservatioε type≤ ì
tha⌠ overla≡ thi≤ exten⌠ shal∞ conflic⌠ witΦ thi≤ reservation.
.cp 6èááReaΣ Shared.é Whilσ thi≤ reservatioε i≤ active¼ n∩ writσ operation≤ shal∞ bσ ì
permitteΣ b∙ an∙ initiato≥ t∩ thσ indicateΣ extent« Thi≤ reservatioε shal∞ ì
no⌠ inhibi⌠ reaΣ operation≤ froφ an∙ initiato≥ o≥ conflic⌠ witΦ ß reaΣ shareΣ ì
reservation« ReaΣ exclusive¼ writσ exclusive¼ anΣ exclusivσ acces≤ ì
reservation≤ tha⌠ overla≡ witΦ thi≤ exten⌠ shal∞ conflic⌠ witΦ thi≤ ì
reservation.
ááIµ thσ relativσ addres≤ bi⌠ i≤ one¼ thσ logica∞ blocδ addres≤ iε thσ exten⌠ ì
descripto≥ shal∞ bσ treateΣ a≤ ß two'≤ complemen⌠ displacement« Thi≤ ì
displacemen⌠ shal∞ bσ addeΣ t∩ thσ logica∞ blocδ addres≤ las⌠ accesseΣ oε thσ ì
logica∞ uni⌠ t∩ forφ thσ logica∞ blocδ addres≤ fo≥ thi≤ extent« Thi≤ featurσ ì
i≤ onl∙ availablσ wheε linkinτ command≤ anΣ require≤ tha⌠ ß previou≤ commanΣ ì
iε thσ linkeΣ grou≡ ha≤ accesseΣ ß logica∞ blocδ oε thσ logica∞ unit╗ iµ not¼ ì
thσ RESERV┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
ááIµ aε initiato≥ attempt≤ ß commanΣ t∩ ß logica∞ blocδ tha⌠ ha≤ beeε reserveΣ ì
anΣ tha⌠ acces≤ i≤ prohibiteΣ b∙ thσ reservation¼ thσ commanΣ shal∞ no⌠ bσ ì
performeΣ anΣ thσ commanΣ shal∞ bσ terminateΣ witΦ ß RESERVATIO╬ CONFLIC╘ ì
status« Iµ ß reservatioε conflic⌠ preclude≤ an∙ par⌠ oµ thσ command¼ nonσ oµ ì
thσ commanΣ shal∞ bσ performed« COP┘ command≤ shal∞ bσ terminateΣ witΦ CHEC╦ ì
CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ DAT┴ PROTEC╘ iµ an∙ par⌠ oµ ì
thσ cop∙ operatioε i≤ prohibiteΣ b∙ aε activσ reservation« Iµ an∙ exten⌠ iε ß ì
logica∞ uni⌠ i≤ reserveΣ iε an∙ way¼ b∙ an∙ initiator¼ ß FORMA╘ UNI╘ commanΣ ì
shal∞ bσ rejecteΣ witΦ ß RESERVATIO╬ CONFLIC╘ status.
.aw off
.pm 0
.cp 10
8.2.12.3. ThirΣ Part∙ Reservatioε (Mandatory).
.pm 3
.aw on
ááThσ thirΣ-part∙ reservatioε fo≥ thσ RESERV┼ commanΣ allow≤ aε initiato≥ t∩ ì
reservσ ß logica∞ uni⌠ o≥ extent≤ withiε ß logica∞ uni⌠ fo≥ anothe≥ SCS╔ ì
device« Thi≤ i≤ intendeΣ fo≥ usσ iε multiplσ-initiato≥ system≤ tha⌠ usσ thσ ì
COP┘ command« ThirΣ-part∙ reservatioε i≤ required«
ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ theε ß thirΣ-part∙ reservatioε i≤ ì
no⌠ requested« Iµ thσ 3rdPt∙ bi⌠ i≤ onσ theε thσ targe⌠ shal∞ reservσ thσ ì
specifieΣ logica∞ uni⌠ o≥ extent≤ fo≥ thσ SCS╔ devicσ specifieΣ iε thσ thirΣ-ì
part∙ devicσ I─ field« Thσ targe⌠ shal∞ preservσ thσ reservatioε unti∞ i⌠ i≤ ì
supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ ì
reservatioε o≥ unti∞ i⌠ i≤ releaseΣ b∙ thσ samσ initiator¼ b∙ ß BU╙ DEVIC┼ ì
rese⌠ messagσ froφ an∙ initiator¼ o≥ ß harΣ rese⌠ condition« Thσ targe⌠ shal∞ ì
ignorσ an∙ attemp⌠ t∩ releasσ thσ reservatioε madσ b∙ an∙ othe≥ initiator.
ááIµ independen⌠ set≤ oµ parameter≤ arσ implemented¼ ß thirΣ part∙ reservatioε ì
shal∞ causσ thσ targe⌠ t∩ transfe≥ thσ se⌠ oµ parameter≤ iε effec⌠ fo≥ thσ ì
initiato≥ oµ thσ RESERV┼ commanΣ t∩ thσ parameter≤ useΣ fo≥ command≤ froφ thσ ì
thirΣ part∙ device« An∙ subsequen⌠ commanΣ issueΣ b∙ thσ thirΣ-part∙ devicσ ì
i≤ executeΣ accordinτ t∩ thσ modσ parameter≤ iε effec⌠ fo≥ thσ initiato≥ tha⌠ ì
sen⌠ thσ RESERV┼ command.
.cp 6
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thi≤ transfe≥ oµ thσ modσ parameter≤ i≤ applicablσ t∩ ì
áátarge⌠ device≤ whicΦ storσ modσ informatioε independentl∙ fo≥ differen⌠ ì
ááinitiators« Thi≤ mechanisφ allow≤ aε initiato≥ t∩ se⌠ thσ modσ parameter≤ ì
ááoµ ß targe⌠ fo≥ thσ usσ oµ ß cop∙ maste≥ (i.e.¼ thσ thirΣ-part∙ device)« ì
ááThσ thirΣ-part∙ cop∙ maste≥ ma∙ subsequentl∙ issuσ ß MOD┼ SELEC╘ commanΣ t∩ ì
áámodif∙ thσ modσ parameters.
.lm 1
è.cp 10
.aw off
.pm 0
8.2.12.4. Supersedinτ Reservation≤ (Mandatory)
.pm 3
.aw on
ááAε initiato≥ tha⌠ hold≤ ß curren⌠ reservatioε (uni⌠ o≥ extent⌐ ma∙ modif∙ ì
tha⌠ reservatioε b∙ issuinτ anothe≥ RESERV┼ commanΣ (uni⌠ o≥ extent⌐ t∩ thσ ì
samσ logica∞ unit« Thσ supersedinτ RESERV┼ commanΣ shal∞ releasσ thσ previou≤ ì
reservatioε statσ (uni⌠ o≥ extent⌐ wheε thσ ne≈ reservatioε reques⌠ i≤ ì
granted« Iµ thσ supersedinτ reservatioε i≤ fo≥ aε exten⌠ reservatioε anΣ thσ ì
curren⌠ reservatioε i≤ als∩ aε exten⌠ reservation¼ thσ curren⌠ exten⌠ ì
reservatioε identificatioε valuσ i≤ useΣ fo≥ thσ supersedinτ reservation« Thσ ì
curren⌠ reservatioε shal∞ no⌠ bσ modifieΣ iµ thσ supersedinτ reservatioε ì
reques⌠ canno⌠ bσ granted« Iµ thσ supersedinτ reservatioε canno⌠ bσ granteΣ ì
becausσ oµ conflict≤ witΦ ß previou≤ reservatioε (othe≥ thaε thσ reservatioε ì
beinτ superseded)¼ theε thσ targe⌠ shal∞ returε RESERVATIO╬ CONFLIC╘ status«
.cp 4
.lm 3
ááIMPLEMENTOR╙ NOTE║ Supersedinτ reservation≤ allo≈ thσ SCS╔ devicσ I─ t∩ bσ ì
ááchangeΣ oε ß reservatioε usinτ thσ thirΣ-part∙ reservatioε option« Thi≤ ì
áácapabilit∙ i≤ necessar∙ fo≥ certaiε situation≤ wheε usinτ COMPARE¼ COPY¼ anΣ ì
ááCOP┘ AN─ VERIF┘ commands.
.lm 1
.cp 25
.aw off
.pm 0
8.2.13. REZERO UNIT Command
Table 8-27: REZERO UNIT Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (01h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
.cp 2
ááThσ REZER╧ UNI╘ commanΣ (Tablσ ╕-27⌐ request≤ tha⌠ thσ targe⌠ se⌠ thσ ì
logica∞ uni⌠ t∩ ß specifiπ state« Seσ vendo≥ specification≤ fo≥ details.
.cp 30è.aw off
.pm 0
8.2.14. SEARCH DATA Commands
Table 8-28: SEARCH DATA Commands
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (31h 30h 32h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Invert | Reserved | SpnDat | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
¡ ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Numbe≥ oµ Block≤ t∩ Search ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SEARC╚ DAT┴ command≤ (Tablσ ╕-28⌐ searcΦ onσ o≥ morσ logica∞ block≤ fo≥ ì
equalit∙ o≥ inequalit∙ t∩ ß datß pattern« Thσ concep⌠ oµ record≤ withiε ß ì
logica∞ blocδ i≤ useΣ t∩ allo≈ multiplσ record≤ withiε ß logica∞ blocδ t∩ bσ ì
searched.
ááThσ inver⌠ bi⌠ determine≤ whethe≥ thσ searcΦ conditioε i≤ t∩ bσ inverted« ì
Seσ 8.2.14.▒ througΦ 8.2.14.│ fo≥ ß descriptioε oµ thσ searcΦ condition≤ fo≥ ì
thσ individua∞ SEARC╚ DAT┴ commands.
áá┴ spanneΣ datß (SpnDat⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ eacΦ recorΣ shal∞ bσ ì
wholl∙ containeΣ withiε ß singlσ block« An∙ spacσ a⌠ thσ enΣ oµ ß blocδ tha⌠ ì
i≤ smalle≥ thaε thσ recorΣ lengtΦ i≤ ignoreΣ b∙ thσ SEARC╚ DAT┴ commands« ┴ ì
SpnDa⌠ bi⌠ oµ onσ indicate≤ tha⌠ record≤ spaε blocδ boundarie≤ (i.e.¼ recorΣ ì
ma∙ star⌠ iε onσ blocδ anΣ enΣ iε thσ nex⌠ o≥ ß subsequen⌠ block.
ááThσ numbe≥ oµ block≤ t∩ searcΦ fielΣ specifie≤ thσ maximuφ numbe≥ oµ ì
contiguou≤ logica∞ block≤ t∩ bσ searched« ┴ valuσ oµ zer∩ indicate≤ tha⌠ n∩ ì
logica∞ block≤ shal∞ bσ searched« Thi≤ conditioε shal∞ no⌠ bσ considereΣ aε ì
error« An∙ othe≥ valuσ indicate≤ thσ maximuφ numbe≥ oµ logica∞ block≤ tha⌠ ì
shal∞ bσ searched.
.cp 6
áá┴ linδ bi⌠ (seσ 6.2.7⌐ oµ zer∩ indicate≤ ß noε-linkeΣ commanΣ anΣ iµ thσ ì
searcΦ i≤ satisfied¼ thσ commanΣ shal∞ bσ terminateΣ witΦ ß CONDITIO╬ ME╘ ì
status« ┴ REQUES╘ SENS┼ commanΣ caε theε bσ issueΣ t∩ determinσ thσ logica∞ ì
blocδ addres≤ anΣ recorΣ offse⌠ oµ thσ matchinτ record« Iµ thσ searcΦ i≤ no⌠ ì
satisfieΣ anΣ n∩ erro≥ occurs¼ thσ commanΣ shal∞ bσ terminateΣ witΦ GOO─ ì
status.
è.cp 7
áá┴ linδ bi⌠ (seσ 6.2.7⌐ oµ onσ indicate≤ ß commanΣ i≤ linkeΣ t∩ thσ SEARC╚ ì
DAT┴ commanΣ anΣ iµ thσ searcΦ i≤ satisfied¼ INTERMEDIAT┼-CONDITIO╬ ME╘ statu≤ ì
i≤ returneΣ anΣ thσ nex⌠ commanΣ i≤ executed« Iµ thσ RelAd≥ bi⌠ iε thσ nex⌠ ì
commanΣ i≤ one¼ thσ logica∞ blocδ addres≤ oµ thσ nex⌠ commanΣ i≤ useΣ a≤ ß ì
displacemen⌠ froφ thσ logica∞ blocδ addres≤ a⌠ whicΦ thσ searcΦ wa≤ satisfied« ì
Iµ ß linkeΣ searcΦ i≤ no⌠ satisfied¼ thσ commanΣ i≤ terminateΣ witΦ CHEC╦ ì
CONDITIO╬ status« ┴ REQUES╘ SENS┼ commanΣ ma∙ theε bσ issued.
áá┴ REQUES╘ SENS┼ commanΣ followinτ ß satisfieΣ SEARC╚ DAT┴ commanΣ shall:
áá(1⌐ Returε ß sensσ ke∙ oµ EQUA╠ iµ thσ searcΦ wa≤ satisfieΣ b∙ aε exac⌠ ì
match« Iµ thσ searcΦ wa≤ satisfieΣ b∙ aε inequalit∙ theε ß sensσ ke∙ oµ N╧ ì
SENS┼ shal∞ bσ returned.
áá(2⌐ Returε thσ valiΣ bi⌠ se⌠ t∩ one.
áá(3⌐ Returε thσ logica∞ blocδ addres≤ oµ thσ logica∞ blocδ containinτ thσ ì
firs⌠ matchinτ recorΣ iε thσ informatioε field.
áá(4⌐ Returε thσ recorΣ offse⌠ oµ thσ matchinτ recorΣ iε thσ commanΣ-specifiπ ì
informatioε field.
.cp 5
áá┴ REQUES╘ SENS┼ commanΣ followinτ ß SEARC╚ DAT┴ commanΣ tha⌠ i≤ no⌠ ì
satisfieΣ shall:
áá(1⌐ Returε ß sensσ ke∙ oµ N╧ SENSE¼ iµ n∩ error≤ occurreΣ durinτ thσ commanΣ ì
execution.
áá(2⌐ Returε thσ valiΣ bi⌠ se⌠ t∩ zero.
.cp 36èááThσ SEARC╚ DAT┴ paramete≥ lis⌠ (Tablσ ╕-29⌐ contain≤ ß fourteeε-bytσ header¼ ì
followeΣ b∙ onσ o≥ morσ searcΦ argumen⌠ descriptors«
.aw off
.pm 0
Table 8-29: SEARCH DATA Parameter List
==============================================================================
Byte | Parameter List Header |
==============================================================================
0 | (MSB) |
- - -|- - Logical Record Length - -|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
- - -|- - First Record Offset - -|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
- - -|- - Number of Records - -|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | (MSB) |
-----|--- Search Argument Length ---|
13 | (LSB) |
==============================================================================
| Search Argument Descriptor(s) |
==============================================================================
0 | (MSB) |
- - -|- - Displacement - -|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Pattern Length ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 - n| Pattern |
==============================================================================
.aw on
.pm 3
ááThσ logica∞ recorΣ lengtΦ fielΣ specifie≤ thσ recorΣ lengtΦ iε bytes.
ááThσ firs⌠ recorΣ offse⌠ fielΣ specifie≤ thσ numbe≥ oµ byte≤ tha⌠ shal∞ bσ ì
ignoreΣ iε thσ firs⌠ logica∞ blocδ beforσ thσ searcΦ begins« Iµ thσ valuσ oµ ì
thσ firs⌠ recorΣ offse⌠ fielΣ shal∞ i≤ large≥ thaε thσ logica∞ blocδ lengtΦ ì
thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ ß CHEC╦ CONDITIO╬ status¼ se⌠ thσ ì
sensσ ke∙ t∩ ILLEGA╠ REQUES╘ anΣ se⌠ thσ additiona∞ sensσ codσ t∩ INVALI─ ì
FIEL─ I╬ PARAMETER╙ LIST« Subsequen⌠ logica∞ block≤ shal∞ bσ searcheΣ ì
beginninτ witΦ thσ firs⌠ bytσ iε thσ logica∞ block« Thi≤ permit≤ onσ o≥ morσ ì
record≤ t∩ bσ skippeΣ initially.
.cp 4
ááThσ numbe≥ oµ record≤ fielΣ specifie≤ thσ maximuφ numbe≥ oµ record≤ tha⌠ ì
shal∞ bσ searcheΣ b∙ thi≤ command« Aε searcΦ shal∞ terminatσ wheε thσ searcΦ ì
patterε i≤ founΣ o≥ wheε thσ numbe≥ oµ record≤ i≤ exhausteΣ o≥ wheε thσ numbe≥ ì
oµ block≤ t∩ searcΦ i≤ exhausted.
.cp2èááThσ searcΦ argumen⌠ lengtΦ fielΣ specifie≤ thσ lengtΦ iε byte≤ oµ al∞ thσ ì
searcΦ argumen⌠ descriptor≤ tha⌠ follow«
.cp 3
.lm3
ááIMPLEMENTOR╙ NOTE║ Sincσ thσ patterε lengtΦ caε vary¼ therσ i≤ n∩ fixeΣ ì
áámultiplσ oµ thσ searcΦ argumen⌠ descripto≥ t∩ determinσ thσ searcΦ argumen⌠ ì
áálength.
.lm1
.cp 4
ááThσ searcΦ argumen⌠ descriptor≤ specif∙ onσ o≥ morσ searcΦ condition≤ t∩ ì
executσ withiε ß singlσ recorΣ iε orde≥ t∩ satisf∙ thσ search« EacΦ searcΦ ì
argumen⌠ descripto≥ i≤ madσ u≡ oµ ß displacemen⌠ field¼ ß patterε lengtΦ ì
field¼ anΣ ß patterε field.
.cp 2
ááThσ displacemen⌠ fielΣ specifie≤ thσ displacemen⌠ iε byte≤ oµ thσ firs⌠ bytσ ì
oµ thσ datß t∩ bσ compareΣ froφ thσ star⌠ oµ thσ logica∞ record.
.cp 2
ááThσ patterε lengtΦ fielΣ specifie≤ thσ lengtΦ iε byte≤ oµ thσ patterε tha⌠ ì
follows.
ááThσ patterε fielΣ specifie≤ thσ datß t∩ comparσ t∩ thσ logica∞ record.
.cp 5
.aw off
.pm 0
8.2.14.1. SEARC╚ DAT┴ EQUA╠ Command
.aw on
.pm 3
ááThσ SEARC╚ DAT┴ EQUA╠ commanΣ (Tablσ ╕-28¼ operatioε codσ 31h⌐ shal∞ bσ ì
satisfieΣ b∙ thσ firs⌠ logica∞ recorΣ searcheΣ tha⌠ contain≤ datß tha⌠ ì
satisfie≤ al∞ oµ thσ searcΦ argumen⌠ descriptor(s)« Iµ thσ inver⌠ bi⌠ iε thσ ì
commanΣ descripto≥ blocδ i≤ zero¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ equa∞ t∩ thσ datß iε thσ ì
pattern« Iµ thσ inver⌠ bi⌠ i≤ one¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ no⌠ equa∞ t∩ thσ datß iε thσ ì
pattern« (Seσ 8.2.14.)
.cp 5
.aw off
.pm 0
8.2.14.2. SEARC╚ DAT┴ HIG╚ Command
.aw on
.pm 3
ááThσ SEARC╚ DAT┴ HIG╚ commanΣ (Tablσ ╕-28¼ operatioε codσ 30h⌐ shal∞ bσ ì
satisfieΣ b∙ thσ firs⌠ logica∞ recorΣ searcheΣ tha⌠ contain≤ datß tha⌠ ì
satisfie≤ al∞ oµ thσ searcΦ argumen⌠ descriptor(s)« Iµ thσ inver⌠ bi⌠ iε thσ ì
commanΣ descripto≥ blocδ i≤ zero¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ greate≥ thaε thσ datß iε thσ ì
pattern« Iµ thσ inver⌠ bi⌠ i≤ one¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ les≤ thaε o≥ equa∞ t∩ thσ datß ì
iε thσ pattern« (Seσ 8.2.14.)
.cp 5
.aw off
.pm 0
8.2.14.3. SEARC╚ DAT┴ LO╫ Command
.aw on
.pm 3
ááThσ SEARC╚ DAT┴ LO╫ commanΣ (Tablσ ╕-28¼ operatioε codσ 32h⌐ shal∞ bσ ì
satisfieΣ b∙ thσ firs⌠ logica∞ recorΣ searcheΣ tha⌠ contain≤ datß tha⌠ ì
satisfie≤ al∞ oµ thσ searcΦ argumen⌠ descriptor(s)« Iµ thσ inver⌠ bi⌠ iε thσ ì
commanΣ descripto≥ blocδ i≤ zero¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ les≤ thaε thσ datß iε thσ ì
pattern« Iµ thσ inver⌠ bi⌠ i≤ one¼ thσ searcΦ argumen⌠ descriptor(s⌐ shal∞ bσ ì
satisfieΣ b∙ datß iε thσ logica∞ recorΣ beinτ greate≥ thaε o≥ equa∞ t∩ thσ ì
datß iε thσ pattern« (Seσ 8.2.14.)
.cp 25è.aw off
.pm 0
8.2.15. SEEK(6) anΣ SEEK(10⌐ Commands
Table 8-30: SEEK(6⌐ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (0Bh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | (MSB) |
-----|------------------------------ ---|
2 | Logical Block Address |
-----|--- ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
.cp 27
.pm 0
.aw off
Table 8-31: SEEK(10) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Bh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- - -|- - Logical Blocδ Address - -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | Reserved |
-----|-----------------------------------------------------------------------|
8 | Reserved |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
.cp 2
ááThσ SEEK(6⌐ (Tablσ ╕-30⌐ anΣ SEEK(10⌐ (Tablσ ╕-31⌐ command≤ reques⌠ tha⌠ thσ ì
logica∞ uni⌠ seeδ t∩ thσ specifieΣ logica∞ blocδ address.
.cp 35è.aw off
.pm 0
8.2.16. SET LIMITS Command
Table 8-32: SET LIMITS Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (33h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | RdInh | WrInh |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
--¡--|¡-- Numbe≥ oµ Block≤ ¡--|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SE╘ LIMIT╙ commanΣ (Tablσ ╕-32⌐ define≤ thσ rangσ withiε whicΦ ì
subsequen⌠ linkeΣ command≤ ma∙ operate« ┴ seconΣ SE╘ LIMIT╙ commanΣ ma∙ no⌠ ì
bσ linkeΣ t∩ ß chaiε oµ command≤ iε whicΦ ß SE╘ LIMIT╙ commanΣ ha≤ alread∙ ì
beeε issued.
ááThσ reaΣ inhibi⌠ (RdInh⌐ bi⌠ oµ onσ indicate≤ tha⌠ reaΣ operation≤ withiε ì
thσ rangσ shal∞ bσ inhibited«
áá┴ writσ inhibi⌠ (WrInh⌐ bi⌠ oµ onσ indicate≤ tha⌠ writσ operation≤ withiε ì
thσ rangσ shal∞ bσ inhibited.
ááThσ logica∞ blocδ addres≤ fielΣ specifie≤ thσ startinτ addres≤ fo≥ thσ ì
range.
ááThσ numbe≥ oµ block≤ fielΣ specifie≤ thσ numbe≥ oµ logica∞ block≤ withiε thσ ì
range« ┴ numbe≥ oµ block≤ oµ zer∩ indicate≤ tha⌠ thσ rangσ shal∞ extenΣ t∩ ì
thσ las⌠ logica∞ blocδ oε thσ logica∞ unit.
.cp 7
ááAn∙ attemp⌠ t∩ acces≤ outsidσ oµ thσ restricteΣ rangσ o≥ an∙ attemp⌠ t∩ ì
perforφ aε inhibiteΣ operatioε withiε thσ restricteΣ rangσ shal∞ no⌠ bσ ì
performed« Thσ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ ì
thσ sensσ ke∙ shal∞ bσ se⌠ t∩ DAT┴ PROTECT« ┴ seconΣ SE╘ LIMIT╙ commanΣ ì
withiε ß linkeΣ lis⌠ oµ command≤ shal∞ bσ rejecteΣ witΦ CHEC╦ CONDITIO╬ statu≤ ì
anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ DAT┴ PROTECT.
.cp 35è.aw off
.pm 0
8.2.17. STAR╘ STOP UNIT Command
Table 8-33: STAR╘ STOP UNIT Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (1Bh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | Immed |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved | LoEj | Start |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ STAR╘ STO╨ UNI╘ commanΣ (Tablσ ╕-33⌐ request≤ tha⌠ thσ targe⌠ enablσ o≥ ì
disablσ thσ logica∞ uni⌠ fo≥ mediß acces≤ operations.
ááAε immediatσ (Immed⌐ bi⌠ oµ onσ indicate≤ tha⌠ statu≤ shal∞ bσ returneΣ a≤ ì
sooε a≤ thσ commanΣ descripto≥ blocδ ha≤ beeε validated« Aε ImmeΣ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ statu≤ shal∞ bσ returneΣ afte≥ thσ operatioε i≤ completed«
áá┴ loaΣ ejec⌠ (LoEj⌐ bi⌠ oµ zer∩ request≤ tha⌠ n∩ actioε bσ takeε regardinτ ì
loadinτ o≥ ejectinτ thσ medium« ┴ LoEΩ bi⌠ oµ onσ request≤ tha⌠ thσ mediuφ ì
shal∞ bσ bσ unloadeΣ iµ thσ star⌠ bi⌠ i≤ zero« ┴ LoEΩ bi⌠ oµ onσ request≤ ì
tha⌠ thσ mediuφ i≤ t∩ bσ loadeΣ iµ thσ star⌠ bi⌠ i≤ one.
áá┴ star⌠ bi⌠ oµ onσ request≤ thσ logica∞ uni⌠ bσ madσ read∙ fo≥ use« ┴ star⌠ ì
bi⌠ oµ zer∩ request≤ tha⌠ thσ logica∞ uni⌠ bσ stoppeΣ (mediß canno⌠ bσ ì
accesseΣ b∙ thσ initiator).
.cp 2
ááTarget≤ tha⌠ contaiε cachσ memor∙ shal∞ implicitl∙ perforφ ß SYNCHRONIZ┼ ì
CACH┼ commanΣ fo≥ thσ entirσ mediuφ prio≥ t∩ executinτ thσ STO╨ UNI╘ command.
.cp 35è.aw off
.pm 0
8.2.18. SYNCHRONIZ┼ CACHE Command
Table 8-34: SYNCHRONIZ┼ CACHE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (35h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | ReserveΣ ⁿ Immed | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
¡ ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
¡-¡--|¡-- Numbe≥ oµ Block≤ ¡--|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SYNCHRONIZ┼ CACH┼ commanΣ (Tablσ ╕-34⌐ ensure≤ tha⌠ logica∞ block≤ iε ì
thσ cachσ memory¼ withiε thσ specifieΣ range¼ havσ thei≥ mos⌠ recen⌠ datß ì
valuσ recordeΣ oε thσ physica∞ medium« Iµ ß morσ recen⌠ datß valuσ fo≥ ß ì
logica∞ blocδ withiε thσ specifieΣ rangσ exist≤ iε thσ cachσ memor∙ thaε oε ì
thσ physica∞ medium¼ theε thσ logica∞ blocδ froφ thσ cachσ memor∙ shal∞ bσ ì
writteε t∩ thσ physica∞ medium« Logica∞ block≤ arσ no⌠ necessaril∙ removeΣ ì
froφ thσ cachσ memor∙ a≤ ß resul⌠ oµ thσ synchronizσ cachσ operation.
ááAε immediatσ (Immed⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ returε ì
statu≤ a≤ sooε a≤ thσ commanΣ descripto≥ blocδ ha≤ beeε validated« Aε ImmeΣ ì
bi⌠ oµ zer∩ indicate≤ tha⌠ thσ statu≤ shal∞ no⌠ bσ returneΣ unti∞ thσ ì
operatioε ha≤ beeε completed« Iµ thσ ImmeΣ bi⌠ i≤ onσ anΣ thσ targe⌠ doe≤ no⌠ ì
suppor⌠ i⌠ anΣ thσ commanΣ shal∞ terminatσ witΦ CHEC╦ CONDITIO╬ status« Thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ shal∞ ì
bσ se⌠ t∩ INVALI─ FIEL─ I╬ CDB.
.cp 2
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 3
ááThσ numbe≥ oµ block≤ fielΣ specifie≤ thσ tota∞ numbe≥ oµ contiguou≤ logica∞ ì
block≤ withiε thσ range« ┴ numbe≥ oµ block≤ oµ zer∩ indicate≤ tha⌠ al∞ ì
remaininτ logica∞ block≤ oε thσ logica∞ uni⌠ shal∞ bσ withiε thσ range«
.cp 2
áá┴ logica∞ blocδ withiε thσ specifieΣ rangσ tha⌠ i≤ no⌠ iε cachσ memor∙ i≤ ì
no⌠ considereΣ aε error.
.cp 35è.aw off
.pm 0
8.2.19. VERIFY Command
Table 8-35: VERIFY Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Fh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | DPO |Reserved|Reserved| BytChk | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Verification LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ VERIF┘ commanΣ (Tablσ ╕-35⌐ request≤ tha⌠ thσ targe⌠ verif∙ thσ datß ì
writteε oε thσ medium.
ááIµ thσ MOD┼ SELEC╘ commanΣ i≤ implemented¼ anΣ thσ verif∙ erro≥ recover∙ ì
parameter≤ pagσ i≤ als∩ implemented¼ theε thσ curren⌠ setting≤ iε tha⌠ pagσ ì
specifie≤ thσ verificatioε erro≥ criteria« Iµ thσ verif∙ erro≥ recover∙ ì
parameter≤ pagσ i≤ no⌠ implemented¼ theε thσ verificatioε criteriß i≤ vendo≥-ì
specific«
áá┴ bytσ checδ (BytChk⌐ bi⌠ oµ zer∩ cause≤ ß mediuφ verificatioε t∩ bσ ì
performeΣ witΦ n∩ datß comparison« ┴ BytChδ bi⌠ oµ onσ cause≤ ß bytσ-b∙-bytσ ì
comparσ oµ datß writteε oε thσ mediuφ anΣ thσ datß transferreΣ froφ thσ ì
initiator« Iµ thσ comparσ i≤ unsuccessfu∞ fo≥ an∙ reason¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ witΦ thσ sensσ ke∙ se⌠ t∩ MISCOMPARE.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 7
ááThσ verificatioε lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ ì
block≤ oµ datß tha⌠ shal∞ bσ verified« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ ì
tha⌠ n∩ logica∞ block≤ shal∞ bσ verified« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ a≤ aε error« An∙ othe≥ valuσ indicate≤ thσ numbe≥ oµ logica∞ ì
block≤ tha⌠ shal∞ bσ verified.
ááSeσ 8.2.╢ fo≥ ß descriptioε oµ thσ cachσ contro∞ bi⌠ (DPO).
.cp 35è.aw off
.pm 0
8.2.20. WRITE(6⌐ Command
Table 8-36: WRITE(6) Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (0Ah) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | (MSB) |
-----|------------------------------ ---|
2 | Logical Block Address |
-----|--- ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | Transfer Length |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ WRITE(6⌐ commanΣ (Tablσ ╕-36⌐ request≤ tha⌠ thσ targe⌠ writσ thσ datß ì
transferreΣ b∙ thσ initiato≥ t∩ thσ medium«
ááThσ cachσ contro∞ bit≤ (seσ 8.2.6⌐ arσ no⌠ provideΣ fo≥ thi≤ command« ì
Target≤ witΦ cachσ memor∙ ma∙ havσ value≤ fo≥ thσ cachσ contro∞ bit≤ whicΦ ma∙ ì
affec⌠ thσ WRITE(6⌐ command¼ howeve≥ n∩ defaul⌠ valuσ i≤ defineΣ b∙ thi≤ ì
standard« Iµ explici⌠ contro∞ i≤ required¼ thσ WRITE(10⌐ commanΣ shoulΣ bσ ì
used.
ááThσ logica∞ blocδ addres≤ fielΣ specifie≤ thσ logica∞ blocδ a⌠ whicΦ thσ ì
writσ operatioε shal∞ begin.
ááThσ transfe≥ lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
oµ datß t∩ transferred« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ 25╢ logica∞ ì
block≤ shal∞ bσ transferred« An∙ othe≥ valuσ indicate≤ thσ numbe≥ oµ logica∞ ì
block≤ tha⌠ shal∞ bσ transferred.
.cp 35è.pm 0
.aw off
8.2.21. WRITE(10⌐ Command
Table 8-37: WRITE(10⌐ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Ah) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | DPO | FUA |Reserved|Reserved| RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Transfer LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ WRITE(10⌐ commanΣ (Tablσ ╕-37⌐ request≤ tha⌠ thσ targe⌠ writσ thσ datß ì
transferreΣ b∙ thσ initiato≥ t∩ thσ medium.
ááSeσ READ(10⌐ commanΣ (8.2.6⌐ fo≥ ß definitioε oµ thσ cachσ contro∞ bit≤ (DP╧ ì
anΣ FUA).
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
ááThσ transfe≥ lengtΦ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
oµ datß tha⌠ shal∞ bσ transferred« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ ì
n∩ logica∞ block≤ shal∞ bσ transferred« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ aε erro≥ anΣ n∩ datß shal∞ bσ written« An∙ othe≥ valuσ indicate≤ ì
thσ numbe≥ oµ logica∞ block≤ tha⌠ shal∞ bσ transferred.
.cp 35è.aw off
.pm 0
8.2.22. WRITE AND VERIFY Command
Table 8-38: WRITE AND VERIFY Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Eh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | DPO |Reserved|Reserved| BytChk | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 ⁿ (MSB) |
-----|--- Transfer LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ WRIT┼ AN─ VERIF┘ commanΣ (Tablσ ╕-38⌐ request≤ tha⌠ thσ targe⌠ writσ thσ ì
datß transferreΣ froφ thσ initiato≥ t∩ thσ mediuφ anΣ theε verif∙ tha⌠ thσ ì
datß i≤ correctl∙ written« Thσ datß i≤ onl∙ transferreΣ oncσ froφ thσ ì
initiato≥ t∩ thσ target.
ááIµ thσ MOD┼ SELEC╘ commanΣ i≤ implemented¼ anΣ thσ verif∙ erro≥ recover∙ ì
pagσ i≤ als∩ implementeΣ (seσ 8.3.3.8)¼ theε thσ curren⌠ setting≤ iε tha⌠ pagσ ì
alonτ witΦ thσ AWR┼ bi⌠ froφ thσ reaΣ-writσ erro≥ recover∙ pagσ specif∙ thσ ì
verificatioε erro≥ criteria« Iµ thesσ page≤ arσ no⌠ implemented¼ theε thσ ì
verificatioε criteriß i≤ vendo≥-specific.
áá┴ bytσ checδ (BytChk⌐ bi⌠ oµ zer∩ request≤ ß mediuφ verificatioε t∩ bσ ì
performeΣ witΦ n∩ datß comparison« ┴ BytChδ bi⌠ oµ onσ request≤ ß bytσ-b∙-ì
bytσ comparσ oµ datß writteε oε thσ mediuφ anΣ thσ datß transferreΣ froφ thσ ì
initiator« Iµ thσ comparσ i≤ unsuccessfu∞ fo≥ an∙ reason¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ witΦ thσ sensσ ke∙ se⌠ t∩ MISCOMPARE.
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
ááSeσ WRITE(10⌐ commanΣ (8.2.21⌐ fo≥ ß definitioε oµ thσ transfe≥ lengtΦ ì
field.
ááSeσ 8.2.╢ fo≥ ß descriptioε oµ thσ cachσ contro∞ bi⌠ (DPO).
.cp 8è.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ WRIT┼ AN─ VERIF┘ commanΣ specificall∙ state≤ tha⌠ thσ ì
áádatß arσ no⌠ t∩ bσ transferreΣ twicσ (i.e.¼ oncσ fo≥ thσ writσ pass¼ anΣ ì
ááoncσ fo≥ thσ verif∙ pass⌐ wheε performinτ ß bytσ compare« Iµ therσ i≤ ß ì
ááneeΣ fo≥ tw∩ transfer≤ t∩ occu≥ (e.g.¼ t∩ ensurσ thσ integrit∙ oµ thσ patΦ ì
áát∩ thσ media)¼ theε thσ initiato≥ shoulΣ issuσ ß WRIT┼ commanΣ witΦ ß LIN╦ ì
áábi⌠ oµ onσ followeΣ b∙ ß VERIF┘ commanΣ witΦ ß BytCm≡ bi⌠ oµ one¼ ì
áátransferrinτ thσ samσ datß oε eacΦ command.
.lm 1
.cp 35
.aw off
.pm 0
8.2.23. WRITE LON╟ Command
Table 8-39: WRITE LONG Command
==============================================================================
Bitⁿ ╖ ⁿ ╢ ⁿ ╡ ⁿ ┤ ⁿ │ ⁿ ▓ ⁿ ▒ ⁿ 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (3Fh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
╖ ⁿ (MSB) |
-----|--- Bytσ Transfe≥ LengtΦ |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ WRIT┼ LON╟ commanΣ (Tablσ ╕-39⌐ request≤ tha⌠ thσ targe⌠ writσ thσ datß ì
transferreΣ b∙ thσ initiato≥ t∩ thσ medium« Thσ datß passeΣ durinτ thσ WRIT┼ ì
LON╟ commanΣ i≤ implementatioε specific¼ bu⌠ shal∞ includσ thσ datß byte≤ anΣ ì
thσ EC├ bytes«
.lm3
ááIMPLEMENTOR╙ NOTE║ An∙ othe≥ byte≤ tha⌠ caε bσ correcteΣ b∙ EC├ shoulΣ bσ ì
ááincludeΣ (e.g.¼ ß datß synchronizatioε marδ withiε thσ areß covereΣ b∙ ECC)« ì
ááThσ REA─ LON╟ commanΣ i≤ usuall∙ issueΣ beforσ issuinτ ß WRIT┼ LON╟ command« ì
ááThσ WRIT┼ LON╟ datß shoulΣ bσ thσ samσ lengtΦ anΣ iε thσ samσ orde≥ a≤ thσ ì
áádatß returneΣ b∙ thσ REA─ LON╟ command.
.lm1
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 10èááThσ bytσ transfe≥ lengtΦ fielΣ shoulΣ specif∙ thσ numbe≥ oµ byte≤ oµ datß ì
tha⌠ thσ targe⌠ woulΣ returε fo≥ thσ REA─ LON╟ command« Iµ ß noε-zer∩ bytσ ì
transfe≥ lengtΦ doe≤ no⌠ exactl∙ matcΦ thσ datß lengtΦ thσ targe⌠ woulΣ returε ì
fo≥ thσ REA─ LON╟ command¼ theε thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ ì
CHEC╦ CONDITIO╬ statu≤ anΣ ß sensσ ke∙ oµ ILLEGA╠ REQUES╘ anΣ aε additiona∞ ì
sensσ codσ oµ INVALI─ FIEL─ I╬ CDB« Thσ IL╔ anΣ valiΣ bit≤ shal∞ bσ se⌠ t∩ onσ ì
anΣ thσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ differencσ (residue⌐ oµ thσ ì
requesteΣ lengtΦ minu≤ thσ actua∞ lengtΦ iε bytes« Negativσ value≤ shal∞ bσ ì
indicateΣ b∙ two'≤ complemen⌠ notation« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ ì
tha⌠ n∩ byte≤ shal∞ bσ transferreΣ anΣ shal∞ no⌠ bσ considereΣ aε error.
.cp 35
.aw off
.pm 0
8.2.24. WRITE SAM┼ Command
Table 8-40: WRITE SAME Command
==============================================================================
Bitⁿ ╖ ⁿ ╢ ⁿ ╡ ⁿ ┤ ⁿ │ ⁿ ▓ ⁿ ▒ ⁿ 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code ¿41h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved ⁿ PBdata ⁿ LBdata | RelAdr |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
- ¡ -|¡ - Logica∞ Blocδ Address ¡ -|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
╖ ⁿ (MSB) |
-----|--- Numbe≥ oµ Blocδs |
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ WRIT┼ SAM┼ commanΣ (Tablσ ╕-40⌐ request≤ tha⌠ thσ targe⌠ writσ thσ ì
singlσ blocδ oµ datß transferreΣ b∙ thσ initiato≥ t∩ thσ mediuφ multiplσ ì
times.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thi≤ commanΣ i≤ usefu∞ iµ largσ area≤ oµ thσ mediuφ neeΣ ì
áát∩ bσ written¼ prepareΣ fo≥ certification¼ o≥ otherwisσ initializeΣ withou⌠ ì
ááthσ initiato≥ havinτ t∩ transfe≥ al∞ thσ data.
.lm 1
.cp4
áá┴ logica∞ blocδ datß (LBdata⌐ bi⌠ oµ onσ request≤ tha⌠ thσ targe⌠ replacσ ì
thσ firs⌠ fou≥ byte≤ oµ thσ datß t∩ bσ writteε t∩ thσ curren⌠ logica∞ blocδ ì
witΦ thσ logica∞ blocδ addres≤ oµ thσ blocδ currentl∙ beinτ written.
.cp 4
áá┴ physica∞ blocδ datß (PBdata⌐ bi⌠ oµ onσ request≤ tha⌠ thσ targe⌠ replacσ ì
thσ firs⌠ eigh⌠ byte≤ oµ thσ datß t∩ bσ writteε t∩ thσ curren⌠ physica∞ secto≥ ì
witΦ thσ physica∞ addres≤ oµ thσ secto≥ currentl∙ beinτ writteε usinτ thσ ì
physica∞ secto≥ forma⌠ (seσ Tablσ ╕-8).
è.cp 2
ááIµ PBdatß anΣ LBdatß arσ onσ thσ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ ì
CONDITIO╬ status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
.cp 2
ááSeσ 8.2.▓ fo≥ ß definitioε oµ thσ RelAd≥ bi⌠ anΣ thσ logica∞ blocδ addres≤ ì
field.
.cp 3
ááThσ numbe≥ oµ block≤ fielΣ specifie≤ thσ numbe≥ oµ contiguou≤ logica∞ block≤ ì
t∩ bσ written« ┴ numbe≥ oµ block≤ fielΣ oµ zer∩ request≤ tha⌠ al∞ thσ ì
remaininτ logica∞ block≤ oε thσ mediuφ bσ written.
.cp 20
.aw off
.pm 0
8.3. Parameter≤ fo≥ Direct-Access Devices
.aw on
.pm 3
.cp 10
.aw off
.pm 0
8.3.1. Diagnostic Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
useΣ witΦ direc⌠-acces≤ devices«
ááThσ diagnostiπ pagσ code≤ fo≥ direc⌠-acces≤ device≤ arσ defineΣ iε Tablσ ╕-ì
41.
.aw off
.pm 0
.cp 15
Table 8-41: Diagnostiπ Page Codes
==============================================================================
Page Code Description Section
-----------¡ ---------------------------------------------------¡ ----------
ááá00h SupporteΣ Diagnostiπ Pages 7.3.1.1
ááá40h Translatσ Address Pagσ 8.3.1.1
01Φ ¡ 3Fh ReserveΣ (fo≥ al∞ devicσ typσ page≤)
41Φ ¡ 7Fh Reserved
80Φ ¡ FFh Vendo≥-specifiπ pages
==============================================================================
.aw on
.pm 3
.lm 1
.cp 10
.aw off
.pm 0
8.3.1.1. Translatσ Addres≤ Pagσ ¡ SEN─ DIAGNOSTI├
.aw on
.pm 3
ááThσ translatσ addres≤ pagσ allow≤ thσ initiato≥ t∩ translatσ ß logica∞ blocδ ì
address¼ physica∞ secto≥ addres≤ o≥ physica∞ byte≤ froφ inde° addres≤ int∩ an∙ ì
onσ oµ thσ othe≥ formats« Thσ addres≤ t∩ bσ translateΣ i≤ passeΣ t∩ thσ ì
targe⌠ witΦ thσ SEN─ DIAGNOSTI├ commanΣ anΣ thσ result≤ arσ returneΣ t∩ thσ ì
initiato≥ b∙ thσ RECEIV┼ DIAGNOSTI├ RESULT╙ command« Thσ forma⌠ oµ thσ ì
translatσ addres≤ pagσ ¡ SEN─ DIAGNOSTI├ i≤ showε iε Tablσ ╕-42« Thσ ì
translateΣ addres≤ i≤ returneΣ iε thσ translatσ addres≤ pagσ ¡ RECEIV┼ ì
DIAGNOSTI├ RESULT╙ (seσ Tablσ ╕-43).
.cp 22è.pm 0
.aw off
Table 8-42: Translatσ Addres≤ Pagσ ¡ SEN─ DIAGNOSTI├
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Pagσ Codσ (40h) |
-----|-----------------------------------------------------------------------|
1 | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Pagσ LengtΦ (000Ah) ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | ReserveΣ ⁿ SupplieΣ Forma⌠ |
-----|-----------------------------------------------------------------------|
5 | Reserved ⁿ Translatσ Forma⌠ |
-----|-----------------------------------------------------------------------|
6 ⁿ |
¡ ¡ -|¡ - Addres≤ t∩ Translatσ ¡ -|
13 ⁿ |
==============================================================================
.aw on
.pm 3
.cp 5
ááThσ supplieΣ forma⌠ fielΣ specifie≤ thσ forma⌠ oµ addres≤ t∩ translatσ ì
field« ValiΣ value≤ fo≥ thi≤ fielΣ arσ defineΣ iε thσ FORMA╘ UNI╘ commanΣ ì
(seσ Tablσ ╕-5)« Iµ thσ targe⌠ doe≤ no⌠ suppor⌠ thσ requesteΣ forma⌠ i⌠ shal∞ ì
terminatσ thσ SEN─ DIAGNOSTI├ commanΣ witΦ CHEC╦ CONDITIO╬ status« Thσ sensσ ì
ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ aε additiona∞ sensσ codσ shal∞ bσ se⌠ ì
t∩ INVALI─ FIEL─ I╬ PARAMETE╥ LIST.
ááThσ translatσ forma⌠ fielΣ specifie≤ whicΦ forma⌠ thσ initiato≥ woulΣ likσ ì
thσ addres≤ t∩ bσ translateΣ to« ValiΣ value≤ fo≥ thi≤ fielΣ arσ defineΣ iε ì
thσ FORMA╘ UNI╘ commanΣ (seσ Tablσ ╕-5)« Iµ thσ targe⌠ doe≤ no⌠ suppor⌠ thσ ì
requesteΣ forma⌠ i⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ status« ì
Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUES╘ anΣ aε additiona∞ sensσ codσ ì
shal∞ bσ se⌠ t∩ INVALI─ FIEL─ I╬ PARAMETE╥ LIST.
ááThσ addres≤ t∩ translatσ fielΣ contain≤ ß singlσ addres≤ thσ initiato≥ i≤ ì
requestinτ thσ targe⌠ t∩ translate« Thσ forma⌠ oµ thi≤ fielΣ depend≤ oε thσ ì
valuσ iε thσ supplieΣ forma⌠ field« Thσ format≤ arσ describeΣ iε Table≤ ╕-8¼ ì
╕-╣ anΣ ╕-10« Iµ thσ logica∞ blocδ forma⌠ i≤ specifieΣ thσ blocδ addres≤ ì
shal∞ bσ iε thσ firs⌠ fou≥ byte≤ oµ thσ fielΣ witΦ thσ remaininτ byte≤ se⌠ t∩ ì
zero.
.aw off
.pm 0
8.3.1.2. Translatσ Addres≤ Pagσ ¡ RECEIV┼ DIAGNOSTI├
.aw on
.pm 3
ááThσ translatσ addres≤ pagσ allow≤ thσ initiato≥ t∩ translatσ ß logica∞ blocδ ì
address¼ physica∞ secto≥ address¼ o≥ physica∞ byte≤ froφ inde° addres≤ int∩ ì
an∙ onσ oµ thσ othe≥ formats« Thσ addres≤ t∩ bσ translateΣ i≤ passeΣ t∩ thσ ì
targe⌠ witΦ thσ SEN─ DIAGNOSTI├ commanΣ anΣ thσ result≤ arσ returneΣ t∩ thσ ì
initiato≥ b∙ thσ RECEIV┼ DIAGNOSTI├ RESULT╙ command« Thσ translateΣ addres≤ ì
i≤ returneΣ iε thσ translatσ addres≤ pagσ ¡ RECEIV┼ DIAGNOSTI├ (Tablσ ╕-43).
.cp 33è.pm 0
.aw off
Table 8-43: Translatσ Addres≤ Pagσ ¡ RECEIV┼ DIAGNOSTI├
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Pagσ Codσ (40h) |
-----|-----------------------------------------------------------------------|
1 | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Pagσ LengtΦ ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | ReserveΣ ⁿ SupplieΣ Forma⌠ |
-----|-----------------------------------------------------------------------|
5 | RAREA | ALTSEC ⁿ ALTTRK | Reserved ⁿ Translatσd Forma⌠ |
-----|-----------------------------------------------------------------------|
6 ⁿ |
- - -|¡ - TranslatσΣ Addres≤ 1 ¡ ¡|
13 ⁿ |
-----|-----------------------------------------------------------------------|
14 ⁿ |
¡ ¡ -|¡ - TranslatσΣ Addres≤ ▓ (iµ required) ¡ -|
21 ⁿ |
¡ ¡ -|¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -|
n ⁿ |
¡ ¡ -|¡ - TranslatσΣ Addres≤ n (iµ required) ¡ -|
nn ⁿ |
==============================================================================
.aw on
.pm 3
.cp 3
ááThσ translatσ addres≤ pagσ contain≤ ß fou≥ bytσ pagσ heade≥ whicΦ specifie≤ ì
thσ pagσ codσ anΣ lengtΦ followeΣ b∙ tw∩ byte≤ whicΦ describσ thσ translateΣ ì
addres≤ followeΣ b∙ zer∩ o≥ morσ translateΣ address(s).
ááThσ pagσ lengtΦ fielΣ contain≤ thσ numbe≥ oµ paramete≥ byte≤ whicΦ follow.
ááThσ supplieΣ forma⌠ fielΣ contain≤ thσ valuσ froφ thσ SEN─ DIAGNOSTI├ ì
commanΣ supplieΣ forma⌠ fielΣ (seσ 8.3.1.1).
áá┴ reserveΣ areß (RAREA⌐ bi⌠ oµ onσ indicate≤ tha⌠ al∞ o≥ par⌠ oµ thσ ì
translateΣ addres≤ fall≤ withiε ß reserveΣ areß oµ thσ mediuφ (e.g.¼ speeΣ ì
tolerancσ gap¼ alternatσ sector¼ vendo≥ reserveΣ area¼ etc.)« Iµ thσ entirσ ì
translateΣ addres≤ fall≤ withiε ß reserveΣ areß thσ targe⌠ ma∙ no⌠ returε ß ì
translateΣ address« Aε RARE┴ bi⌠ oµ zer∩ indicate≤ tha⌠ n∩ par⌠ oµ thσ ì
translateΣ addres≤ fall≤ withiε ß reserveΣ areß oµ thσ medium.
.cp 7
ááAε alternatσ secto≥ (ALTSEC⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ translateΣ ì
addres≤ i≤ physicall∙ locateΣ iε aε alternatσ secto≥ oµ thσ medium« Iµ thσ ì
targe⌠ canno⌠ determinσ iµ al∞ o≥ par⌠ oµ thσ translateΣ addres≤ i≤ locateΣ iε ì
aε alternatσ secto≥ i⌠ shal∞ se⌠ thi≤ bi⌠ t∩ zero« Aε ALTSE├ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ n∩ par⌠ oµ thσ translateΣ addres≤ i≤ locateΣ iε aε alternatσ ì
secto≥ oµ thσ mediuφ o≥ tha⌠ thσ targe⌠ i≤ unablσ t∩ determinσ thi≤ ì
information.è
.cp 6
ááAε alternatσ tracδ (ALTTRK⌐ bi⌠ oµ onσ indicate≤ tha⌠ par⌠ o≥ al∞ oµ thσ ì
translateΣ addres≤ i≤ locateΣ oε aε alternatσ tracδ oµ thσ mediuφ o≥ thσ ì
targe⌠ canno⌠ determinσ iµ al∞ o≥ par⌠ oµ thσ translateΣ addres≤ i≤ locateΣ oε ì
aε alternatσ track« Aε ALTTR╦ bi⌠ oµ zer∩ indicate≤ tha⌠ n∩ par⌠ oµ thσ ì
translateΣ addres≤ i≤ locateΣ oε aε alternatσ tracδ oµ thσ medium.
.cp 2
ááThσ translateΣ forma⌠ fielΣ contain≤ thσ valuσ froφ thσ SEN─ DIAGNOSTI├ ì
commanΣ translatσ forma⌠ fielΣ (seσ 8.3.1.1).
ááThσ translateΣ addres≤ fielΣ contain≤ thσ address(s⌐ thσ targe⌠ translateΣ ì
froφ thσ addres≤ supplieΣ b∙ thσ initiato≥ iε thσ SEN─ DIAGNOSTI├ command« ì
Thi≤ fielΣ shal∞ bσ iε thσ forma⌠ specifieΣ iε thσ translatσ forma⌠ field« Thσ ì
differen⌠ format≤ arσ describeΣ iε Table≤ ╕-8¼ ╕-╣ anΣ ╕-10« Iµ thσ logica∞ ì
blocδ forma⌠ i≤ specifieΣ thσ blocδ addres≤ shal∞ bσ iε thσ firs⌠ fou≥ byte≤ ì
oµ thσ fielΣ anΣ thσ remaininτ byte≤ shal∞ bσ se⌠ t∩ zero.
ááIµ thσ returneΣ datß i≤ iε thσ logica∞ blocδ o≥ physica∞ secto≥ forma⌠ anΣ ì
thσ addres≤ t∩ bσ translateΣ cover≤ morσ thaε onσ addres≤ afte≥ i⌠ ha≤ beeε ì
translateΣ (e.g.¼ accountinτ fo≥ speeΣ tolerancσ o≥ multiplσ physica∞ sector≤ ì
withiε ß singlσ logica∞ blocδ o≥ multiplσ logica∞ block≤ withiε ß singlσ ì
physica∞ sector⌐ thσ targe⌠ shal∞ returε al∞ possiblσ addresse≤ whicΦ arσ ì
containeΣ iε thσ areß specifieΣ b∙ thσ addres≤ t∩ bσ translated.
.cp 6
ááIµ thσ returneΣ datß i≤ iε byte≤ froφ inde° forma⌠ thσ targe⌠ shal∞ returε ß ì
pai≥ oµ translateΣ value≤ fo≥ eacΦ oµ thσ possiblσ addresse≤ whicΦ arσ ì
containeΣ iε thσ areß specifieΣ b∙ thσ addres≤ t∩ translatσ field« Oµ thσ ì
pai≥ oµ translateΣ value≤ returned¼ thσ firs⌠ indicate≤ thσ startinτ locatioε ì
anΣ thσ seconΣ thσ endinτ locatioε oµ thσ area.
.cp 5
.aw off
.pm 0
8.3.2. Log Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
direc⌠-acces≤ devices«
ááThσ loτ pagσ code≤ fo≥ direc⌠-acces≤ device≤ arσ defineΣ iε Tablσ ╕-44.
.aw off
.pm 0
.cp 15
Table 8-44: Log Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
.pm 4
.lm 16
.aw on
ááá01h Buffe≥ Ove≥-Run/Unde≥-Ruε Pagσ 7.3.2.1
ááá03h Erro≥ Counte≥ Pagσ (Read⌐ Pagσ 7.3.2.2
ááá05h Erro≥ Counte≥ Pagσ (Verify⌐ Pagσ 7.3.2.2
ááá02h Erro≥ Counte≥ Pagσ (Write⌐ Pagσ 7.3.2.2
ááá07h Las⌠ ε Erro≥ Event≤ Pagσ 7.3.2.3
ááá06h Noε-Mediuφ Erro≥ Pagσ 7.3.2.4
ááá00h SupporteΣ Loτ Page≤ 7.3.2.5
ááá04h Reserved
ááá08h - 2Fh ReserveΣ
ááá3Fh ReserveΣ
ááá30h - 3Eh Vendo≥-specifiπ pages
.aw off
==============================================================================
.aw on
.pm 3
.lm 1
è
.cp 10
.aw off
.pm 0
8.3.3. Mode Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
direc⌠-acces≤ devices«
ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
descripto≥ arσ describeΣ iε 7.3.3.
ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
Tablσ ╖-6▒ anΣ ╖-62)« Tablσ ╕-4╡ define≤ thi≤ fielΣ fo≥ direc⌠-acces≤ ì
devices.
.cp 33
.aw off
.pm 0
Table 8-45: Direct-Access Medium-Type Codes
==============================================================================
Code Value Medium Type
---------- ------------------------------------------------------------------
00h Default medium type (currently mounted medium type)
01h Flexible disk, single-sided; unspecified medium
02h Flexible disk, double-sided; unspecified medium
Flexible Disks
Diameter Bit Density Track Density Number Reference
mm (inch) Bits/Radian /mm (/inch) Of Sides Standard
---------- ----------- ------------- -------- ----------------
05h 200 (8.0) 6631 1.9 (48) 1 ANSI X3.73-1980
06h 200 (8.0) 6631 1.9 (48) 2 (Note 1)
09h 200 (8.0) 13262 1.9 (48) 1 None
0Ah 200 (8.0) 13262 1.9 (48) 2 ANSI X3.121-1984
0Dh 130 (5.25) 3979 1.9 (48) 1 ANSI X3.82-1980
12h 130 (5.25) 7958 1.9 (48) 2 ANSI X3.125-1985
16h 130 (5.25) 7958 3.8 (96) 2 ANSI X3.126-1986
1AΦ 13░ (5.25⌐ 1│26▓ 3.╕ (96⌐ ▓ IS╧ DI╙8630-1985
1Eh 90 (3.5) 7958 5.3 (135) 2 ANSI X3.137
(Note 2)
Direct-Access Magnetic Tapes
Width Density Reference
mm (inch) Tracks ftpmm (ftpi) Standard
----------- ------ ------------ -----------
40h 6.3 (0.25) 12 394 (10000⌐ Note 1
44h 6.3 (0.25) 24 394 (10000) Note 1
80h - FFh Vendor-Specific
All others Reserved
==============================================================================
.aw on
.pm 3
.cp 4
.lm 3
ááNOTES:
áá(1⌐ Seσ Appendi° ─ fo≥ additiona∞ standard≤ information.
áá(2⌐ Thi≤ standarΣ i≤ unde≥ development« Pleasσ contac⌠ thσ Secretaria⌠ fo≥ ì
áácurren⌠ informatioε oε statu≤ anΣ availability.
.lm 1
.cp 2
ááThσ devicσ specifiπ paramete≥ fielΣ (Tablσ ╕-46⌐ i≤ containeΣ iε thσ modσ ì
paramete≥ heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)« è
.aw off
.pm 0
.cp 10
Table 8-46: Devicσ Specifiπ Parameter
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
==============================================================================
ⁿ W╨ ⁿ Reserved ⁿ DPOFUA ⁿ ReserveΣ |
==============================================================================
.aw on
.pm 3
áá┴ writσ protec⌠ (WP⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ mediuφ i≤ writσ enabled« ì
┴ W╨ bi⌠ oµ onσ indicate≤ tha⌠ thσ mediuφ i≤ writσ protected.
ááWheε useΣ witΦ thσ MOD┼ SELEC╘ command¼ thσ DPOFU┴ bi⌠ i≤ no⌠ useΣ anΣ thσ ì
fielΣ i≤ reserved.
ááWheε useΣ witΦ thσ MOD┼ SENS┼ command¼ ß DPOFU┴ bi⌠ oµ zer∩ indicate≤ tha⌠ ì
thσ targe⌠ doe≤ no⌠ contaiε ß cachσ memory« ┴ DPOFU┴ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ thσ DP╧ anΣ FU┴ bits(seσ 8.2.6).
ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
(seσ Tablσ ╖-63)« Thi≤ fielΣ i≤ reserveΣ fo≥ direc⌠-acces≤ devices.
.cp 20
ááThσ modσ pagσ code≤ fo≥ direc⌠-acces≤ device≤ arσ showε iε Tablσ ╕-47.
.cp 25
.aw off
.pm 0
Table 8-47: Modσ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá08h Cachinτ Pagσ 8.3.3.1
ááá0Ah Contro∞ Modσ Pagσ 7.3.3.1
ááá02h Disconnec⌠-Reconnec⌠ Pagσ 7.3.3.2
ááá05h Flexiblσ Disδ Pagσ 8.3.3.2
ááá03Φ Forma⌠ Devicσ Pagσ 8.3.3.3
ááá0Bh Mediuφ Type≤ SupporteΣ Pagσ 8.3.3.4
ááá0Ch NotcΦ anΣ Partitioε Pagσ 8.3.3.5
ááá09h Periphera∞ Devicσ Pagσ 7.3.3.3
ááá01h ReaΣ-Writσ Erro≥ Recover∙ Pagσ 8.3.3.6
ááá04h RigiΣ Disδ Geometr∙ Pagσ 8.3.3.7
ááá07h Verif∙ Erro≥ Recover∙ Pagσ 8.3.3.8
ááá00h Vendo≥-Specifiπ (doe≤ no⌠ requirσ pagσ format)
ááá06h Reserved
0Dh - 1Fh Reserved
ááá3Fh Returε al∞ page≤ (valiΣ onl∙ fo≥ thσ MOD┼ SENS┼ command)
20h - 3Eh Vendo≥-specifiπ
==============================================================================
.aw on
.pm 3
.lm 1
.cp 7èááFo≥ direc⌠-acces≤ devices¼ iµ thσ notcΦ pagσ i≤ no⌠ supported¼ o≥ iµ thσ ì
activσ notcΦ fielΣ iε thσ notcΦ pagσ i≤ zer∩ theε eacΦ pagσ descripto≥ ì
specifie≤ modσ parameter≤ fo≥ thσ targe⌠ t∩ usσ fo≥ subsequen⌠ operation≤ oε ì
thσ specifieΣ logica∞ unit« Iµ thσ notcΦ pagσ i≤ supported¼ anΣ thσ activσ ì
notcΦ i≤ no⌠ zero¼ theε eacΦ pagσ descripto≥ specifie≤ parameter≤ fo≥ thσ ì
targe⌠ t∩ usσ fo≥ subsequen⌠ operation≤ oε thσ disδ notcΦ specifieΣ b∙ thσ ì
curren⌠ valuσ oµ thσ activσ notcΦ fielΣ oε thσ specifieΣ logica∞ unit.
.cp 25
.aw off
.pm 0
8.3.3.1. Caching Pagσ
Table 8-48: Caching Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (08h⌐ |
-----|-----------------------------------------------------------------------|
1 | Page Length (0Ah⌐ |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ ⁿ WCE | MF | RCD |
-----|-----------------------------------------------------------------------|
3 | Demand Read Retention Priority | Write Retention Priority |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Disable Pre-fetch Transfer Length ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Minimum Pre-fetch ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
-----|--- Maximum Pre-fetch ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Maximum Pre-fetch Ceiling ---|
11 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ cachinτ parameter≤ pagσ (Tablσ ╕-48⌐ define≤ thσ parameter≤ tha⌠ affec⌠ ì
thσ usσ oµ thσ cache.
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 6èáá┴ writσ cachσ enablσ (WCE⌐ bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ shal∞ ì
returε GOO─ statu≤ fo≥ ß WRIT┼ commanΣ afte≥ successfull∙ writinτ al∞ oµ thσ ì
datß t∩ thσ medium« ┴ WC┼ bi⌠ oµ onσ specifie≤ tha⌠ thσ targe⌠ ma∙ returε ì
GOO─ statu≤ fo≥ ß WRIT┼ commanΣ afte≥ successfull∙ receivinτ thσ datß anΣ ì
prio≥ t∩ havinτ successfull∙ writteε i⌠ t∩ thσ medium.
.cp 8
áá┴ multiplicatioε facto≥ (MF⌐ bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ shal∞ ì
interpre⌠ thσ minimuφ anΣ maximuφ prσ-fetcΦ field≤ iε term≤ oµ thσ numbe≥ oµ ì
logica∞ block≤ fo≥ eacΦ oµ thσ respectivσ type≤ oµ prσ-fetch« Aε M╞ bi⌠ oµ ì
onσ specifie≤ tha⌠ thσ targe⌠ shal∞ interpre⌠ thσ minimuφ anΣ maximuφ prσ-ì
fetcΦ field≤ t∩ bσ specifieΣ iε term≤ oµ ß scala≥ numbe≥ which¼ wheε ì
multiplieΣ b∙ thσ numbe≥ oµ logica∞ block≤ t∩ bσ transferreΣ fo≥ thσ curren⌠ ì
command¼ yield≤ thσ numbe≥ oµ logica∞ block≤ fo≥ eacΦ oµ thσ respectivσ type≤ ì
oµ prσ-fetch.
.cp 5
áá┴ reaΣ cachσ disablσ (RCD⌐ bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ ma∙ returε ì
datß requesteΣ b∙ ß REA─ commanΣ b∙ accessinτ eithe≥ thσ cachσ o≥ media« ┴ ì
RC─ bi⌠ oµ onσ specifie≤ tha⌠ thσ targe⌠ shal∞ transfe≥ al∞ oµ thσ datß ì
requesteΣ b∙ ß REA─ commanΣ froφ thσ mediuφ (i.e.¼ datß canno⌠ bσ transferreΣ ì
froφ thσ cache).
ááThσ demanΣ reaΣ retentioε priorit∙ fielΣ (seσ Tablσ ╕-48⌐ advise≤ thσ targe⌠ ì
oε thσ retentioε priorit∙ t∩ assigε datß reaΣ int∩ thσ cachσ tha⌠ ha≤ als∩ ì
beeε transferreΣ froφ thσ targe⌠ t∩ thσ initiator.
ááThσ writσ retentioε priorit∙ fielΣ (seσ Tablσ ╕-48⌐ advise≤ thσ targe⌠ oε ì
thσ retentioε priorit∙ t∩ assigε datß writteε int∩ thσ cachσ tha⌠ ha≤ als∩ ì
beeε transferreΣ froφ thσ cachσ memor∙ t∩ thσ medium.
.cp 32è.aw off
.pm 0
Table 8-49: DemanΣ ReaΣ anΣ Writσ Retentioε Priority
==============================================================================
Value Description
------¡ -------------------------------------------------------------------
.aw on
.pm3
.lm12
áá0h Indicate≤ thσ targe⌠ shoulΣ no⌠ distinguisΦ betweeε retaininτ thσ ì
áááááááááááindicateΣ datß anΣ datß placeΣ int∩ thσ cachσ memor∙ b∙ othe≥ mean≤ ì
ááááááááááá(e.g.¼ prσ-fetch).
áá1h DemanΣ ReaΣ Retentioε Priority║ Datß pu⌠ int∩ thσ cachσ viß ß REA─ ì
ááááááááááácommanΣ shoulΣ bσ replaceΣ soone≥ (ha≤ lowe≥ priority⌐ thaε datß ì
áááááááááááplaceΣ int∩ thσ cachσ b∙ othe≥ mean≤ (e.g.¼ prσ-fetch).
áá Writσ Retentioε Priority║ Datß pu⌠ int∩ thσ cachσ durinτ ß WRIT┼ ì
áááááááááááo≥ WRIT┼ AN─ VERIF┘ commanΣ shoulΣ bσ replaceΣ soone≥ (ha≤ lowe≥ ì
ááááááááááápriority⌐ thaε datß placeΣ int∩ thσ cachσ b∙ othe≥ mean≤ (e.g.¼ ì
áááááááááááprσ-fetch).
ááFh DemanΣ ReaΣ Retentioε Priority║ Datß pu⌠ int∩ thσ cachσ viß ß REA─ ì
ááááááááááácommanΣ shoulΣ no⌠ bσ replaceΣ iµ therσ i≤ othe≥ datß iε thσ cachσ ì
ááááááááááátha⌠ wa≤ placeΣ int∩ thσ cachσ b∙ othe≥ mean≤ (e.g.¼ prσ-fetch⌐ anΣ ì
ááááááááááái⌠ ma∙ bσ replaceΣ (i.e.¼ i⌠ i≤ no⌠ locked).
áá Writσ Retentioε Priority║ Datß pu⌠ int∩ thσ cachσ durinτ ß WRIT┼ ì
áááááááááááo≥ WRIT┼ AN─ VERIF┘ commanΣ shoulΣ no⌠ bσ replaceΣ iµ therσ i≤ ì
áááááááááááothe≥ datß iε thσ cachσ tha⌠ wa≤ placeΣ int∩ thσ cachσ b∙ othe≥ ì
ááááááááááámean≤ (e.g.¼ prσ-fetch⌐ anΣ i⌠ ma∙ bσ replaceΣ (i.e.¼ i⌠ i≤ no⌠ ì
ááááááááááálocked).
áá2h-Eh Reserved
.aw off
.lm1
.pm0
==============================================================================
.aw on
.pm 3
.lm1
.cp 7
ááAε anticipator∙ prσ-fetcΦ occur≤ wheε datß i≤ placeΣ iε thσ cachσ tha⌠ ha≤ ì
no⌠ beeε requested« Thi≤ usuall∙ happen≤ iε conjunctioε witΦ thσ readinτ oµ ì
datß tha⌠ ha≤ beeε requested« Al∞ thσ followinτ parameter≤ givσ aε indicatioε ì
t∩ thσ targe⌠ ho≈ i⌠ shoulΣ managσ thσ cachσ baseΣ oε thσ las⌠ REA─ command« ì
Aε anticipator∙ prσ-fetcΦ ma∙ occu≥ baseΣ oε othe≥ information« Al∞ thσ ì
remaininτ cachinτ parameter≤ arσ onl∙ recommendation≤ t∩ thσ targe⌠ anΣ shoulΣ ì
no⌠ causσ ß CHEC╦ CONDITIO╬ t∩ occu≥ iµ thσ targe⌠ canno⌠ satisf∙ thσ request.
.cp 9
ááThσ disablσ prσ-fetcΦ transfe≥ lengtΦ fielΣ specifie≤ thσ selectivσ ì
disablinτ oµ anticipator∙ prσ-fetcΦ oε lonτ transfe≥ lengths« Thσ valuσ iε ì
thi≤ fielΣ i≤ compareΣ t∩ thσ numbe≥ oµ block≤ requesteΣ b∙ thσ curren⌠ REA─ ì
command« Iµ thσ numbe≥ oµ block≤ i≤ greate≥ thaε thσ disablσ prσ-fetcΦ ì
transfe≥ length¼ theε aε anticipator∙ prσ-fetcΦ i≤ no⌠ donσ fo≥ thσ command« ì
Otherwisσ thσ targe⌠ shoulΣ attemp⌠ aε anticipator∙ prσ-fetch« Iµ thσ prσ-ì
fetcΦ disablσ transfe≥ lengtΦ i≤ se⌠ t∩ zero¼ theε al∞ anticipator∙ prσ-ì
fetchinτ i≤ disableΣ fo≥ an∙ reques⌠ fo≥ data¼ includinτ thosσ fo≥ zer∩ ì
logica∞ blocks.
.cp 6èááThσ minimuφ prσ-fetcΦ fielΣ specifie≤ eithe≥ ß numbe≥ oµ block≤ o≥ ß scala≥ ì
multiplie≥ oµ thσ transfe≥ length¼ dependinτ upoε thσ settinτ oµ thσ M╞ bit« ì
Iε eithe≥ case¼ thσ resultinτ numbe≥ oµ block≤ i≤ thσ numbe≥ t∩ prσ-fetcΦ ì
regardles≤ oµ thσ delay≤ i⌠ migh⌠ causσ iε executinτ subsequen⌠ commands.
ááThσ prσ-fetchinτ operatioε begin≤ a⌠ thσ logica∞ blocδ immediatel∙ afte≥ thσ ì
las⌠ logica∞ blocδ oµ thσ previou≤ REA─ command« Prσ-fetchinτ shal∞ alway≤ ì
hal⌠ beforσ thσ enΣ oµ thσ media« Error≤ tha⌠ occu≥ durinτ thσ prσ-fetchinτ ì
operatioε shal∞ no⌠ bσ reporteΣ t∩ thσ initiato≥ unles≤ tha⌠ targe⌠ cannot¼ a≤ ì
ß resul⌠ oµ thσ error¼ executσ subsequen⌠ command≤ correctly« Iε thi≤ casσ ì
thσ erro≥ ma∙ bσ reporteΣ eithe≥ immediatel∙ a≤ aε erro≥ fo≥ thσ curren⌠ REA─ ì
command¼ o≥ a≤ ß deferreΣ error¼ a⌠ thσ discretioε oµ thσ targe⌠ anΣ accordinτ ì
t∩ thσ rule≤ fo≥ reportinτ deferreΣ errors.
áá┴ minimuφ prσ-fetcΦ fielΣ oµ zer∩ indicate≤ tha⌠ prσ-fetchinτ shoulΣ bσ ì
terminateΣ wheneve≥ anothe≥ commanΣ i≤ read∙ fo≥ executing« Thi≤ ì
consideratioε i≤ ignoreΣ wheε thσ minimuφ prσ-fetcΦ i≤ equa∞ t∩ thσ maximuφ ì
prσ-fetch.
ááThσ maximuφ prσ-fetcΦ fielΣ specifie≤ eithe≥ ß numbe≥ oµ block≤ o≥ ß scala≥ ì
multiplie≥ oµ thσ transfe≥ length¼ dependinτ upoε thσ settinτ oµ thσ M╞ bit« ì
Iε eithe≥ case¼ thσ resultinτ numbe≥ oµ block≤ i≤ thσ numbe≥ t∩ prσ-fetcΦ iµ ì
therσ arσ n∩ delay≤ iε executinτ subsequen⌠ commands.
.cp 5
ááThσ maximuφ prσ-fetcΦ fielΣ contain≤ thσ maximuφ amoun⌠ oµ datß t∩ prσ-fetcΦ ì
int∩ thσ cachσ a≤ ß resul⌠ oµ onσ REA─ command« I⌠ i≤ useΣ iε conjunctioε ì
witΦ thσ disablσ prσ-fetcΦ transfe≥ lengtΦ anΣ maximuφ prσ-fetcΦ ceilinτ ì
parameter≤ t∩ tradσ ofµ prσ-fetchinτ ne≈ datß witΦ displacinτ olΣ datß alread∙ ì
storeΣ iε thσ cache.
.cp 5
ááThσ maximuφ prσ-fetcΦ ceilinτ fielΣ specifie≤ aε uppe≥ limi⌠ oε thσ numbe≥ ì
oµ logica∞ block≤ computeΣ a≤ thσ maximuφ prσ-fetch« Iµ thi≤ numbe≥ oµ block≤ ì
i≤ greate≥ thaε thσ maximuφ prσ-fetcΦ ceiling¼ theε thσ numbe≥ oµ logica∞ ì
block≤ t∩ maximall∙ prσ-fetcΦ shal∞ bσ truncateΣ t∩ thσ valuσ storeΣ iε thσ ì
ceilinτ field.
.cp 2
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ thσ M╞ bi⌠ i≤ onσ thσ maximuφ prσ-fetcΦ ceilinτ fielΣ ì
áái≤ usefu∞ iε limitinτ thσ amoun⌠ oµ datß t∩ bσ prσ-fetched.
.lm 1
.cp 48è.aw off
.pm 0
8.3.3.2. Flexible Disk Page
Table 8-50: Flexible Disk Page (Byte≤ 0¡19)
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Bytσ | | | | | | | ⁿ |
==============================================================================
░ ⁿ P╙ |Reserved| Page Code (05h) |
-----|-----------------------------------------------------------------------|
▒ ⁿ Pagσ LengtΦ iε Byte≤ (1Eh) |
-----|-----------------------------------------------------------------------|
▓ | (MSB) |
-----|--- Transfer Rate ---|
3 | (LSB)|
-----|-+---------------------------------------------------------------------|
4 | Number of Heads |
-----|-----------------------------------------------------------------------|
5 | Sectors per Track |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Data Bytes per Sector ----|
7 | (LSB)|
-----|-+---------------------------------------------------------------------|
8 | (MSB) |
-----|--- Number of Cylinder≤ ---|
9 | (LSB)|
---¡-|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Starting Cylinder-Write Precompensation |
11 | (LSB)|
-----|-+--------------------------------------------------------------------|
12 | (MSB) |
-----|--- Starting Cylinder-Reduced Write Current |
13 | (LSB)|
-----|-----------------------------------------------------------------------|
14 | (MSB) |
-----|--- Drive Step Ratσ ---|
15 | (LSB)|
-----|-+---------------------------------------------------------------------|
▒6 | Drive Step Pulse Width |
-----|-----------------------------------------------------------------------|
17 | (MSB) |
-----|--- Head Settle Delay ---|
18 | (LSB)|
-----|-----------------------------------------------------------------------|
19 | Motor on Delay |
==============================================================================
.aw on
.pm 3
ááThσ definitioε oµ thi≤ pagσ i≤ continued.
.cp 30è.aw off
.pm 0
Table 8-51: Flexible Disk Page (Byte≤ 20-31)
==============================================================================
Bi⌠ | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Bytσ | | | | | | | | |
==============================================================================
20 | Motor off Delay |
-----|------------------------------------------------¡----------------------|
▓1 | TRDY | SSN | MO | Reserved |
-----|-----------------------------------------------------------------------|
22 | Reserved | SPC |
¡----|-----------------------------------------------------------------------|
23 | Write Compensation |
-----|-----------------------------------------------------------------------|
24 | Head Load Delay |
-----|-----------------------------------------------------------------------|
▓5 | Head Unload Delay |
-----|-----------------------------------------------------------------------|
26 | Pin 34 | Pin 2 |
-----|-----------------------------------------------------------------------|
27 | Pin 4 | Piε ▒ |
-----|-+---------------------------------------------------------------------|
28 | (MSB) |
-----|¡-- Mediuφ Rotatioε Ratσ ¡--|
29 | (LSB) |
-----|-----------------------------------------------------------------------|
30 | Reserved |
-----|-----------------------------------------------------------------------|
31 | Reserved |
==============================================================================
.aw on
.pm 3
ááThσ flexiblσ disδ pagσ (Table≤ ╕-5░ anΣ ╕-51⌐ contain≤ parameter≤ fo≥ ì
contro∞ anΣ reportinτ oµ flexiblσ disδ drivσ parameters.
ááThi≤ pagσ i≤ 3▓ byte≤ iε length« Byte≤ ░-1╣ arσ defineΣ iε Tablσ ╕-4╣ anΣ ì
byte≤ 2░-3▒ arσ defineΣ iε Tablσ ╕-50.
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thi≤ pagσ i≤ mainl∙ intendeΣ fo≥ defininτ parameter≤ oµ ì
ááflexiblσ disδ drives¼ bu⌠ ma∙ bσ useΣ fo≥ othe≥ devices¼ iµ applicable.
.lm 1
ááThσ transfe≥ ratσ indicate≤ iε kilobit≤ pe≥ seconΣ thσ datß ratσ oµ thσ ì
periphera∞ device.
.cp 15è.aw off
.pm 0
Commoε Transfer Rates
------------------------------------------
MS┬ LSB DESCRIPTION OF TRANSFER RATE
--¡ --- ------------------------------
00h FAh 250 kbit/second transfer rate
01h 2Ch 300 kbit/second transfer rate
01h F4h 500 kbit/second transfer rate
03h E8h 1 megabit/second transfer rate
07h D0h 2 megabit/second transfer rate
13h 88h 5 megabit/second transfer rate
------------------------------------------
.aw on
.pm 3
ááThσ numbe≥ oµ head≤ fielΣ specifie≤ thσ numbe≥ oµ head≤ useΣ fo≥ readinτ anΣ ì
writinτ datß oε thσ medium« Head≤ useΣ exclusivel∙ fo≥ serv∩ informatioε arσ ì
excluded.
ááThσ sector≤ pe≥ tracδ fielΣ specifie≤ thσ numbe≥ oµ sector≤ pe≥ revolutioε ì
pe≥ head.
ááThσ datß byte≤ pe≥ secto≥ fielΣ specifie≤ thσ numbe≥ oµ byte≤ oµ datß pe≥ ì
secto≥ tha⌠ aε initiato≥ caε reaΣ o≥ write.
ááThσ numbe≥ oµ cylinder≤ fielΣ specifie≤ thσ numbe≥ oµ cylinder≤ useΣ fo≥ ì
datß storage«
.cp 5
ááThσ startinτ cylinde≥ fo≥ writσ precompensatioε fielΣ specifie≤ thσ cylinde≥ ì
a⌠ whicΦ writσ precompensatioε i≤ t∩ begin« Cylinder≤ arσ numbereΣ startinτ ì
witΦ zero« Iµ thσ startinτ cylinde≥ fo≥ writσ precompensatioε i≤ equa∞ t∩ thσ ì
valuσ iε thσ numbe≥ oµ cylinder≤ field¼ writσ precompensatioε shal∞ bσ ì
disableΣ b∙ thσ target«
ááThσ startinτ cylinde≥ fo≥ reduceΣ writσ curren⌠ fielΣ specifie≤ cylinde≥ a⌠ ì
whicΦ writσ curren⌠ i≤ reduced« Cylinder≤ arσ numbereΣ startinτ witΦ zero« ì
Iµ thσ startinτ cylinde≥ fo≥ reduceΣ writσ curren⌠ i≤ equa∞ t∩ thσ valuσ iε ì
thσ numbe≥ oµ cylinder≤ field¼ reduceΣ writσ curren⌠ shal∞ bσ disableΣ b∙ thσ ì
target«
ááThσ drivσ ste≡ ratσ fielΣ specifie≤ thσ ste≡ ratσ iε unit≤ oµ 10░ ì
microseconds« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« ┴ valuσ oµ zer∩ ì
request≤ thσ targe⌠ t∩ se⌠ it≤ defaul⌠ value.
ááThσ drivσ ste≡ pulsσ widtΦ fielΣ specifie≤ thσ widtΦ oµ thσ ste≡ pulsσ iε ì
microseconds« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« ┴ valuσ oµ zer∩ ì
request≤ thσ targe⌠ t∩ se⌠ it≤ defaul⌠ value.
.cp 3
ááThσ heaΣ settlσ dela∙ fielΣ specifie≤ thσ heaΣ settlσ timσ iε unit≤ oµ 10░ ì
microseconds« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« ┴ valuσ oµ zer∩ ì
request≤ thσ targe⌠ t∩ se⌠ it≤ defaul⌠ value.
.cp 6
ááIµ ß truσ read∙ signa∞ i≤ no⌠ available¼ thσ moto≥ oε dela∙ fielΣ specifie≤ ì
iε tenth≤ oµ ß seconΣ thσ timσ tha⌠ thσ targe⌠ shal∞ wai⌠ beforσ attemptinτ t∩ ì
acces≤ thσ mediuφ afte≥ thσ moto≥ oε signa∞ i≤ asserted« Iµ ß truσ read∙ ì
signa∞ i≤ available¼ thσ moto≥ oε dela∙ fielΣ specifie≤ iε tenth≤ oµ ß seconΣ ì
thσ timσ tha⌠ thσ targe⌠ shal∞ wai⌠ fo≥ drivσ read∙ statu≤ beforσ abortinτ aε ì
attemp⌠ t∩ acces≤ thσ medium« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« è
.cp 5
ááThσ moto≥ ofµ dela∙ fielΣ specifie≤ iε tenth≤ oµ ß seconΣ thσ timσ tha⌠ thσ ì
targe⌠ shal∞ wai⌠ beforσ releasinτ thσ moto≥ oε signa∞ afte≥ aε idlσ conditioε ì
exists« ┴ valuσ oµ FFΦ indicate≤ tha⌠ thσ moto≥ oε signa∞ shal∞ no⌠ bσ ì
released« Thσ STAR╘ STO╨ UNI╘ commanΣ i≤ no⌠ affecteΣ b∙ thi≤ parameter« Thi≤ ì
valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4«
.cp 2
áá┴ truσ read∙ (TRDY⌐ bi⌠ oµ onσ specifie≤ tha⌠ ß signa∞ i≤ provideΣ tha⌠ ì
indicate≤ thσ mediuφ i≤ read∙ t∩ bσ accessed.
áá┴ star⌠ secto≥ numbe≥ (SSN⌐ bi⌠ oµ onσ specifie≤ tha⌠ sector≤ arσ numbereΣ ì
startinτ witΦ one« Aε SS╬ bi⌠ oµ zer∩ specifie≤ tha⌠ sector≤ arσ numbereΣ ì
startinτ witΦ zero.
.cp 4
áá┴ moto≥ oε (MO⌐ bi⌠ oµ onσ specifie≤ tha⌠ piε 1╢ (moto≥ on⌐ shal∞ remaiε ì
released« Thi≤ bi⌠ shal∞ bσ se⌠ t∩ onσ wheε usinτ higΦ capacit∙ (19▓ track≤ ì
pe≥ inch⌐ drive≤ anΣ thei≥ prσ-formatteΣ diskettes« Aε M╧ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ piε 1╢ (moto≥ on⌐ shal∞ bσ asserted.
.cp 5
ááThσ ste≡ pulsσ pe≥ cylinde≥ (SPC⌐ fielΣ i≤ useΣ t∩ specif∙ thσ numbe≥ oµ ì
additiona∞ ste≡ pulse≤ requireΣ pe≥ cylinder« Noε-zer∩ value≤ allo≈ ß drivσ ì
t∩ reaΣ ß diskettσ formatteΣ oε ß drivσ witΦ ß lowe≥ numbe≥ oµ track≤ pe≥ ì
inch« Fo≥ example¼ ß valuσ oµ onσ allow≤ ß 9╢ tracδ-pe≥-incΦ drivσ t∩ acces≤ ì
track≤ oε ß diskettσ tha⌠ wa≤ formatteΣ fo≥ 4╕ track≤ pe≥ inch.
ááThσ writσ compensatioε fielΣ i≤ useΣ t∩ specif∙ thσ amoun⌠ oµ writσ ì
compensatioε t∩ bσ useΣ startinτ a⌠ thσ cylinde≥ specifieΣ iε thσ startinτ ì
cylinde≥ fo≥ writσ precompensatioε field« Thσ correlatioε oµ an∙ value≤ useΣ ì
iε thi≤ fielΣ t∩ actua∞ writσ precompensatioε timσ value≤ i≤ vendo≥-specific« ì
Iµ ß zer∩ i≤ specifieΣ iε thi≤ fielΣ thσ targe⌠ shal∞ usσ it≤ defaul⌠ writσ ì
precompensatioε value« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4«
ááThσ heaΣ loaΣ dela∙ fielΣ specifie≤ thσ heaΣ loadinτ timσ iε milliseconds« ì
Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« ┴ valuσ oµ zer∩ request≤ thσ ì
targe⌠ t∩ se⌠ it≤ defaul⌠ value.
ááThσ heaΣ unloaΣ dela∙ fielΣ specifie≤ thσ heaΣ unloadinτ timσ iε ì
milliseconds« Thi≤ valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« ┴ valuσ oµ zer∩ ì
request≤ thσ targe⌠ t∩ se⌠ it≤ defaul⌠ value.
ááThσ Piε 3┤ fielΣ define≤ thσ usagσ oµ piε 3┤ oµ thσ flexiblσ disδ drivσ ì
interface« Thi≤ usσ oµ thi≤ piε varie≤ amonτ vendor≤ anΣ drives« Thσ ì
followinτ setting≤ allo≈ thσ initiato≥ t∩ selec⌠ ho≈ piε 3┤ shal∞ bσ useΣ b∙ ì
thσ interface.
.cp 15è.pm 0
.aw off
Bit 7 6 5 ┤ Piε 3┤ Use
------------------¡ -------------------------
P 0 0 0 Open
P 0 0 1 Ready
P 0 1 0 Disk Changed
P 0 1 1 Reserved
P 1 X X ReserveΣ ¡ X is 0 or 1
|
|
+----- Polarity Bit - "0" - Active Low
"1" - Active High
.aw on
.pm 3
ááThσ Piε ┤ fielΣ define≤ thσ usagσ oµ piε ┤ oµ thσ flexiblσ disδ drivσ ì
interface« Thi≤ usσ oµ thi≤ piε varie≤ amonτ drivσ vendor≤ anΣ drives« Thσ ì
followinτ setting≤ allo≈ thσ initiato≥ t∩ specif∙ ho≈ piε ┤ shal∞ bσ useΣ b∙ ì
thσ interface.
.cp 15
.aw off
.pm 0
BIT 7 6 5 ┤ Piε ┤ Use
------------------¡ --------------------------
P 0 0 0 Open
P 0 0 1 In Use
P 0 1 0 Eject
P 0 1 1 Head Load
P 1 X X Reserved - X is "0" or "1"
|
|
+----- Polarity Bit - "0" - Active Low
"1" - Active High
.aw on
.pm 3
ááThσ Piε ▒ fielΣ define≤ thσ usagσ oµ piε ▒ oµ thσ flexiblσ disδ drivσ ì
interface« Thi≤ usσ oµ thi≤ piε varie≤ amonτ vendor≤ anΣ drives« Thσ ì
followinτ setting≤ allo≈ thσ initiato≥ t∩ specif∙ ho≈ piε ▒ shal∞ bσ useΣ b∙ ì
thσ interface.
.cp 15
.aw off
.pm 0
Bit 3 2 1 ░ Piε ▒ Use
------------------¡ ------------------------
P 0 0 0 Opeε (Piε ▒ i≤ no⌠ used)
P 0 0 1 Disδ Changσ Reset
P 0 1 X Reserved
P 1 X X Reserved
|
|
+----- Polarity Bit - "0" - Active Low
"1" ¡ Active High
.aw on
.pm 3
.cp 3
ááThσ mediuφ rotatioε ratσ fielΣ specifie≤ thσ speeΣ a⌠ whicΦ thσ mediuφ ì
rotates« Thσ uni⌠ oµ measurσ i≤ rotation≤ pe≥ minutσ (e.g.¼ 240░ rpm)« Thi≤ ì
fielΣ canno⌠ bσ changeΣ b∙ ß MOD┼ SELEC╘ command.
.cp 54è.aw off
.pm 0
8.3.3.3. Format Devicσ Page
Table 8-52: Format Devicσ Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (03h) |
-----|-----------------------------------------------------------------------|
1 | Page Length (16h) |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Tracks per Zone ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Alternate Sectors per Zone ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Alternate Tracks per Zone ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
-----|--- Alternate Tracks per Logica∞ Uni⌠ ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Sectors per Track ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | (MSB) |
-----|--- Data Bytes per Physical Secto≥ ---|
13 | (LSB) |
-----|-----------------------------------------------------------------------|
14 | (MSB) |
-----|--- Interleave ---|
15 | (LSB) |
-----|-----------------------------------------------------------------------|
16 | (MSB) |
-----|--- Track Skew Factor ---|
17 | (LSB) |
-----|-----------------------------------------------------------------------|
18 | (MSB) |
-----|--- Cylinder Skew Factor ---|
19 | (LSB) |
-----|-----------------------------------------------------------------------|
20 | SSE├ ⁿ HSE├ ⁿ RM┬ ⁿ SUR╞ ⁿ ReserveΣ |
-----|-----------------------------------------------------------------------|
21 | |
¡ ¡ -|¡ ¡ ReserveΣ ¡ -|
23 | |
==============================================================================
.aw on
.pm 3
è.cp 3
ááThσ forma⌠ devicσ pagσ (Tablσ ╕-52⌐ contain≤ parameter≤ whicΦ specif∙ thσ ì
mediuφ format.
.cp 4
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ thσ initiato≥ change≤ an∙ oµ thσ curren⌠ physica∞ ì
ááparameter≤ defineΣ below¼ thσ targe⌠ ma∙ no⌠ bσ ablσ t∩ acces≤ thσ mediß ì
ááunti∞ ß FORMA╘ UNI╘ commanΣ ha≤ beeε successfull∙ completed.
.lm 1
ááIµ thσ defec⌠ handlinτ forma⌠ parameter≤ (track≤ pe≥ zone¼ alternatσ sector≤ ì
pe≥ zone¼ alternatσ track≤ pe≥ zonσ anΣ alternatσ track≤ pe≥ logica∞ unit⌐ ì
requesteΣ b∙ thσ initiato≥ arσ no⌠ supporteΣ b∙ thσ targe⌠ thσ targe⌠ ma∙ ì
rounΣ thesσ field≤ t∩ acceptablσ value≤ a≤ describeΣ iε 6.5.4«
ááThσ track≤ pe≥ zonσ fielΣ specifie≤ thσ numbe≥ oµ track≤ pe≥ zonσ t∩ usσ iε ì
dividinτ thσ capacit∙ oµ thσ devicσ fo≥ thσ purposσ oµ allocatinτ alternatσ ì
sectors« ┴ valuσ oµ zer∩ mean≤ tha⌠ onσ zonσ i≤ defineΣ fo≥ thσ entirσ ì
device« Thσ las⌠ zonσ oε thσ devicσ migh⌠ no⌠ contaiε thσ samσ numbe≥ oµ ì
track≤ a≤ thσ previou≤ zone(s)«
ááThσ alternatσ sector≤ pe≥ zonσ fielΣ specifie≤ thσ numbe≥ oµ sector≤ pe≥ ì
zonσ thσ targe⌠ shal∞ reservσ fo≥ defec⌠ handling« Thσ targe⌠ shal∞ dσ-ì
allocatσ thesσ sector≤ froφ thσ initiato≥ addressablσ block≤ durinτ thσ FORMA╘ ì
UNI╘ command« Iµ thσ notcΦ pagσ i≤ implementeΣ anΣ thσ N─ bi⌠ oµ thσ notcΦ ì
pagσ i≤ onσ anΣ thσ activσ notcΦ fielΣ oµ thσ notcΦ pagσ i≤ zero¼ theε ß valuσ ì
oµ zer∩ indicate≤ tha⌠ n∩ alternatσ sector≤ shal∞ bσ reserved« Otherwise¼ ß ì
valuσ oµ zer∩ indicate≤ tha⌠ thσ numbe≥ oµ alternatσ sector≤ i≤ targe⌠ ì
specific.
ááThσ alternatσ track≤ pe≥ zonσ fielΣ specifie≤ thσ numbe≥ oµ track≤ pe≥ zonσ ì
thσ targe⌠ shal∞ reservσ fo≥ defec⌠ handling« Thσ targe⌠ shal∞ dσ-allocatσ ì
thesσ track≤ froφ thσ initiato≥ addressablσ block≤ durinτ thσ FORMA╘ UNI╘ ì
command« Iµ thσ notcΦ pagσ i≤ implementeΣ anΣ thσ N─ bi⌠ oµ thσ notcΦ pagσ i≤ ì
onσ anΣ thσ activσ notcΦ fielΣ oµ thσ notcΦ pagσ i≤ zero¼ theε ß valuσ oµ zer∩ ì
indicate≤ tha⌠ n∩ alternatσ track≤ shal∞ bσ reserved« Otherwise¼ ß valuσ oµ ì
zer∩ indicate≤ tha⌠ thσ numbe≥ oµ alternatσ track≤ i≤ targe⌠ specific.
.cp 8
ááThσ alternatσ track≤ pe≥ logica∞ uni⌠ fielΣ specifie≤ thσ numbe≥ oµ track≤ ì
pe≥ logica∞ uni⌠ thσ targe⌠ shal∞ reservσ fo≥ defec⌠ handling« Thσ targe⌠ ì
shal∞ dσ-allocatσ thesσ track≤ froφ thσ initiato≥ addressablσ block≤ durinτ ì
thσ FORMA╘ UNI╘ command« Iµ thσ notcΦ pagσ i≤ implementeΣ anΣ thσ N─ bi⌠ oµ ì
thσ notcΦ pagσ i≤ onσ anΣ thσ activσ notcΦ fielΣ oµ thσ notcΦ pagσ i≤ zero¼ ì
theε ß valuσ oµ zer∩ indicate≤ tha⌠ n∩ alternatσ track≤ shal∞ bσ reserved« ì
Otherwise¼ ß valuσ oµ zer∩ indicate≤ tha⌠ thσ numbe≥ oµ alternatσ track≤ i≤ ì
targe⌠ specific.
.cp 7èááThσ sector≤ pe≥ tracδ fielΣ specifie≤ thσ numbe≥ oµ physica∞ sector≤ ì
includeΣ withiε eacΦ track« Thi≤ numbe≥ include≤ an∙ alternatσ sector≤ thσ ì
targe⌠ ma∙ allocate« ┴ valuσ oµ zer∩ durinτ MOD┼ SELEC╘ indicate≤ tha⌠ thσ ì
targe⌠ shal∞ definσ thσ numbe≥ oµ sector≤ pe≥ track« Fo≥ device≤ witΦ ß ì
variablσ numbe≥ oµ sector≤ pe≥ track¼ thσ valuσ iε MOD┼ SELEC╘ shal∞ bσ zer∩ ì
anΣ thσ valuσ reporteΣ iε MOD┼ SENS┼ fo≥ thσ numbe≥ oµ sector≤ pe≥ tracδ i≤ ì
vendo≥-specific.
.cp 7
ááThσ datß byte≤ pe≥ physica∞ secto≥ fielΣ specifie≤ thσ numbe≥ oµ datß byte≤ ì
pe≥ physica∞ secto≥ tha⌠ thσ targe⌠ shal∞ use« Thi≤ valuσ ma∙ bσ differen⌠ ì
thaε thσ logica∞ blocδ sizσ reporteΣ iε thσ MOD┼ SELEC╘ data« Thσ targe⌠ ì
shal∞ returε CHEC╦ CONDITIO╬ statu≤ iµ i⌠ determine≤ tha⌠ thσ combinatioε oµ ì
thi≤ fielΣ anΣ thσ sector≤ pe≥ tracδ fielΣ exceeΣ thσ capabilit∙ oµ thσ ì
medium« ┴ valuσ oµ zer∩ indicate≤ tha⌠ thσ datß byte≤ pe≥ physica∞ secto≥ i≤ ì
defineΣ b∙ thσ target.
.cp 3
ááFo≥ MOD┼ SENS┼ thσ interleavσ fielΣ return≤ thσ samσ paramete≥ passeΣ iε thσ ì
FORMA╘ UNI╘ command¼ Thσ targe⌠ shal∞ repor⌠ thi≤ fielΣ a≤ targe⌠ defineΣ iε ì
thσ correspondinτ MOD┼ SENS┼ command« Fo≥ MOD┼ SELEC╘ thi≤ fielΣ i≤ ignored.
.lm 3
ááIMPLEMENTOR╙ NOTE║ I⌠ i≤ recommendeΣ tha⌠ thi≤ fielΣ bσ markeΣ noε-ì
ááchangeablσ anΣ tha⌠ initiator≤ senΣ thσ valuσ returneΣ iε MOD┼ SENSE« Thi≤ ì
ááallow≤ migratioε t∩ specifyinτ interleavσ a≤ ß modσ paramete≥ insteaΣ oµ iε ì
ááthσ FORMA╘ UNI╘ command.
.lm 1
.cp 3
ááThσ tracδ ske≈ facto≥ fielΣ specifie≤ thσ numbe≥ oµ physica∞ sector≤ betweeε ì
thσ las⌠ logica∞ blocδ oµ onσ tracδ anΣ thσ firs⌠ logica∞ blocδ oε thσ nex⌠ ì
sequentia∞ tracδ oµ thσ samσ cylinder.
ááThσ cylinde≥ ske≈ facto≥ fielΣ specifie≤ thσ numbe≥ oµ physica∞ sector≤ ì
betweeε thσ las⌠ logica∞ blocδ oµ onσ cylinde≥ anΣ thσ firs⌠ logica∞ blocδ oε ì
thσ nex⌠ sequentia∞ cylinder.
ááThσ SSE├ bi⌠ se⌠ t∩ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ usσ sof⌠ secto≥ ì
formatting.
ááThσ HSE├ bi⌠ se⌠ t∩ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ usσ harΣ secto≥ ì
formatting« Thσ HSE├ bi⌠ anΣ thσ SSE├ bi⌠ arσ mutuall∙ exclusivσ iε MOD┼ ì
SELEC╘ commands.
.cp 8
ááPossiblσ combination≤ oµ MOD┼ SENS┼ Repor⌠ Defaul⌠ Values
.pm 0
.aw off
SSEC HSE├ Description
---¡ ---¡ ----------------------------------------------------
0 0 Target shall not return this combination
1 0 Target supports soft sector formatting only
0 1 Target supports hard sector formatting only
▒ ▒ Targe⌠ support≤ botΦ sof⌠ anΣ harΣ secto≥ formatting
.aw on
.pm 3
.cp 8èááPossiblσ combination≤ oµ MOD┼ SENS┼ Repor⌠ Changeablσ Values
.aw off
.pm 0
SSEC HSE├ Description
---¡ ---¡ ----------------------------------------------------
0 0 Sector formatting Not changeable
1 0 Target shall not return this combination
0 1 Target shall not return this combination
▒ ▒ Targe⌠ support≤ botΦ Sof⌠ anΣ HarΣ secto≥ formatting
.aw on
.pm 3
.cp 4
ááThσ removablσ (RMB⌐ bi⌠ se⌠ t∩ onσ indicate≤ tha⌠ thσ logica∞ uni⌠ support≤ ì
removablσ media« ┴ RM┬ bi⌠ se⌠ t∩ zer∩ indicate≤ tha⌠ thσ logica∞ uni⌠ doe≤ ì
no⌠ suppor⌠ removablσ media« Thσ statu≤ oµ thi≤ bi⌠ shal∞ bσ reflecteΣ iε thσ ì
INQUIR┘ commanΣ removablσ mediß bi⌠ (RMB).
.cp 5
ááThσ surfacσ (SURF⌐ bi⌠ se⌠ t∩ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ allocatσ ì
progressivσ addresse≤ t∩ al∞ logica∞ block≤ withiε ß cylinde≥ prio≥ t∩ ì
allocatinτ addresse≤ oε thσ nex⌠ cylinder« ┴ SUR╞ bi⌠ se⌠ t∩ onσ indicate≤ ì
tha⌠ thσ targe⌠ shal∞ allocatσ progressivσ addresse≤ t∩ al∞ logica∞ block≤ oε ì
ß surfacσ prio≥ t∩ allocatinτ secto≥ addresse≤ oε thσ thσ nex⌠ surface.
.cp 7
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ thσ targe⌠ support≤ savablσ parameters¼ al∞ savablσ ì
ááparameter≤ fo≥ thi≤ initiator¼ includinτ thosσ iε pagσ code≤ 3¼ 4¼ anΣ 5¼ ì
ááarσ saveΣ t∩ noε-volatilσ memor∙ wheε thσ savσ parameter≤ bi⌠ (SP⌐ iε thσ ì
áácommanΣ descripto≥ blocδ i≤ se⌠ t∩ one« Thσ savablσ parameter≤ ma∙ als∩ bσ ì
áásaveΣ t∩ noε-volatilσ memor∙ durinτ ß FORMA╘ UNI╘ commanΣ (seσ 8.2.1).
.lm1
.cp 25
.aw off
.pm 0
8.3.3.4. Medium Types Supported Page
Table 8-53: Medium Types Supported Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (0Bh) |
-----|-----------------------------------------------------------------------|
1 | Page Length (06h) |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Medium Type Onσ Supported |
-----|-----------------------------------------------------------------------|
5 | Medium Type Two Supported |
-----|-----------------------------------------------------------------------|
6 | Medium Type Three Supported |
-----|-----------------------------------------------------------------------|
7 | Medium Type Four SupporteΣ |
==============================================================================
.aw on
.pm 3
.cp 2
ááThσ mediuφ type≤ supporteΣ pagσ (Tablσ ╕-53⌐ contain≤ ß lis⌠ oµ thσ mediuφ ì
type≤ implementeΣ b∙ thσ targe⌠ fo≥ logica∞ units.
è.cp 4
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 5
ááThσ codσ value≤ fo≥ eacΦ mediuφ typσ supporteΣ b∙ thσ targe⌠ (u≡ t∩ fou≥ ì
maximum)¼ a≤ defineΣ iε thσ MOD┼ SELEC╘ commanΣ (seσ Tablσ ╕-35)¼ arσ reporteΣ ì
iε ascendinτ order« Iµ onl∙ thσ defaul⌠ mediuφ typσ i≤ supporteΣ zer∩ i≤ ì
reported« Iµ les≤ thaε fou≥ mediuφ type≤ arσ supporteΣ thσ unuseΣ entrie≤ ì
shal∞ bσ returneΣ a≤ zero.
.cp 35
.aw off
.pm 0
8.3.3.5. NotcΦ anΣ Partitioε Page
Table 8-54: NotcΦ Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (0Ch) |
-----|-----------------------------------------------------------------------|
1 | Page Length (16h) |
-----|-----------------------------------------------------------------------|
2 | ND | LPN | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Maximum Number of Notches ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Active Notch ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
¡ ¡ -|¡ - Starting Boundary ¡ -|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | (MSB) |
¡ ¡ -|¡ - Ending Boundary ¡ -|
15 | (LSB) |
-----|-----------------------------------------------------------------------|
16 | (MSB) |
¡ ¡ -|¡ - Pages Notched ¡ -|
23 | (LSB) |
==============================================================================
.aw on
.pm 3
.cp 4
ááThσ notcΦ pagσ (Tablσ ╕-54⌐ contain≤ parameter≤ fo≥ direc⌠-acces≤ device≤ ì
whicΦ implemen⌠ ß variablσ numbe≥ oµ block≤ pe≥ cylinde≥ anΣ suppor⌠ thi≤ ì
page« EacΦ sectioε oµ thσ logica∞ uni⌠ witΦ ß differen⌠ numbe≥ oµ block≤ pe≥ ì
cylinde≥ i≤ referreΣ t∩ a≤ ß notch.
.cp 4èááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 5
áá┴ notcheΣ drivσ (ND⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ devicσ i≤ no⌠ notcheΣ ì
anΣ tha⌠ al∞ othe≥ parameter≤ iε thi≤ pagσ shal∞ bσ returneΣ a≤ zer∩ b∙ thσ ì
target« ┴ N─ bi⌠ oµ onσ indicate≤ tha⌠ thσ devicσ i≤ notched« Fo≥ eacΦ ì
supporteΣ activσ notcΦ valuσ thi≤ pagσ define≤ thσ startinτ anΣ endinτ ì
boundarie≤ oµ thσ notch.
.cp 5
áá┴ logica∞ o≥ physica∞ notcΦ (LPN⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ boundarie≤ ì
arσ baseΣ oε thσ physica∞ parameter≤ oµ thσ logica∞ unit« Thσ cylinde≥ i≤ ì
considereΣ mos⌠ significant¼ thσ heaΣ leas⌠ significant« ┴ LP╬ bi⌠ oµ onσ ì
indicate≤ tha⌠ thσ notcΦ boundarie≤ arσ baseΣ oε logica∞ block≤ oµ thσ logica∞ ì
unit«
ááThσ maximuφ numbe≥ oµ notche≤ fielΣ indicate≤ thσ maximuφ numbe≥ oµ notche≤ ì
supporteΣ b∙ thσ logica∞ unit« Thi≤ fielΣ shal∞ bσ reporteΣ a≤ unchangeable.
.cp 6
ááThσ activσ notcΦ fielΣ indicate≤ thσ notcΦ tha⌠ thi≤ anΣ subsequen⌠ MOD┼ ì
SELEC╘ anΣ MOD┼ SENS┼ command≤ shal∞ refe≥ to¼ unti∞ thσ activσ notcΦ i≤ ì
changeΣ b∙ ß late≥ MOD┼ SELEC╘ command« Thσ valuσ oµ thσ activσ notcΦ shal∞ ì
bσ greate≥ thaε o≥ equa∞ t∩ ░ anΣ les≤ thaε o≥ equa∞ t∩ thσ maximuφ numbe≥ oµ ì
notches« Aε activσ notcΦ valuσ oµ zer∩ indicate≤ tha⌠ thi≤ anΣ subsequen⌠ ì
MOD┼ SELEC╘ anΣ MOD┼ SENS┼ command≤ refe≥ t∩ thσ parameter≤ tha⌠ appl∙ acros≤ ì
al∞ notches«
ááThσ startinτ boundar∙ fielΣ indicate≤ thσ beginninτ oµ thσ activσ notcΦ or¼ ì
iµ thσ activσ notcΦ i≤ zero¼ thσ beginninτ boundar∙ oµ thσ logica∞ unit« Iµ ì
thσ LP╬ bi⌠ i≤ one¼ theε thσ fou≥ byte≤ represen⌠ ß logica∞ blocδ address« Iµ ì
thσ LP╬ bi⌠ i≤ zero¼ theε thσ threσ mos⌠ significan⌠ byte≤ shal∞ represen⌠ thσ ì
cylinde≥ numbe≥ anΣ thσ leas⌠ significan⌠ bytσ shal∞ represen⌠ thσ heaΣ ì
number« Thi≤ fielΣ shal∞ bσ reporteΣ a≤ unchangeable.
ááThσ endinτ boundar∙ fielΣ indicate≤ thσ endinτ oµ thσ activσ notcΦ or¼ iµ ì
thσ activσ notcΦ i≤ zero¼ thσ endinτ oµ thσ logica∞ unit« Iµ thσ LP╬ bi⌠ i≤ ì
one¼ theε thσ fou≥ byte≤ represen⌠ logica∞ blocδ address« Iµ thσ LP╬ bi⌠ i≤ ì
zero¼ theε thσ threσ mos⌠ significan⌠ byte≤ shal∞ represen⌠ thσ cylinde≥ ì
numbe≥ anΣ thσ leas⌠ significan⌠ bytσ shal∞ represen⌠ thσ heaΣ number« Thi≤ ì
fielΣ shal∞ bσ reporteΣ a≤ unchangeable.
.cp 3
ááEacΦ notcΦ shal∞ spaε ß se⌠ oµ consecutivσ logica∞ block≤ oε thσ logica∞ ì
unit¼ thσ notche≤ shal∞ no⌠ overlap¼ anΣ n∩ logica∞ blocδ shal∞ bσ excludeΣ ì
froφ ß notch.
.cp 8
ááThσ page≤ notcheΣ fielΣ i≤ ß bi⌠ ma≡ oµ thσ modσ pagσ code≤ tha⌠ indicate≤ ì
whicΦ page≤ contaiε parameter≤ tha⌠ ma∙ bσ differen⌠ fo≥ differen⌠ notches« ì
Thσ mos⌠ significan⌠ bi⌠ oµ thi≤ fielΣ correspond≤ t∩ pagσ codσ 3FΦ anΣ thσ ì
leas⌠ significan⌠ bi⌠ correspond≤ t∩ pagσ codσ 00h« Iµ ß bi⌠ i≤ one¼ theε thσ ì
correspondinτ modσ pagσ contain≤ parameter≤ tha⌠ ma∙ bσ differen⌠ fo≥ ì
differen⌠ notches« Iµ ß bi⌠ i≤ zero¼ theε thσ correspondinτ modσ pagσ ì
contain≤ parameter≤ tha⌠ arσ constan⌠ fo≥ al∞ notches« Thi≤ fielΣ shal∞ bσ ì
reporteΣ a≤ unchangeable.
è.cp 32
.aw on
.pm 0
8.3.3.6. ReaΣ-Writσ Erro≥ Recover∙ Page
Table 8-55: ReaΣ-Writσ Erro≥ Recover∙ Page
==============================================================================
Bitⁿ ╖ ⁿ ╢ ⁿ ╡ ⁿ ┤ ⁿ │ ⁿ ▓ ⁿ ▒ ⁿ ░ |
Bytσ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ |
==============================================================================
░ ⁿ P╙ |Reservedⁿ Pagσ Codσ (01h⌐ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
▒ ⁿ Pagσ LengtΦ (0Ah⌐ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
▓ ⁿ AWR┼ ⁿ ARR┼ ⁿ T┬ ⁿ R├ ⁿ EE╥ ⁿ PE╥ ⁿ DT┼ ⁿ DC╥ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
│ ⁿ ReaΣ Retr∙ Coun⌠ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
┤ ⁿ Correctioε Spaε |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
╡ ⁿ HeaΣ Offse⌠ Coun⌠ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
╢ ⁿ Datß Strobσ Offse⌠ Coun⌠ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
╖ ⁿ ReserveΣ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
╕ ⁿ Writσ Retr∙ Coun⌠ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
╣ ⁿ ReserveΣ |
¡¡¡¡-ⁿ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-|
1░ ⁿ (MSB⌐ |
¡¡¡¡-ⁿ¡¡¡ Recover∙ Timσ Limi⌠ ¡¡-|
1▒ ⁿ (LSB⌐ |
==============================================================================
.aw on
.pm 3
.cp 4
ááThσ reaΣ-writσ erro≥ recover∙ pagσ (Tablσ ╕-55⌐ specifie≤ thσ erro≥ recover∙ ì
parameter≤ thσ targe⌠ shal∞ usσ durinτ an∙ commanΣ tha⌠ perform≤ ß reaΣ o≥ ì
writσ operatioε t∩ thσ mediuφ (e.g.¼ READ(6)¼ READ(10)¼ WRITE(6)¼ WRITE(10)¼ ì
COPY¼ COMPARE¼ WRIT┼ ª VERIFY¼ etc.).
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 9
ááAε automatiπ writσ reallocatioε enableΣ (AWRE⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ ì
targe⌠ shal∞ enablσ automatiπ reallocatioε t∩ bσ performeΣ durinτ writσ ì
operations« Thσ automatiπ reallocatioε shal∞ bσ performeΣ onl∙ iµ thσ targe⌠ ì
ha≤ thσ valiΣ datß (e.g.¼ origina∞ datß iε thσ buffe≥ o≥ recovereΣ froφ thσ ì
medium)« Thσ valiΣ datß shal∞ bσ placeΣ iε thσ reallocateΣ block« Erro≥ ì
reportinτ a≤ requireΣ b∙ thσ erro≥ recover∙ bit≤ (EER¼ PER¼ DTE¼ anΣ DCR⌐ ì
shal∞ bσ performeΣ onl∙ afte≥ completioε oµ thσ reallocation« Thσ ì
reallocatioε operatioε shal∞ repor⌠ an∙ failure≤ tha⌠ occur« Seσ thσ REASSIG╬ ì
BLOCK╙ commanΣ (8.2.10⌐ fo≥ erro≥ procedures.
.cp 2èááAε AWR┼ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ perforφ automatiπ ì
reallocatioε oµ defectivσ datß block≤ durinτ writσ operations.
.cp 10
ááAε automatiπ reaΣ reallocatioε enableΣ (ARRE⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ ì
targe⌠ shal∞ enablσ automatiπ reallocatioε oµ defectivσ datß block≤ durinτ ì
reaΣ operations« Al∞ erro≥ recover∙ action≤ requireΣ b∙ thσ erro≥ recover∙ ì
bit≤ (TB¼ EER¼ PER¼ DTE¼ anΣ DCR⌐ shal∞ bσ executed« Thσ automatiπ ì
reallocatioε shal∞ theε bσ performeΣ onl∙ iµ thσ targe⌠ successfull∙ recover≤ ì
thσ data« Thσ recovereΣ datß shal∞ bσ placeΣ iε thσ reallocateΣ block« Erro≥ ì
postinτ a≤ requireΣ b∙ thσ erro≥ recover∙ bit≤ shal∞ bσ performeΣ onl∙ afte≥ ì
completioε oµ thσ reallocation« Thσ reallocatioε proces≤ shal∞ presen⌠ an∙ ì
failure≤ tha⌠ occur« Seσ thσ REASSIG╬ BLOCK╙ commanΣ (8.2.10⌐ fo≥ erro≥ ì
procedures«
ááAε ARR┼ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ perforφ automatiπ ì
reallocatioε oµ defectivσ datß block≤ durinτ reaΣ operations.
áá┴ transfe≥ blocδ (TB⌐ bi⌠ oµ onσ indicate≤ tha⌠ ß datß blocδ tha⌠ i≤ no⌠ ì
recovereΣ withiε thσ recover∙ limit≤ specifieΣ shal∞ bσ transferreΣ t∩ thσ ì
initiato≥ beforσ CHEC╦ CONDITIO╬ statu≤ i≤ returned« ┴ T┬ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ sucΦ ß datß blocδ shal∞ no⌠ bσ transferreΣ t∩ thσ initiator« ì
Thσ T┬ bi⌠ doe≤ no⌠ affec⌠ thσ actioε takeε fo≥ recovereΣ data.
áá┴ reaΣ continuou≤ (RC⌐ bi⌠ oµ onσ indicate≤ thσ targe⌠ shal∞ transfe≥ thσ ì
entirσ requesteΣ lengtΦ oµ datß withou⌠ addinτ delay≤ t∩ perforφ erro≥ ì
recover∙ procedures« Thi≤ implie≤ tha⌠ thσ targe⌠ ma∙ senΣ datß tha⌠ i≤ ì
erroneou≤ o≥ fabricateΣ iε orde≥ t∩ maintaiε ß continuou≤ flo≈ oµ data« Thσ ì
targe⌠ shal∞ assigε priorit∙ t∩ thi≤ bi⌠ ove≥ conflictinτ erro≥ contro∞ bit≤ ì
(EER¼ DCR¼ DTE¼ anΣ PER⌐ withiε thi≤ byte«
.lm 3
ááIMPLEMENTOR╙ NOTE║ FabricateΣ datß ma∙ bσ datß alread∙ iε thσ buffe≥ o≥ an∙ ì
ááothe≥ targe⌠-specifiπ data« Thi≤ bi⌠ i≤ typicall∙ useΣ iε imagσ processing¼ ì
ááaudio¼ o≥ vide∩ applications.
.lm 1
áá┴ R├ bi⌠ oµ zer∩ indicate≤ tha⌠ erro≥ recover∙ operation≤ tha⌠ causσ delay≤ ì
arσ acceptablσ durinτ thσ datß transfer« Datß shal∞ no⌠ bσ fabricated.
ááThσ individua∞ bi⌠ definition≤ fo≥ EER¼ PER¼ DT┼ anΣ DC╥ arσ containeΣ iε ì
Tablσ ╕-56« Thσ combination≤ oµ thesσ bit≤ arσ explaineΣ iε Table≤ ╕-5╖ ì
througΦ ╕-60.
.cp 38è.aw off
.pm 0
Table 8-56: Error Recovery Bi⌠ Definitions
==============================================================================
EER PER DTE DCR Description
------------------------------------------------------------------------------ì
.aw on
.pm 2
.lm 21
á1 - - - Aε enablσ earl∙ recover∙ (EER⌐ bi⌠ oµ onσ indicate≤ tha⌠ ì
ááááááááááááááááááááthσ targe⌠ shal∞ usσ oµ thσ mos⌠ expedien⌠ forφ oµ erro≥ ì
áááááááááááááááááááárecover∙ first« Thi≤ bi⌠ onl∙ applie≤ t∩ datß erro≥ ì
áááááááááááááááááááárecover∙ anΣ i⌠ doe≤ no⌠ affec⌠ positioninτ retrie≤ anΣ ì
ááááááááááááááááááááthσ messagσ systeφ erro≥ recover∙ procedures.
á0 - - - Aε EE╥ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ usσ aε ì
ááááááááááááááááááááerro≥ recover∙ procedurσ tha⌠ minimize≤ thσ risδ oµ mi≤-ì
áááááááááááááááááááádetectioε o≥ mi≤-correction.
á- 1 - - ┴ pos⌠ erro≥ (PER⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ ì
ááááááááááááááááááááshal∞ repor⌠ recovereΣ errors«
á- 0 - - ┴ PE╥ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ ì
áááááááááááááááááááárepor⌠ recovereΣ errors« Erro≥ recover∙ procedure≤ shal∞ ì
áááááááááááááááááááábσ performeΣ withiε thσ limit≤ establisheΣ b∙ thσ erro≥ ì
áááááááááááááááááááárecover∙ parameters«
á- - 1 - ┴ disablσ transfe≥ oε erro≥ (DTE⌐ bi⌠ oµ onσ indicate≤ ì
áááááááááááááááááááátha⌠ thσ targe⌠ shal∞ terminatσ thσ datß phasσ upoε ì
áááááááááááááááááááádetectioε oµ ß recovereΣ error«
á- - 0 - ┴ DT┼ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ no⌠ ì
ááááááááááááááááááááterminatσ thσ datß phasσ upoε detectioε oµ ß recovereΣ ì
ááááááááááááááááááááerror.
á- - - 1 ┴ disablσ correctioε (DCR⌐ bi⌠ oµ onσ indicate≤ tha⌠ erro≥ ì
áááááááááááááááááááácorrectioε code≤ shal∞ no⌠ bσ useΣ fo≥ datß erro≥ ì
áááááááááááááááááááárecovery.
á- - - 0 ┴ DC╥ bi⌠ oµ zer∩ allow≤ thσ usσ oµ erro≥ correctioε code≤ ì
ááááááááááááááááááááfo≥ datß erro≥ recovery.
.lm 1
.pm 0
==============================================================================
.pm 3
.cp 4
.lm 3
ááIMPLEMENTOR╙ NOTE║ Aε EE╥ bi⌠ oµ onσ ma∙ impl∙ aε increasσ iε thσ ì
ááprobabilit∙ oµ mi≤-detectioε o≥ mi≤-correction« Aε EE╥ bi⌠ oµ zer∩ ì
áátypicall∙ mean≤ tha⌠ thσ specifieΣ retr∙ limi⌠ i≤ exhausteΣ prio≥ t∩ usinτ ì
ááerro≥ correctioε codes.
.lm 1
.paè.aw off
.pm 0
Table 8-57: CombineΣ Error Recovery Paramete≥ Descriptions(1)
==============================================================================
EER PER DTE DCR Description
------------------------------------------------------------------------------ì
.aw on
.pm 2
.lm 21
á0 0 0 0 Thσ ful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ ì
ááááááááááááááááááááo≥ verif∙ retr∙ coun⌠ field⌐ anΣ erro≥ correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ anΣ DC╥ se⌠ t∩ 0)« ┴ ì
ááááááááááááááááááááCHEC╦ CONDITIO╬ i≤ no⌠ reporteΣ a⌠ thσ completioε oµ thσ ì
áááááááááááááááááááácommanΣ fo≥ recovereΣ error≤ (PE╥ se⌠ t∩ 0)« Thσ commanΣ ì
ááááááááááááááááááááterminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ beforσ thσ transfe≥ ì
áááááááááááááááááááácoun⌠ i≤ exhausteΣ onl∙ iµ aε unrecoverablσ erro≥ i≤ ì
áááááááááááááááááááádetected« Iµ aε unrecoverablσ datß erro≥ occurred¼ thσ ì
áááááááááááááááááááádatß iε thσ blocδ witΦ thσ unrecoverablσ erro≥ ma∙ o≥ ma∙ ì
ááááááááááááááááááááno⌠ bσ transferreΣ t∩ thσ initiato≥ dependinτ oε thσ ì
áááááááááááááááááááásettinτ oµ thσ transfe≥ blocδ (TB⌐ bi⌠ (reaΣ operatioε ì
ááááááááááááááááááááonly)«
á
á0 0 0 1 Erro≥ correctioε i≤ disableΣ (DC╥ se⌠ t∩ one⌐ s∩ onl∙ thσ ì
ááááááááááááááááááááful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ o≥ ì
ááááááááááááááááááááverif∙ retr∙ coun⌠ field⌐ arσ attempteΣ t∩ recove≥ thσ ì
áááááááááááááááááááádatß (EE╥ se⌠ t∩ 0)« ┴ CHEC╦ CONDITIO╬ i≤ no⌠ reporteΣ a⌠ ì
ááááááááááááááááááááthσ completioε oµ thσ commanΣ fo≥ recoverablσ error≤ (PE╥ ì
ááááááááááááááááááááse⌠ t∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ ì
áááááááááááááááááááástatu≤ beforσ thσ transfe≥ coun⌠ i≤ exhausteΣ onl∙ iµ aε ì
ááááááááááááááááááááunrecoverablσ erro≥ i≤ detected« Iµ aε unrecoverablσ datß ì
ááááááááááááááááááááerro≥ occurred¼ thσ datß iε thσ blocδ witΦ thσ ì
ááááááááááááááááááááunrecoverablσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ ì
ááááááááááááááááááááinitiato≥ dependinτ oε thσ settinτ oµ thσ transfe≥ blocδ ì
áááááááááááááááááááá(TB⌐ bi⌠ (reaΣ operatioε only).
á0 0 1 0 InvaliΣ modσ (PE╥ mus⌠ bσ se⌠ t∩ onσ iµ DT┼ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
á0 0 1 1 InvaliΣ modσ (PE╥ mus⌠ bσ se⌠ t∩ onσ iµ DT┼ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
á0 1 0 0 Thσ ful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ ì
ááááááááááááááááááááo≥ verif∙ retr∙ coun⌠ field⌐ anΣ Erro≥ Correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ anΣ DC╥ se⌠ t∩ 0)« Thσ ì
áááááááááááááááááááácommanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ beforσ thσ ì
áááááááááááááááááááátransfe≥ coun⌠ i≤ exhausteΣ onl∙ iµ aε unrecoverablσ erro≥ ì
áááááááááááááááááááái≤ detected« Iµ aε unrecoverablσ datß erro≥ occurred¼ thσ ì
áááááááááááááááááááádatß iε thσ blocδ witΦ thσ unrecoverablσ erro≥ ma∙ o≥ ma∙ ì
ááááááááááááááááááááno⌠ bσ transferreΣ t∩ thσ initiato≥ dependinτ oε thσ ì
áááááááááááááááááááásettinτ oµ thσ transfe≥ blocδ (TB⌐ bi⌠ (reaΣ operatioε ì
ááááááááááááááááááááonly)« ┴ CHEC╦ CONDITIO╬ witΦ ß sensσ ke∙ oµ RECOVERE─ ì
ááááááááááááááááááááERRO╥ i≤ reporteΣ a⌠ thσ completioε oµ thσ commanΣ fo≥ an∙ ì
áááááááááááááááááááárecoverablσ erro≥ tha⌠ occur≤ (PE╥ se⌠ t∩ 1)« Thσ ì
ááááááááááááááááááááinformatioε fielΣ iε thσ sensσ datß shal∞ contaiε thσ ì
áááááááááááááááááááálogica∞ blocδ addres≤ oµ thσ las⌠ recovereΣ erro≥ whicΦ ì
ááááááááááááááááááááoccurreΣ durinτ thσ transfer.
.lm 1
.pm0
==============================================================================
.aw on
.pm 3
.cp 54è.aw off
.pm 0
Table 8-58: CombineΣ Error Recovery Paramete≥ Descriptions(2)
==============================================================================
EER PER DTE DCR Description
------------------------------------------------------------------------------ì
.aw on
.lm 21
.pm 2
á0 1 0 1 Erro≥ correctioε i≤ disableΣ (DC╥ se⌠ t∩ one⌐ s∩ onl∙ thσ ì
ááááááááááááááááááááful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ o≥ ì
ááááááááááááááááááááverif∙ retr∙ coun⌠ field⌐ arσ attempteΣ t∩ recove≥ thσ ì
áááááááááááááááááááádatß (EE╥ se⌠ t∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ ì
ááááááááááááááááááááCONDITIO╬ statu≤ beforσ thσ transfe≥ coun⌠ i≤ exhausteΣ ì
ááááááááááááááááááááonl∙ iµ aε unrecoverablσ erro≥ i≤ detected« Iµ aε ì
ááááááááááááááááááááunrecoverablσ datß erro≥ occurred¼ thσ datß iε thσ blocδ ì
ááááááááááááááááááááwitΦ thσ unrecoverablσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ ì
áááááááááááááááááááát∩ thσ initiato≥ dependinτ oε thσ settinτ oµ thσ transfe≥ ì
ááááááááááááááááááááblocδ (TB⌐ bi⌠ (reaΣ operatioε only)« ┴ CHEC╦ CONDITIO╬ ì
ááááááááááááááááááááwitΦ ß sensσ ke∙ oµ RECOVERE─ ERRO╥ i≤ reporteΣ a⌠ thσ ì
áááááááááááááááááááácompletioε oµ thσ commanΣ fo≥ an∙ recoverablσ erro≥ tha⌠ ì
ááááááááááááááááááááoccur≤ (PE╥ se⌠ t∩ 1)« Thσ informatioε fielΣ iε thσ sensσ ì
áááááááááááááááááááádatß shal∞ contaiε thσ logica∞ blocδ addres≤ oµ thσ las⌠ ì
áááááááááááááááááááárecovereΣ erro≥ whicΦ occurreΣ durinτ thσ transfer.
á
á0 1 1 0 Thσ ful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ ì
ááááááááááááááááááááo≥ verif∙ retr∙ coun⌠ field⌐ anΣ Erro≥ Correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ anΣ DC╥ se⌠ t∩ 0)« Thσ ì
áááááááááááááááááááácommanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ beforσ thσ ì
áááááááááááááááááááátransfe≥ coun⌠ i≤ exhausteΣ iµ an∙ erro≥ (recoverablσ o≥ ì
ááááááááááááááááááááunrecoverable⌐ i≤ detecteΣ (DT┼ se⌠ t∩ 1)« Thσ ì
ááááááááááááááááááááinformatioε fielΣ iε thσ sensσ datß shal∞ contaiε thσ ì
áááááááááááááááááááálogica∞ blocδ addres≤ oµ thσ blocδ iε error« Iµ aε ì
ááááááááááááááááááááunrecoverablσ datß erro≥ occur≤ thσ datß iε thσ blocδ witΦ ì
ááááááááááááááááááááthσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ initiato≥ ì
áááááááááááááááááááádependinτ oε thσ settinτ oµ thσ transfe≥ blocδ (TB⌐ bi⌠ ì
áááááááááááááááááááá(reaΣ operatioε only).
á0 1 1 1 Erro≥ correctioε i≤ disableΣ (DC╥ se⌠ t∩ one⌐ s∩ onl∙ thσ ì
ááááááááááááááááááááful∞ numbe≥ oµ retrie≤ (specifieΣ iε thσ read¼ writσ o≥ ì
ááááááááááááááááááááverif∙ retr∙ coun⌠ field⌐ arσ attempteΣ t∩ recove≥ thσ ì
áááááááááááááááááááádatß (EE╥ se⌠ t∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ ì
ááááááááááááááááááááCONDITIO╬ statu≤ beforσ thσ transfe≥ coun⌠ i≤ exhausteΣ iµ ì
ááááááááááááááááááááan∙ erro≥ (recoverablσ o≥ unrecoverable⌐ i≤ detecteΣ (DT┼ ì
ááááááááááááááááááááse⌠ t∩ 1)« Thσ informatioε fielΣ iε thσ sensσ datß shal∞ ì
áááááááááááááááááááácontaiε thσ logica∞ blocδ addres≤ oµ thσ blocδ iε error« ì
ááááááááááááááááááááIµ aε unrecoverablσ datß erro≥ occur≤ thσ datß iε thσ ì
ááááááááááááááááááááblocδ witΦ thσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ ì
ááááááááááááááááááááinitiato≥ dependinτ oε thσ settinτ oµ thσ transfe≥ blocδ ì
áááááááááááááááááááá(TB⌐ bi⌠ (reaΣ operatioε only).
.lm 1
.pm0
==============================================================================
.aw on
.pm 3
.cp 54è.aw off
.pm 0
Table 8-59: CombineΣ Error Recovery Paramete≥ Descriptions(3)
==============================================================================
EER PER DTE DCR Description
----------------------------------------------------------------------------¡-ì
.aw on
.lm 21
.pm 2
á1 0 0 0 Thσ fewes⌠ possiblσ retrie≤ anΣ erro≥ correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ se⌠ t∩ onσ anΣ DC╥ se⌠ ì
áááááááááááááááááááát∩ 0)« ┴ CHEC╦ CONDITIO╬ i≤ no⌠ reporteΣ a⌠ thσ ì
áááááááááááááááááááácompletioε oµ thσ commanΣ fo≥ recoverablσ error≤ (PE╥ se⌠ ì
áááááááááááááááááááát∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ ì
áááááááááááááááááááábeforσ thσ transfe≥ coun⌠ i≤ exhausteΣ onl∙ iµ aε ì
ááááááááááááááááááááunrecoverablσ erro≥ i≤ detected« Iµ aε unrecoverablσ datß ì
ááááááááááááááááááááerro≥ occurred¼ thσ datß iε thσ blocδ witΦ thσ ì
ááááááááááááááááááááunrecoverablσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ ì
ááááááááááááááááááááinitiato≥ dependinτ oε thσ settinτ oµ thσ transfe≥ blocδ ì
áááááááááááááááááááá(TB⌐ bi⌠ (reaΣ operatioε only).
á1 0 0 1 InvaliΣ modσ (DC╥ mus⌠ bσ se⌠ t∩ zer∩ iµ EE╥ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
á1 0 1 0 InvaliΣ modσ (PE╥ mus⌠ bσ se⌠ t∩ onσ iµ DT┼ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
á
á1 0 1 1 InvaliΣ modσ (PE╥ mus⌠ bσ se⌠ t∩ onσ iµ DT┼ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
á1 1 0 0 Thσ fewes⌠ possiblσ retrie≤ anΣ erro≥ correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ se⌠ t∩ onσ anΣ DC╥ se⌠ ì
áááááááááááááááááááát∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ ì
áááááááááááááááááááábeforσ thσ transfe≥ coun⌠ i≤ exhausteΣ onl∙ iµ aε ì
ááááááááááááááááááááunrecoverablσ erro≥ i≤ detected« Iµ aε unrecoverablσ datß ì
ááááááááááááááááááááerro≥ occurred¼ thσ datß iε thσ blocδ witΦ thσ ì
ááááááááááááááááááááunrecoverablσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ ì
ááááááááááááááááááááinitiato≥ dependinτ oε thσ settinτ oµ thσ transfe≥ blocδ ì
áááááááááááááááááááá(TB⌐ bi⌠ (reaΣ operatioε only)« ┴ CHEC╦ CONDITIO╬ witΦ ß ì
áááááááááááááááááááásensσ ke∙ oµ RECOVERE─ ERRO╥ i≤ reporteΣ a⌠ thσ completioε ì
ááááááááááááááááááááoµ thσ commanΣ fo≥ an∙ recoverablσ erro≥ tha⌠ occur≤ (PE╥ ì
ááááááááááááááááááááse⌠ t∩ 1)« Thσ informatioε fielΣ iε thσ sensσ datß shal∞ ì
áááááááááááááááááááácontaiε thσ logica∞ blocδ addres≤ oµ thσ las⌠ recovereΣ ì
ááááááááááááááááááááerro≥ whicΦ occurreΣ durinτ thσ transfer.
á1 1 0 1 InvaliΣ modσ (DC╥ mus⌠ bσ se⌠ t∩ zer∩ iµ EE╥ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
.lm 1
.pm 0
==============================================================================
.aw on
.pm 3
.cp 54 è.aw off
.pm 0
Table 8-60: CombineΣ Error Recovery Paramete≥ Descriptions(4)
==============================================================================
EER PER DTE DCR Description
------------------------------------------------------------------------------ì
.aw on
.pm 2
.lm 21
á1 1 1 0 Thσ fewes⌠ possiblσ retrie≤ anΣ erro≥ correctioε arσ ì
ááááááááááááááááááááattempteΣ t∩ recove≥ thσ datß (EE╥ se⌠ t∩ onσ anΣ DC╥ se⌠ ì
áááááááááááááááááááát∩ 0)« Thσ commanΣ terminate≤ witΦ CHEC╦ CONDITIO╬ statu≤ ì
áááááááááááááááááááábeforσ thσ transfe≥ coun⌠ i≤ exhausteΣ iµ an∙ erro≥ ì
áááááááááááááááááááá(recoverablσ o≥ unrecoverable⌐ i≤ detecteΣ (DT┼ se⌠ t∩ 1)« ì
ááááááááááááááááááááThσ informatioε fielΣ iε thσ sensσ datß shal∞ contaiε thσ ì
áááááááááááááááááááálogica∞ blocδ addres≤ oµ thσ blocδ iε error« Iµ aε ì
ááááááááááááááááááááunrecoverablσ datß erro≥ occur≤ thσ datß iε thσ blocδ witΦ ì
ááááááááááááááááááááthσ erro≥ ma∙ o≥ ma∙ no⌠ bσ transferreΣ t∩ thσ initiato≥ ì
áááááááááááááááááááádependinτ oε thσ settinτ oµ thσ transfe≥ blocδ (TB⌐ bi⌠ ì
áááááááááááááááááááá(reaΣ operatioε only).
á1 1 1 1 InvaliΣ modσ (DC╥ mus⌠ bσ se⌠ t∩ zer∩ iµ EE╥ i≤ se⌠ t∩ ì
ááááááááááááááááááááone)« Seσ thσ notσ a⌠ thσ enΣ oµ thi≤ table.
.lm 1
.pm 0
==============================================================================
.pm 3
.cp 4
.lm 3
ááNOTE║ Iµ aε invaliΣ modσ fo≥ thσ erro≥ recover∙ combinatioε i≤ sen⌠ b∙ thσ ì
ááinitiato≥ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ witΦ thσ sensσ ke∙ ì
ááse⌠ t∩ ILLEGA╠ REQUES╘ anΣ thσ additiona∞ sensσ codσ se⌠ t∩ INVALI─ FIEL─ I╬ ì
ááPARAMETE╥ LIST«
.lm1
.cp 8
ááThσ reaΣ anΣ writσ retr∙ coun⌠ field≤ specif∙ thσ numbe≥ oµ time≤ tha⌠ thσ ì
targe⌠ shal∞ attemp⌠ it≤ recover∙ algorithφ durinτ reaΣ anΣ writσ operations¼ ì
respectively« Iµ thσ retr∙ coun⌠ fielΣ anΣ thσ recover∙ timσ limi⌠ fielΣ arσ ì
botΦ specifieΣ iε ß MOD┼ SELEC╘ command¼ thσ fielΣ tha⌠ require≤ thσ leas⌠ ì
timσ fo≥ datß erro≥ recover∙ action≤ shal∞ havσ priority«
ááThσ correctioε spaε fielΣ specifie≤ thσ size¼ iε bits¼ oµ thσ larges⌠ datß ì
erro≥ burs⌠ fo≥ whicΦ datß erro≥ correctioε ma∙ bσ attempted« ┴ correctioε ì
spaε oµ zer∩ specifie≤ tha⌠ thσ targe⌠ shal∞ usσ it≤ defaul⌠ valuσ o≥ tha⌠ ì
thi≤ fielΣ i≤ no⌠ supported.
ááThσ heaΣ offse⌠ coun⌠ fielΣ specifie≤ iε two'≤-complemen⌠ notatioε aε ì
incrementa∞ offse⌠ positioε froφ thσ tracδ cente≥ t∩ whicΦ thσ head≤ shal∞ bσ ì
moved« Thσ effec⌠ oµ thi≤ fielΣ oε writσ operation≤ i≤ unspecified« ┴ heaΣ ì
offse⌠ coun⌠ oµ zer∩ indicate≤ tha⌠ n∩ offse⌠ i≤ specified« ┴ positivσ valuσ ì
indicate≤ movinτ iε thσ directioε oµ increasinτ logica∞ blocδ addresses« ┴ ì
negativσ valuσ indicate≤ movinτ iε thσ directioε oµ decreasinτ logica∞ blocδ ì
addresses« An∙ valuσ specifieΣ iε thi≤ fielΣ doe≤ no⌠ precludσ thσ targe⌠ ì
froφ usinτ positivσ o≥ negativσ heaΣ offse⌠ durinτ erro≥ recovery« However¼ ì
afte≥ an∙ erro≥ recover∙ i≤ completeΣ thσ targe⌠ shal∞ returε thσ heaΣ offse⌠ ì
t∩ thσ valuσ specifieΣ iε thi≤ field.
.cp 4
.lm3
ááIMPLEMENTOR╙ NOTE║ Thσ degreσ oµ offse⌠ fo≥ eacΦ incrementa∞ valuσ anΣ thσ ì
áánumbe≥ oµ valiΣ value≤ arσ devicσ specific« I⌠ i≤ recommendeΣ tha⌠ thσ ì
áánumbe≥ oµ valiΣ value≤ bσ equa∞ fo≥ thσ positivσ anΣ negativσ heaΣ offse⌠ ì
áácounts.
.lm1
.cp 7èááThσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ shal∞ se⌠ thσ sensσ ke∙ ì
t∩ ILLEGA╠ REQUES╘ iµ aε unsupporteΣ heaΣ offse⌠ valuσ i≤ specified« Thσ ì
valiΣ bi⌠ shal∞ bσ se⌠ t∩ onσ anΣ thσ informatioε fielΣ shal∞ bσ se⌠ t∩ thσ ì
positivσ valuσ oµ thσ maximuφ heaΣ offse⌠ coun⌠ tha⌠ i≤ supported« Thσ targe⌠ ì
shal∞ se⌠ thσ valiΣ bi⌠ t∩ zer∩ iµ i⌠ canno⌠ determinσ thσ maximuφ heaΣ offse⌠ ì
coun⌠ supported« (Note║ Iµ thσ targe⌠ doe≤ no⌠ suppor⌠ thi≤ field¼ i⌠ ì
return≤ ß zer∩ valuσ iε thσ MOD┼ SENS┼ command.)
.cp 11
ááThσ datß strobσ offse⌠ coun⌠ fielΣ specifie≤ iε two'≤-complemen⌠ notatioε aε ì
incrementa∞ positioε t∩ whicΦ thσ recovereΣ datß strobσ shal∞ bσ adjusteΣ froφ ì
it≤ nomina∞ setting« Thσ effec⌠ oµ thi≤ fielΣ oε writσ operation≤ i≤ ì
unspecified« ┴ valuσ oµ zer∩ indicate≤ tha⌠ n∩ datß strobσ offse⌠ i≤ ì
specified« ┴ positivσ valuσ indicate≤ movemen⌠ iε ß positivσ directioε a≤ ì
defineΣ b∙ thσ target« ┴ negativσ valuσ indicate≤ movemen⌠ iε thσ negativσ ì
directioε a≤ defineΣ b∙ thσ target« An∙ valuσ specifieΣ iε thi≤ fielΣ doe≤ ì
no⌠ precludσ thσ targe⌠ froφ usinτ positivσ o≥ negativσ datß strobσ offse⌠ ì
durinτ erro≥ recovery« However¼ afte≥ an∙ erro≥ recover∙ i≤ completeΣ thσ ì
targe⌠ shal∞ returε thσ datß strobσ offse⌠ t∩ thσ valuσ specifieΣ iε thi≤ ì
field.
.lm3
ááIMPLEMENTOR╙ NOTE║ Thσ degreσ oµ offse⌠ fo≥ eacΦ incrementa∞ valuσ anΣ thσ ì
áánumbe≥ oµ valiΣ value≤ arσ devicσ specific« I⌠ i≤ recommendeΣ tha⌠ thσ ì
áánumbe≥ oµ valiΣ value≤ bσ equa∞ fo≥ thσ positivσ anΣ negativσ datß strobσ ì
ááoffse⌠ counts.
.lm1
ááThσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ shal∞ se⌠ thσ sensσ ke∙ ì
t∩ ILLEGA╠ REQUES╘ iµ aε unsupporteΣ datß strobσ offse⌠ coun⌠ valuσ i≤ ì
specified« Thσ valiΣ bi⌠ shal∞ bσ se⌠ t∩ onσ anΣ thσ informatioε fielΣ shal∞ ì
bσ se⌠ t∩ thσ positivσ valuσ oµ thσ maximuφ datß strobσ offse⌠ coun⌠ tha⌠ i≤ ì
supported« Thσ targe⌠ shal∞ se⌠ thσ valiΣ bi⌠ t∩ zer∩ iµ i⌠ canno⌠ determinσ ì
thσ maximuφ datß strobσ offse⌠ supported«
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iµ thσ targe⌠ doe≤ no⌠ suppor⌠ thσ datß strobσ offse⌠ ì
áácoun⌠ field¼ i⌠ return≤ ß zer∩ valuσ iε thσ MOD┼ SENS┼ command.
.pm 3
.lm 1
ááThσ recover∙ timσ limi⌠ fielΣ specifie≤ iε increment≤ oµ onσ milliseconΣ thσ ì
maximuφ timσ duratioε tha⌠ thσ targe⌠ shal∞ usσ fo≥ datß erro≥ recover∙ ì
procedures« Thσ targe⌠ ma∙ rounΣ thi≤ valuσ a≤ describeΣ iε 6.5.4« Thσ ì
limit≤ iε thi≤ fielΣ specifie≤ thσ maximuφ erro≥ recover∙ timσ alloweΣ fo≥ an∙ ì
individua∞ logica∞ block« ┴ recover∙ timσ limi⌠ oµ zer∩ specifie≤ tha⌠ thσ ì
targe⌠ shal∞ usσ it≤ defaul⌠ value.
.cp 2
ááIµ botΦ retr∙ coun⌠ anΣ recover∙ timσ limi⌠ arσ specified¼ thσ fielΣ tha⌠ ì
specifie≤ thσ recover∙ actioε oµ leas⌠ duratioε shal∞ havσ priority«
.cp 50è.aw off
.pm 0
8.3.3.7. Rigid Disk Drive Geometry Page
Table 8-61: Rigid Disk Drive Geometry Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (04h) |
-----|-----------------------------------------------------------------------|
1 | Page Length (16h⌐ |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
¡ ¡ -|¡ - Numbe≥ oµ Cylinders ¡ -|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Number of Heads |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
¡ ¡ -|¡ - Starting Cylinder-Write Precompensation ¡ -|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | (MSB) |
¡ ¡ -|¡ - Starting Cylinder-Reduced Write Current ¡ -|
11 | (LSB) |
-----|-+---------------------------------------------------------------------|
12 | (MSB) |
-----|--- Drive Step Rate ---|
13 | (LSB) |
-----|-----------------------------------------------------------------------|
14 | (MSB) |
¡ ¡ -|¡ - Landing Zone Cylinder ¡ -|
16 | (LSB) |
-----|-----------------------------------------------------------------------|
17 | Reserved ⁿ RP╠ |
-----|-----------------------------------------------------------------------|
18 | Rotational Offset |
-----|-----------------------------------------------------------------------|
19 | Reserved |
-----|-----------------------------------------------------------------------|
20 | (MSB) |
¡----|¡-- Mediuφ Rotatioε Ratσ ¡--|
21 | (LSB) |
-----|-----------------------------------------------------------------------|
22 | Reserved |
-----|-----------------------------------------------------------------------|
23 | Reserved |
==============================================================================
.aw on
.pm 3
.cp 2
ááThσ rigiΣ disδ drivσ geometr∙ pagσ (Tablσ ╕-61⌐ specifie≤ parameter≤ fo≥ ì
direc⌠-acces≤ device≤ employinτ ß rigiΣ disδ drive.
.cp 4èááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 3
.lm3
ááIMPLEMENTOR╙ NOTE║ Thi≤ pagσ i≤ intendeΣ t∩ definσ drivσ geometr∙ ì
ááparameter≤ oµ rigiΣ disδ drives« I⌠ ma∙ bσ useΣ fo≥ othe≥ device≤ iµ ì
ááapplicable.
.lm1
.cp 2
ááThσ numbe≥ oµ cylinder≤ fielΣ define≤ thσ numbe≥ oµ physica∞ cylinder≤ useΣ ì
fo≥ datß storage«
.cp 2
ááThσ numbe≥ oµ head≤ fielΣ define≤ thσ physica∞ numbe≥ oµ head≤ useΣ fo≥ datß ì
storage« Head≤ useΣ exclusivel∙ fo≥ serv∩ informatioε arσ excluded«
.cp 5
ááThσ startinτ cylinde≥ fo≥ writσ precompensatioε fielΣ i≤ thσ physica∞ ì
cylinde≥ a⌠ whicΦ writσ precompensatioε i≤ t∩ begin« Thσ firs⌠ cylinde≥ i≤ ì
numbe≥ zero« Iµ thσ startinτ cylinde≥ fo≥ writσ precompensatioε i≤ equa∞ t∩ ì
thσ valuσ iε thσ numbe≥ oµ cylinder≤ field¼ writσ precompensatioε shal∞ bσ ì
disableΣ b∙ thσ target.
.cp 5
ááThσ startinτ cylinde≥ fo≥ reduceΣ writσ curren⌠ fielΣ i≤ thσ physica∞ ì
cylinde≥ a⌠ whicΦ writσ curren⌠ i≤ reduced« Thσ firs⌠ cylinde≥ i≤ numbe≥ ì
zero« Iµ thσ startinτ cylinde≥ fo≥ reduceΣ writσ curren⌠ i≤ equa∞ t∩ thσ ì
valuσ iε thσ numbe≥ oµ cylinder≤ field¼ reduceΣ writσ curren⌠ shal∞ bσ ì
disableΣ b∙ thσ target.
ááThσ drivσ ste≡ ratσ fielΣ indicate≤ thσ ste≡ ratσ iε 10░ nanosecond≤ ì
increments« Thσ targe⌠ shal∞ usσ thσ drivσ ste≡ rate¼ greate≥ thaε o≥ equa∞ t∩ ì
thσ drivσ ste≡ ratσ specified« Iµ thσ targe⌠ round≤ thi≤ fielΣ i⌠ shal∞ ì
terminatσ thσ commanΣ a≤ describeΣ iε 6.5.4« ┴ valuσ oµ zer∩ request≤ thσ ì
targe⌠ t∩ se⌠ it≤ defaul⌠ value.
ááThσ landinτ zonσ cylinde≥ fielΣ indicate≤ two'≤ complemen⌠ locatioε wherσ ì
thσ targe⌠ shal∞ positioε thσ disδ heads« ┴ negativσ valuσ indicate≤ tha⌠ thσ ì
head≤ arσ positioneΣ belo≈ cylinde≥ zer∩ b∙ tha⌠ numbe≥ oµ cylinders« ┴ ì
positivσ valuσ greate≥ thaε thσ numbe≥ oµ cylinder≤ indicate≤ tha⌠ thσ head≤ ì
arσ positioneΣ beyonΣ thσ cylinder≤ useΣ fo≥ datß storagσ a⌠ thσ cylinde≥ ì
locatioε specified« ┴ zer∩ indicate≤ tha⌠ thσ defaul⌠ shoulΣ bσ used.
.cp 4
ááThσ rotationa∞ positioε lockinτ (RPL⌐ fielΣ i≤ useΣ fo≥ spindlσ ì
synchronizatioε a≤ defineΣ iε Tablσ ╕-62« Seσ Appendi° ╦ oµ thσ EnhanceΣ ì
Smal∞ Devicσ Interfacσ (BS╥ X3.17░-198X⌐ fo≥ furthe≥ informatioε oε ì
synchronizeΣ spindles.
.aw off
.pm 0
.cp 15è Table 8-62: Rotationa∞ Positioε Lockinτ
==============================================================================
RP╠ Description
------------------------------------------------------------------------------
.aw on
.pm 3
.lm 9
áá00b Indicate≤ tha⌠ spindlσ synchronizatioε i≤ disableΣ o≥ no⌠ supported«
áá01b Thσ targe⌠ operate≤ a≤ ß synchronizeΣ-spindlσ slave.
áá10b Thσ targe⌠ operate≤ a≤ ß synchronizeΣ-spindlσ master.
áá11b Thσ targe⌠ operate≤ a≤ ß synchronizeΣ-spindlσ maste≥ control.
.pm 0
.lm 1
==============================================================================
.pm 3
.cp 3
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ signal≤ anΣ connector≤ useΣ fo≥ rotationa∞ positioε ì
áálockinτ arσ externa∞ t∩ thσ SCS╔ bu≤ anΣ arσ no⌠ par⌠ oµ thi≤ standard«
.lm 1
.cp 3
ááIµ ß targe⌠ fail≤ t∩ achievσ synchronizatioε i⌠ shal∞ creatσ ß uni⌠ ì
attentioε conditioε t∩ al∞ initiators« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ UNI╘ ì
ATTENTIO╬ anΣ thσ additiona∞ sensσ codσ se⌠ t∩ RP╠ STATU╙ CHANGE«
ááIµ subsequen⌠ t∩ achievinτ synchronizatioε thσ targe⌠ detect≤ ß changσ oµ ì
synchronization:
áá(1⌐ and¼ iµ thσ logica∞ uni⌠ i≤ no⌠ presentl∙ executinτ aε I/╧ proces≤ fo≥ ì
thσ initiator¼ thσ targe⌠ shal∞ creatσ ß uni⌠ attentioε condition« Thσ sensσ ì
ke∙ shal∞ bσ se⌠ t∩ UNI╘ ATTENTIO╬ anΣ thσ additiona∞ sensσ codσ se⌠ t∩ RP╠ ì
STATU╙ CHANGE.
áá(2⌐ and¼ iµ thσ logica∞ uni⌠ i≤ presentl∙ executinτ aε I/╧ proces≤ anΣ n∩ ì
othe≥ erro≥ occurs¼ theε thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status« Thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ RECOVERE─ ERRO╥ iµ thσ targe⌠ i≤ ablσ t∩ completσ ì
thσ I/╧ proces≤ o≥ HARDWAR┼ ERRO╥ iµ thσ targe⌠ i≤ unablσ t∩ completσ thσ I/╧ ì
process« Thσ additiona∞ sensσ codσ i≤ se⌠ t∩ RP╠ STATU╙ CHANGE.
ááThσ rotationa∞ offse⌠ indicate≤ thσ amoun⌠ oµ rotationa∞ ske≈ tha⌠ thσ ì
targe⌠ shal∞ usσ wheε synchronized« Thσ rotationa∞ ske≈ i≤ applieΣ iε thσ ì
retardeΣ directioε (lagginτ thσ synchronizeΣ spindlσ maste≥ control)« Thσ ì
valuσ iε thσ fielΣ i≤ thσ numerato≥ oµ ß fractiona∞ multiplie≥ tha⌠ ha≤ 25╢ a≤ ì
it≤ denominato≥ (e.g.¼ ß valuσ oµ 12╕ indicate≤ ß onσ-halµ revolutioε skew)« ì
┴ valuσ oµ zer∩ indicate≤ tha⌠ rotationa∞ offse⌠ shal∞ no⌠ bσ used« Thi≤ ì
valuσ ma∙ bσ roundeΣ a≤ defineΣ iε 6.5.4« Thσ rotationa∞ offse⌠ i≤ no⌠ useΣ ì
wheε ß targe⌠ i≤ configureΣ a≤ synchronizeΣ-spindlσ master«
ááThσ mediuφ rotatioε ratσ indicate≤ thσ speeΣ a⌠ whicΦ thσ mediuφ rotates« ì
Thσ uni⌠ oµ measurσ i≤ rotation≤ pe≥ minutσ (e.g.¼ 360░ rpm)«
.cp 35è.aw off
.pm 0
8.3.3.8. Verif∙ Error Recovery Page
Table 8-63: Verif∙ Error Recovery Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 ⁿ P╙ |Reserved| Page Code (07h) |
-----|-----------------------------------------------------------------------|
1 | Parameter Length (0Ah) |
-----|-----------------------------------------------------------------------|
2 | ReserveΣ ⁿ EER ⁿ PE╥ ⁿ DT┼ ⁿ DCR |
-----|-----------------------------------------------------------------------|
3 | Verif∙ Retry Count |
-----|-----------------------------------------------------------------------|
4 | Verif∙ Correction Span |
-----|-----------------------------------------------------------------------|
5 | ReserveΣ |
-----|-----------------------------------------------------------------------|
6 | ReserveΣ |
-----|-----------------------------------------------------------------------|
7 | Reserved |
-----|-----------------------------------------------------------------------|
8 | ReserveΣ |
-----|-----------------------------------------------------------------------|
9 | Reserved |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Verif∙ Recovery Time Limit ---|
11 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ verif∙ erro≥ recover∙ pagσ (Tablσ ╕-63⌐ specifie≤ thσ erro≥ recover∙ ì
parameter≤ thσ targe⌠ shal∞ usσ durinτ thσ VERIF┘ command¼ thσ verif∙ ì
operatioε oµ thσ WRIT┼ AN─ VERIF┘ commanΣ anΣ thσ verif∙ operatioε oµ thσ COP┘ ì
AN─ VERIF┘ command.
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
ááThσ AWR┼ bi⌠ a≤ defineΣ iε thσ reaΣ-writσ erro≥ recover∙ pagσ (seσ Tablσ ╕-ì
55⌐ applie≤ t∩ thσ WRIT┼ AN─ VERIF┘ command« Thσ VERIF┘ anΣ COMPAR┼ command≤ ì
shal∞ no⌠ perforφ automatiπ reallocation« Thσ COP┘ anΣ COP┘ AN─ VERIF┘ ì
command≤ migh⌠ o≥ migh⌠ no⌠ perforφ automatiπ reallocatioε dependinτ oε thσ ì
setting≤ oµ thσ modσ parameters.
ááThσ EER¼ PER¼ DT┼ anΣ DC╥ bit≤ arσ defineΣ iε Tablσ ╕-56« Thσ combination≤ ì
oµ thesσ bit≤ arσ defineΣ iε Table≤ ╕-5╖ througΦ ╕-60.
.cp 6èááThσ verif∙ retr∙ coun⌠ fielΣ specifie≤ thσ numbe≥ oµ time≤ tha⌠ thσ targe⌠ ì
shal∞ attemp⌠ it≤ recover∙ algorithφ durinτ ß verif∙ operation« Iµ thσ verif∙ ì
retr∙ coun⌠ anΣ thσ verif∙ recover∙ timσ limi⌠ arσ botΦ specified¼ thσ onσ ì
tha⌠ require≤ thσ leas⌠ timσ fo≥ datß erro≥ recover∙ action≤ shal∞ havσ ì
priority.
.cp 4
ááThσ verif∙ correctioε spaε fielΣ specifie≤ thσ size¼ iε bits¼ oµ thσ larges⌠ ì
burs⌠ datß erro≥ fo≥ whicΦ datß erro≥ correctioε ma∙ bσ attempted« Iµ thσ ì
targe⌠ doe≤ no⌠ implemen⌠ thi≤ field¼ ß valuσ oµ zer∩ i≤ returneΣ iε MOD┼ ì
SENS┼ data.
.pm 3
.lm 1
.cp 6
ááThσ verif∙ recover∙ timσ limi⌠ fielΣ specifie≤ iε increment≤ oµ onσ ì
milliseconΣ thσ maximuφ timσ duratioε tha⌠ thσ targe⌠ shal∞ usσ erro≥ recover∙ ì
procedure≤ t∩ recove≥ datß fo≥ aε individua∞ logica∞ block« Thσ targe⌠ ma∙ ì
rounΣ thi≤ valuσ a≤ describeΣ iε 6.5.4« Iµ thσ verif∙ retr∙ coun⌠ anΣ thσ ì
verif∙ recover∙ timσ limi⌠ arσ botΦ specified¼ thσ onσ tha⌠ require≤ thσ leas⌠ ì
timσ fo≥ datß erro≥ recover∙ action≤ shal∞ havσ priority.
.lm 3
ááIMPLEMENTOR╙ NOTE║ T∩ disablσ al∞ type≤ oµ correctioε anΣ retrie≤ thσ ì
ááinitiato≥ shoulΣ se⌠ thσ EE╥ bi⌠ t∩ zero¼ thσ PER¼ DT┼ anΣ DC╥ bit≤ t∩ onσ ì
ááanΣ thσ numbe≥ oµ retrie≤ anΣ recover∙ timσ limi⌠ t∩ zero.
.lm 1
.cp 20
.pm 0
8.4. Glossar∙ fo≥ Direc⌠-Acces≤ Devices
.cp 5
cachσ memory.é ┴ temporar∙ (anΣ ofteε volatile⌐ datß storagσ areß outsidσ thσ ì
use≥-accessiblσ area« ┴ cachσ memor∙ i≤ usuall∙ faste≥ t∩ acces≤ thaε thσ ì
mediuφ anΣ thu≤ ha≤ thσ effec⌠ oµ increasinτ datß throughpu⌠ b∙ reducinτ thσ ì
numbe≥ oµ accesse≤ t∩ thσ medium.
.cp 4
noε-volatilσ medium.é Physica∞ storagσ mediuφ tha⌠ retain≤ datß writteε t∩ i⌠ ì
fo≥ ß subsequen⌠ reaΣ operatioε througΦ ß powe≥-oε condition« Aε examplσ oµ ì
thi≤ i≤ ß disδ devicσ tha⌠ store≤ datß a≤ magnetiπ field≤ tha⌠ d∩ no⌠ requirσ ì
devicσ powe≥ t∩ exist.
.cp 4
notch.é ┴ notcΦ refer≤ t∩ al∞ o≥ par⌠ oµ thσ mediuφ havinτ ß consisten⌠ se⌠ oµ ì
geometr∙ parameters« Notche≤ arσ useΣ t∩ increasσ storagσ capacit∙ b∙ ì
optimizinτ thσ numbe≥ oµ sector≤ pe≥ tracδ betweeε thσ inne≥ anΣ oute≥ tracks.
.cp 2
reaΣ hit.é Wheε thσ logica∞ blocδ requesteΣ fo≥ ß reaΣ operatioε i≤ accesseΣ ì
froφ thσ cachσ memory¼ thi≤ i≤ calleΣ ß reaΣ hit.
.cp 2
use≥-accessible.é Thσ areß oµ thσ mediuφ tha⌠ caε bσ reaΣ froφ o≥ writteε t∩ ì
b∙ REA─ anΣ WRIT┼ commands.
.cp 4
volatilσ medium.é Mediuφ tha⌠ ma∙ no⌠ retaiε datß writteε t∩ i⌠ fo≥ ß ì
subsequen⌠ reaΣ operatioε througΦ ß powe≥-oε condition« Aε examplσ oµ thi≤ i≤ ì
ß silicoε memor∙ devicσ tha⌠ lose≤ datß writteε t∩ i⌠ iµ devicσ powe≥ i≤ lost.
..end of section
.paè