Professional Documents
Culture Documents
SCSI
Bench Reference
ENOL
PUBLICATIONS
Guidelines
Those of you who are familiar with the way the standards committee, X3T10, restructured SCSI-3 into
multiple documents will find this edition of the SCSI Bench Reference retains ready access to all the
information you really need to work with the Small Computer System Interface.
The biggest change you will find in these pages is the use of the new terms which were introduced by
SCSI-3. SCSI-2 has dominated shipments for the past several years, but the future belongs to a new kind
of SCSI, one that not only operates on the familiar parallel bus, but on serial interfaces.
The biggest technical change made in the SCSI-3 parallel standards has been the dramatic improvements
made to the physical interface. These advances have been made under pressure from the performance
and convenience promised by serial interfaces.
Should you happen to come across any discrepancies between the standards and the SCSI Bench
Reference, be sure to drop us a line so we can make a correction. If you discover a major boo-boo, you
will receive a free copy of the next edition.
SCSI Bench Reference assumes you have a working knowledge of both SCSI and the standard
documents. If you find the standards overwhelming, then you should check out the SCSI Encyclopedia.
This multi-copy reference work describes the parallel protocol and the disk commands in two Volumes:
Each volume contains detailed information on all topics, with many examples to assist understanding.
Unlike the standard, the SCSI Encyclopedia has been written to assist comprehension. Lavish use of
figures, diagrams, and even pseudo code for complicated subjects such as queueing.
Each entry includes cross-references to relevant subjects so that learning is by inquiry rather than painful
searching of the standards. Information from all over the standards is gathered together under a single
heading.
If you are interested in serial SCSI, be sure to check out the Fibre Channel Bench Reference. It is to Fibre
Channel what this book is to parallel SCSI. For anybody planning to implement Fibre Channel, the Fibre
Channel Bench Reference is an invaluable tool.
The
SCSI
Bench Reference
Jeffrey D. Stai
ENDL Publications
Saratoga, California
Library of Congress Cataloging-in-Publication Data
All Rights Reserved. Except for brief passages to be published in a review or as citation of authority, no part of this book may
be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by
any information storage and retrieval system, without written permission from the publisher. This means YOU!
Throughout this book, the trade names and trademarks of many companies and products have been used, and no such uses
are intended to convey endorsement of or other affiliations with the book. Any brand names or product names used within this
book are trademarks or registered trademarks of their respective holders.
Though the author and publisher have made evety effort to ensure the accuracy and completeness of information contained in
this book, we assume no responsibility for errors, inaccuracies, omissions, or any inconsistency therein.
The publisher offers generous discounts on this book when ordered in bulk quantities. For more
information, write :
Printing H i story:
August " 1 989 First Edition
May 1 992 Second Edition Major Revision
May "1996 Third Edition Major Revision
ISBN 1-879936-30-5
I'd also like to thank the following individuals for their contributions to this reference:
Paul Aloisi
Tak Asami
Peter Johansson
Larry Lamers
John Lohmeyer
Duncan Penman
George Penokie
Ralph Weber
About the Author
The SCSI Bench Reference re-packages the SCSI- 1 , SCSI-2 and SCSI-3 standards into a form which
makes things easy-to-find. You also find things that are not found in any of the standards, like detailed
timing charts, examples, easy references and vastly improved table structures.
The SCSI Encyclopedia is designed to explain the complexities of SCSI for neophyte and expert alike, in a
format that was chosen so you can easily access information by subject. There are no chapters, you
simply look up the name you are interested in to find the material you care about.
Volume I comes in two hard cover books, covering A-M and N-Z, and deals with the phases and
protocols of the physical interface and the message system . If it has anything to do with cables,
connectors, drivers and receivers, signals and phases, messages and nexuses you'll find it in Volume I.
SCSI's message system includes upper-level principles like command queueing as well, so you find these
principles covered in great detail .
Volume I I deals with the most popular SCSI peripheral , t h e magnetic disk drive. Disks are not simple
devices, and once again two hard cover books are needed, covering A-L and M-Z. It takes much more
than coverage of the Direct Access Device commands to explain how disk drives are supported by SCSI.
You also need to be aware of how the commands common to all devices operate, so these are covered
from a disk drive point of view.
The following pages provide you a listing of titles on the subjects covered in the SCSI Encyclopedia. A
quick perusal will provide you with an overview of what is included.
What was SCSI is SCSI no longer. SCSI-3 incorporated some radical changes in language as the primary
task of the standards committee was to ' packetize' the interface in a form which could easily migrate to
serial interfaces.
The Fibre Channel Bench Reference is the first in the SCSI Series which covers progress towards a serial
world. Early implementations of serial interfaces will be led by the need for higher performance and
connectivity for disk drives. Therefore , the Fibre Channel Bench Reference concentrates on the Arbitrated
Loop and includes coverage of the SCSI-3 Fibre Channel Protocol .
The following subjects are covered in Volume I (A-M) of the SCSI Encyclope dia:
Message. SCSI-4.
MODE Commands. S EARCH DATA Commands.
MODE Parameters and Pages. SEEK Command.
MODE SELECT Command. SEND Command.
MODE SENSE Command. SEND DIAGNOSTIC Command.
MODE SENSE and MODE S ELECT Examples. Sense Data.
Notches. Sense Key.
Notch MODE Page. Sense Keys.
Page. START STOP U NIT Command.
Parameter List Length . Status.
Peripheral Device MODE Page. Supported Diagnostics Page.
Power-On to Selection Time. SYNCHRONIZE CAC H E Command.
PRE-FETCH Command . Tagged Queuing.
PREVENT/ALLOW M E DI U M REMOVAL Target.
Command. Target Routine.
Queue. Terminating an 1/0 Process.
RAI D. TEST U NIT R EADY Command.
RAI D Advisory Board . Third Party Reservation.
READ CAPACITY Command. Transfer Length.
READ Command and WRITE Commands. Translate Address Diag nostic Page.
READ DEFECT DATA Command. U ntagged Queuin g .
Ready. Vendor Specific o r U nique.
Read-Write Error Recovery M O D E Page. VERIFY Command.
REASSIGN BLOCKS Command . Verify Error Recovery MODE Page.
Reassignment. WRITE AND VERIFY Command.
RECEIVE DIAG NOSTIC RESULTS Command. WRITE B U FFER Command.
ReiAdr Bit. WRITE Command.
Relative Addressing. WRITE LONG Command.
RELEASE Command . WRITE SAM E Command.
Removable Media. X3T9.2 Committee.
REQU EST SENSE Command.
Reservations.
RESERVE Command.
Reserved.
REZERO UNIT Command .
Rigid Disk Geometry MODE Page.
The following subjects are covered in the Fibre Channel Bench Reference:
Style Notes 0 0 6
Electrical Characteristics 19
SCSI-3 Single Ended Interface 0 0 0 19
Single Ended Cable Characteristics 0 o 21
Active Single Ended Termination Products o o 21
Fast-20 Single Ended Timing Measurement Points o 0 22
Future SCSI-3 Parallel Physical Interface Development 23
Differential Interface 0 0 0 0 o 0 23
Differential Cable Characteristics 25
Differential Termination 0 25
Pointers 84
98
I
Commands for All Device Types (numeric listing) 99
INQUIRY Command . . . . . 100
Standard INQUIRY Data Format 101
LOG SELECT Command 105
LOG SENSE Command . . . 106
MODE SELECT(6) Command 107
MODE SELECT(10) Command 107
MODE SENSE(6) Command . 108
MODE SENSE(10) Command . . 108
PERSISTENT RESERVE IN Command . . . . . . . . . . . . . . . 110
PERSISTENT RESERVATION IN Parameters for "Read Keys" Action . . . . 111
PERSISTENT RESERVATION IN Parameters for "Read Reservations" Action 112
PERSISTENT RESERVE OUT Command . . . . . 114
PERSISTENT RESERVATION OUT Parameter List 115
PREVENT/ALLOW MEDIUM REMOVAL Command 116
READ BUFFER Command . . . . . . . . . 116
READ BUFFER Header for Mode 000 117
READ BUFFER Descriptor for Mode 011 117
RECEIVE DIAGNOSTIC RESULTS Command 118
RELEASE(6) Command 119
RELEASE(lO) Command . . . . 119
RELEASE(lO) Parameter List 120
REPORT LUNS Command . . . . 120
REPORT LUNS Parameter List 121
REQUEST SENSE Command 122
RESERVE(6) Command . . . . 123
RESERVE(6) Extent Descriptor Format 123
RESERVE(lO) Command . . . . . . . . . . . . 124
RESERVE(lO) Parameter List and Extent Descriptors 125
SEND DIAGNOSTIC Command . . 126
Diagnostic Page Format . . 127
Diagnostic Page Codes 127
Supported Diagnostic Pages 128
TEST UNIT READY Command . . 128
WRITE BUFFER Command . . . 129
WRITE BUFFER Header for Mode 000 129
Status . . . . . . . . . . 239
Status Byte Format 239
Status Byte Code Values 239
Status Definitions 239
I ndex . . 269
Copi es of SCSI Sta ndards : Copies of the SCSI-2 and SCSI-3 standards may be ordered from:
The following is a list of all relevant SCSI-3 standards and technical reports in the known universe, and
their current document numbers as of April 1 996, for ordering purposes :
S e r i a 1 B u s P ro t o c o 1
Fi bre C h a n n e l Protocol FC P X 3 . 2 69-19 9 6
SBP X 3 . 2 68-19 9 x rev 22
S C S I -3 P r i m a ry Comm a n d s S PC X 3 Tl0 / 0 9 9 5 D rev 10
S C S I -3 B l o c k C omm a n d s SBC X 3 Tl0 / 0 9 9 6 D rev 3
S C S I -3 S t re am Comm a n d s sse X 3 Tl0 / 0 9 9 7 D rev 7
S C S I -3 C o n t ro l l e r C omma n d s sec X 3 . 2 7 6-19 9 x rev 6
S C S I -3 M u l t i me d i a C omm a n d s MMC X 3 Tl0/1048D rev 4
S C S I -3 Me d i um C h a n g e r C omm a n d s SMC X 3 T10 / 0 9 9 9 D rev 5
S C S I E n c l o s u re S e rv i c e s S ES n o t a v a i l ab l e
S C S I -3 G r a p h i c s C omma n d s SGC X 3 T10 / 0 9 9 8 D rev 0
Tech nical Committee X3T1 0: The original SCSI- 1 standard, the SCSI-2 standard, and the new SCSI-3
standards were produced by Technical Committee X3T1 0 (formerly X3T9.2) of the Accredited Standards
Committee X3. The SCSI-3 standards are continuously evolving, and as such are subject to being revised
or changed. For the latest information on the progress of the standards and for information on joining
X3T10, contact:
There are fees associated with joining X3T1 0 as an observer and receiving the bi-monthly committee
mailings (which are now available on CD- RO M ! yay ! ) . Contact the X3 Secretariat at (202) 626-5741 for
exact prices. To become a voting member of X3T1 0, you must attend the committee meetings. Check the
SCSI BBS or X3T 1 0 web site (below) , or call John Lohmeyer for more information.
Latest, U p to the Mi n ute Electronic Information: For the serious user, there is an electronic Bulletin
Board System (BBS) operated by Symbios Logic. The latest electronic versions of SCSI-3 and related
working documents are available for download from the BBS.
There is also an e-mail reflector on the I nternet. The traffic on the reflector is mostly related to current
topics and upcoming meetings. To join the reflector, just send a message to majordomo@symbios.com,
and include "subscribe scsi" in the message body.
Draft standards are available from an ftp site maintained by Symbios Logic. To access the site, ftp to the
following U RL:
This information is also accessible from the World Wide Web site :
A SCSI newsgroup exists on Usenet called comp. periphs. scsi . Most of the traffic on this group is related
to user issues (e. g . , how to set up a particular disk drive) , but general technical questions are often
answered as well. Discussions on SCSI have also been seen on the comp. arch . storage newsgroup.
The SCSI Tra'de Association has been established to promote the understanding and use of parallel
SCSI. For more information call (507) 931 -0967; e-mail tforums@ic.mankato. m n . us. There is also a web
page at:
http : / ;www.scsita.com/
Be s u re to ch eck FaxAccess at 408-741-1 600 menu #5 for the latest set of i nformatio n on what
ENOL Publications h as to offer. It is a lways possible you wi ll fi nd additional refere n ce materia l on
SCSI which ca n assist you.
Copies of published SFF Specifications may be ordered from Global Engineering Documents, as
described on page 1 . The SFF Committee only provides copies of Specifications via a Documentation
Service. Individual copies of SFF Specifications under development are not sold, although they are
available over FaxAccess.
Be s u re to check FaxAccess at 408-741 - 1 600 menu #8 for the latest set of information o n what
ENOL P u blications has to offer. It is always possible you will find additio nal reference material on
SFF which ca n assist you.
• S P I-2 : SCSI Parallel I nterconnect 2. This document will define a new type of differential interface
that can be integrated into a single package. Also will contain Fast-40 and possibly Fast-80 timing.
SPI-2 will replace S PI , and also contains several corrections to SCAM .
• S I P : SCSI-3 1nterlocked P rotocol. This document contains the rules for use of the SPI transfer
modes and for the message system. Really nothing new here, SIP mostly exists to hold the layer
between the parallel interconnect and the commands.
• SPC: SCS I-3 Primary Comma nds. This document is a compendium of all the commands that are
common to all device types.
• SBC: SCSI-3 Block Comma nds. This document contains commands used by block devices:
Direct-Access devices (you know, "hard disk drives") , Optical, and Write-Once Read-multiple disks.
• SSC: SCSI-3 Strea m Comma nds. This document contains commands used by stream devices:
Sequential Access devices (tapes) , printers , and communication ports.
• SCC: SCSI-3 Co ntroller Commands. This document contains commands used by array
controllers, such as RAI D controllers.
• M M C: SCS I-3 Mu ltimedia Comma nds. This document contains commands used by CD-ROM and
CO-Recordable devices.
• SMC: SCSI-3 Medium Changer Comma nds. This document contains commands used by
medium changer devices.
Other standards are used to connect transport layers other than parallel SCS I . A popular example is Fibre
Channel ; the FCP document describes how to use Fibre Channel instead of parallel SCSI. If you want to
know more, this would be a good time to buy a copy of The Fibre C h a n nel Bench Reference I
So, how do you tie all of these together? A couple of examples :
• To make a Fast-20 parallel wide SCSI disk drive, you need: SAM , SPI, Fast-20, SIP, SPC, and SBC.
• To make a Fibre Channel Arbitrated Loop tape drive, you need : SAM , FC-PH, FC-AL, FCP, SPC,
and sse.
Style Notes
• Command tables have been expanded : In the SCSI standards, multiple byte fields are compressed
to look like a two byte field. In this reference, these fields are expanded to full size. This is done to
eliminate errors ; the eye can see relative field sizes directly.
• Certain fields are self-explanatory. I n these cases, the fields are not described in the text.
• Various tables in this reference include a pointer to the SCSI-3 document and section in which the
table item is defined; for example, "SPC 7. 1 " refers to the SCSI-3 Primary Commands, section 7. 1 .
• In SCSI-3, the "Logical U nit N umber" fields are no longer used, and have been reclaimed. We have
maintained them in our CDB tables, but have put braces { } around them to remind you they are
reserved in SCSI-3.
• When a name or term has changed from SCSI-2 to SCSI-3, the SCSI-3 term is shown in brackets [] .
• This reference is accurate as of the document versions indicated on page 1 . The section on SCAM
is accurate as of the March 1 4, 1 996 amendment.
at least
TERMINATOR 0.3 m long (12")
INSTALLED
HERE INTERNAL
RIBBON
CABLE
INTERNAL
SCSI
DISK
TERMINATOR
SCSI INSTALLED
HOST HE RE
----....-r-1
A DA PTOR
2. Total length of all cables is less than 6m (20ft) for single ended, 25m (85 ft) for differential.
3. Avoid running flat ribbon or other unshielded cables close to metal chassis because it will
lower cable impedance.
TE R MINATOR
INSTALLED
HERE
SCSI
HOST
ADAPTOR---....-�
�
�I
SYSTEM UNIT CDROM TAPE
SCS I-2 S i n gle Ended 50- p i n "A" Cable Con necto r P i n o uts
{*)
G ro u n d 21 22 G ro u n d
Re s e rv e d ( * ) 23 24 Reserved
{*)
Open 25 26 T E RM P W R
Re s e rv e d ( * ) 27 28 Re s e rv e d
G ro u n d 29 30 G ro u n d
G ro u n d 31 32 -ATN
G ro u n d 33 34 G ro u n d
G ro u n d 35 36 -BSY
G ro u n d 37 38 -AC K
G ro u n d 39 40 -RST
G ro u n d 41 42 -MSG
Gro u n d 43 44 -S E L
G ro u n d 45 46 -C/D
G ro u n d 47 48 -REQ
G ro u n d 49 50 -1/0
( * ) " Reserved": SCS I-3 requires that t h e "Reserved" pins be l e ft open. They m ay be g rounded in earlier
SCSI-1 and SCSI-2 designs. New designs should leave these open.
(*) " Reserved": SCS I-3 requires that the " Reserved" pins be left open. They may be g rounded in earlier
SCSI-1 and SCSI-2 designs. New designs should leave these open.
�
+DB 4 11 12 -DB 4
+DB 5 13 14 -DB 5
+DB 6 15 16 -DB 6
+DB 7 17 18 -DB 7
+DB ( P 19 20 -DB P
D I FFS ENS 21 22 Ground
Reserved (* ) 23 24 Re s e rv e d ( * )
T E RM P W R 25 26 T E RM P W R
Re s e rv e d ( * ) 27 28 Re s e rv e d ( * )
+AT N 29 30 -ATN
G ro u n d 31 32 G ro u n d
+BSY 33 34 -BSY
+AC K 35 36 -AC K
+RST 37 38 - RS T
+MS G 39 40 -MSG
+S E L 41 42 -SEL
+C/D 43 44 -C/0
+REQ 45 46 - R EQ
+ I /O 47 48 - 1 /0
Ground 49 50 G ro u n d
(*) "Reserved": SCSI-3 requires that the "Reserved" pins b e left open. They may b e grounded in earlier
SCSI-1 and SCSI-2 designs. New designs should leave these open.
(*) "Reserved": SCSI-3 requires that the "Reserved" pins b e left open. They may b e g rounded in earlier
SCSI-1 and SCSI-2 designs. New designs should leave these open.
=��� � �
Ground 32 66
Ground 33 67 -DB 1 0 )
G ro u n d 34 68 -DB 11)
(*) "Reserved": SCSI-3 requires that the "Reserved" pins be left open. They may be grounded in earlier
designs. New designs should leave these open.
SCSI-3 Differential 68-pln Primary Bus ("P Cable") Con necto r P i n o uts
�
!+DB� � ��1 0 ) �
Ground 30 64
=�- D B� �1 0� )
Ground
31 65
32 66
33 67
+DB 1 1 ) 34 68 -DB 1 1 )
(*) "Reserved": SCSI-3 requires that the "Reserved" pins b e lett open. They may b e grounded in earlier
designs. New designs should leave these open.
NC = No Connect
- r� l
Res e r v e d / N C 6 46 Ground
7 47 G ro u n d
- oD B 1 0 8 48 G ro u n d
-DB 9 9 49 Ground
-DB 8 10 50 Ground
- I /O 11 51 Ground
-REQ 12 52 Ground
-C/D 13 53 Ground
-SEL 14 54 Ground
-MSG 15 55 G ro u n d
-RST 16 56 Ground
-AC K 17 57 Ground
-BSY 18 58 Ground
-ATN 19 59 G ro u n d
-DB P 20 60 Ground
-DB 7 21 61 Ground
-DB 6 22 62 Ground
-DB 5 23 63 G ro u n d
-DB 4 24 64 G ro u n d
-DB 3 25 65 G ro u n d
-DB 2 26 66 G ro u n d
-DB 1 27 67 Ground
-DB 0 28 68 Ground
-DB P l 29 69 Ground
-DB 15 30 70 Ground
-DB 14 31 71 G ro u n d
-DB 13 32 72 G ro u n d
sv
-DB 1 2 33 73 Ground
34 74 Ground for 5V
sv
5V 35 75 Ground for 5V
36 76 G r o u n d for 5 V
S P I ND L E S Y N C 37 77 ACT I V E L E D OUT
RMT START
S C ST_I D O
SCSI ID 2
f� 38
39
40
78
79
80 SCS I I D 3
f�
D L Y D START
scs r :::: I D 1
Note: Termination Power i s not supplied. Terminators are powered on the platform backplane only.
NC = No Connect
!
Res e r v e d / N C
Res e r v e d / N C
-DB l l )
-DB 1 0 )
5
6
7
8
45
46
47
48
49
!
Re s e rv e d / NC
D I FFS E N S
+DB l l )
+DB 10)
-DB 9 ) 9 +DB 9 )
-DB 8 ) 10 50 +DB 8 )
- I /O 11 51 + I /O
-REQ 12 52 + R EQ
-C/D 13 53 +C/D
-SEL 14 54 +S E L
-MSG 15 55 +MSG
-RST 16 56 +RST
-ACK 17 57 +AC K
-BSY 18 58 +BSY
-ATN 19 59 +ATN
-DB P 20 60 +DB P
-DB 7 21 61 +DB 7
-DB 6 22 62 +DB 6
-DB 5 23 63 +DB 5
-DB 4 24 64 +DB 4
-DB 3 25 65 +DB 3
-DB 2 26 66 +DB 2
-DB 1 27 67 +DB 1
- DB 0 28 68 +DB 0
-DB P 1 29 69 +DB P 1
-DB 1 5 30 70 +DB 1 5
-DB 1 4 31 71 +DB 1 4
-DB 1 3 32 72 +DB 1 3
-DB 1 2 33 73 +DB 1 2
5V 34 74 G ro u n d f o r 5 V
5V 35 75 G r o u n d for 5 V
5V 36 76 G r o u n d for 5 V
S P I ND L E S Y N C 37 77 ACT I V E L E D OUT
R M T S T A RT 38 78 DLYD S T A RT
S C SI I D ( O ) 39 79 S C S () D ( l )
S C S () D ( 2 ) 40 80 SCS I I D (3)
Note: Termination Power i s not supplied. Terminators are powered o n the platform backplane only.
NC No Connect
=
L Long Host Receptacle Contact; blank means Short Host Receptacle Contact
=
=������
8 48 G ro u n d
-DB 9 ) 9 49 Ground
-DB 8) 10 50 Ground
- I /O 11 51 Ground
- R EQ 12 52 Ground
-C/D 13 53 Ground
-SEL 14 54 Ground
-MSG 15 55 G ro u n d
-RST 16 56 Ground
-AC K 17 57 G ro u n d
-BSY 18 58 G ro u n d
-ATN 19 59 G ro u n d
-DB P 20 60 G ro u n d
-DB 7 21 61 G ro u n d
-DB 6 22 62 G ro u n d
-DB 5 23 63 G ro u n d
-DB 4 24 64 G ro u n d
-DB 3 25 65 G ro u n d
-DB 2 26 66 Ground
-DB 1 27 67 Ground
-DB 0 28 68 Ground
-DB P 1 29 69 Ground
-DB 1 5 30 70 Ground
-DB 1 4 31 71 Ground
- DB 1 3 32 72 G ro u n d
-DB 12 33 73 Ground
5V 34 74 MAT E D 2
5V 35 L 75 G ro u n d for 5 V
5 V C H A RG E 36 L L 76 G ro u n d f o r S V
S P I NDLE SYNC 37 L L 77 ACT I V E L E D OUT
RMT START 38 L L 78 DLYD START
S C ST I D ( O ) 39 L L 79 S C S () D ( l )
S C S I_ I D ( 2 ) 40 L L 80 SCS I I D (3)
Note: Termination Power is not supplied Terminators are powered o n the platform backplane only.
.
NC = No Connect
The SCSI-2 standard contains a solution for 16-bit and 32-bit bus "wide" extensions, known as the
"A/8 Cable" solution. This method adds a second 58-conductor "B Cable" to the SCSI-1 50-conductor "A
Cable" set. This second cable is used whether the bus size is 16-bits or 32-bits.
This solution fell out of favor with the SCSI-3 committee (and indeed the industry ! ) , which then
developed the SCSI-3 Primary Bus (formerly called the " P Cable") which is well on its way to becoming a
published standard. To get to 32-bits, you add the SCSI-3 Secondary Bus, which adds the extra data bits
and a second REO/ACK pair (called REQQ and ACKQ) .
The industry standard today is the SCSI-3 Primary Bus, which is used for all "wide SCSI" applications.
I n fact, the A Cable and P Cable (with its SCA variations) account for virtually all cabling today.
S IGNAL OUT
S ig n a l Negat i o n
,- I
3 . 7V max
\ I
f a l s e ------- 2 . 5V
\ I
output m i n imum
\ I
\ I
true ------ 0 . 5V
o . ov m i n_
output max imum
at 4 8 mA s inking
S ig n a l A s s e r t i o n
S I GNAL I N
\ I
\ I
\ I
i nput fa l s e 1 . 9 V m i n imum
S ig n a l As s e rted
S I GNAL IN - HYSTERE S I S
\ I
\ I
\ 1\ 1\ I
\1 \ I \1
3 0 0 mv
m i n i mum
S ig n a l A s s erted
(3) Input peak current 1 0 ns after hot plugging is + 1 .5 mA when Vin = 2. 7V. M aximum transient duration
to 1 0% of peak current value is 20 J.LS.
(4) Devices should meet notes (1 ) and (2) even when powered down, except during hot plugging.
(5) An actively-negated output driver loaded at 7.0 mA has an output voltage between 2.0V and 3.24V.
Loaded at 20mA or more, it has an output voltage less than 3.0V. (This does not mean the driver has
to source 20mA, but if it can, this spec keeps it from being too powerful to burn a terminator! )
Actively-negated drivers should not source current above 3. 7V.
(6) The Fast-20 rise rate of a SCSI-3 output driver going between 0. 7V and 2.3V is 520 mV /ns or less;
the fall rate going between 2.3V and 0.7V is also 520 mV/ns or less. The SPI rise ti me is 5 ns
minimum between 1 0% and 90% of the full amplitude; the fall time between 90% and 1 0% of full
amplitude is also 5 ns minimum.
(7) Terminators each supply up to 24 mA (48 mA total) to any driver when signal line is pulled below 2.5V
by the driver. Note that the old 220/330 Ohm terminators are no longer allowed on a SCSI-3 Fast-20
bus.
(8) Terminators source no current when the signal is above 3. 24V. Minimum release voltage is 2.5V,
(9) Input capacitance is 25 pF maximum per input or terminator, measured at the connector, including
any PCB or stub effects. For Fast-20, getting below 15 pF is a good idea.
(1 0) Devices provide 1 .5A of Terminator Power (T ERM PWR) at 4.25V to 5. 25V. Current limiting should be
2.0A (via fuse, etc.). If no internal terminator is installed, then a device may not sink more than 1 .0mA
from the TERMPWR line. TER M PWR should be decoupled at each terminator with 2.2 J.L F and 0.01 11-F
capacitors.
(2) Fast-20 cable impedance is 80 to 1 00 ohms for all signals except REO and ACK, which must be
between 84 and 96 ohms.
(3) The maximum propagation delay of any conductor is 5.4 nsjm. The maximum propagation skew
between any two signals is 0. 1 5 ns/m.
(4) Terminator Power conductor size must be at least 28AWG (0.08098 mnf) in 50 conductor cables, and
must be at least 30AWG (0.05092 mnf) in 68 conductor cables.
(5) Cable must be spaced at least 0.050 inches (1 .25 mm) from itself, other cables, or any other
·
(6) Stubs must be no longer than 4 inches (0. 1 m). Stubs must be spaced at least 1 2 inches (0.3 m)
apart. In other words, use at least a one foot cable between each device. Avoid stub clustering.
(7) The "nominal" maximum cable length for 5 megatransfer/second (5 MT/s) systems is Sm. For 1 0
MTjs systems, it i s 3m. For 20 MT/ s systems (Fast-20) , it i s 1 .5m. Some demonstrations have shown
that longer cables are possible at the higher rates. Proceed with caution, because what can be
acheived is a function of many interacting parameters. It pays to do your homework well l
(8) The conductors for REO and ACK should be i n the cable core of a round cable, and if there are more
than 3 pairs in the core, should not be adjacent. The data bus (DB) signals should be in the outer
layer.
A complete writeup on cabling and termination can be found in Volume I of The SCSI Encyclopedia.
I
I
I \\
\
\
< -As sert i o n P e r i o d - > 1 /
1 . 9V
\
\\
\
I
\
/
\ I
1 . 6V
=r
3V I 3V
- REQ or
I
-ACK 1.
\
1.
I \
I
l . OV
< -Nega t i o n Peri \\___
< - - s etup - - > < - -H o l d - - >
\\ I \\ I \\
-
I I
\\ \\ I \\
I I
\ XI I
1 . 9V
\ XI \X 1 . 6V
I \ I I \
-DB ( X )
I \ I \\ I \
1 . 3V
I I I
I \ I \ I
l . OV
_/
Data Setup: M easured from the 1 .3V point of the falling (assertion) edge of REO/ ACK to the 1 .0V point
(data is asserted) or 1 .9V point (data is negated) of the data signal.
Data Hold: M easured from the 1 .0V point of the falling (assertion) edge of R EO/ACK to the 1 .6V point
(data was asserted) or 1 .3V point (data was negated) of the data signal.
Assertion Period: M easured from the 1 .0V point of the falling (assertion) edge of REO/ACK to the 1 .6V
point of the rising (negation) edge of REO/ACK.
Negation Period : Measured from the 1 .9V point of the rising (negation) edge of REO/ACK to the 1 .3V
point of the falling (assertion) edge of REO/ACK.
SPI-2 (SCSI Parallel Interconnect 2) contains a parallel low voltage differential (LVD) interface that uses a
low voltage swing which allows lower cost, more highly integrated devices to be produced. This LVD
I
interface should be able to operate at higher transfer rates and longer distances than single-ended
interfaces.
EPI (Enhanced Parallel Interface) introduces the concept of 'bus segments', where each bus segment
has its own TERM PWR distribution, and they are separated from one another by active components. EPI
is also expected to further define "hot-plugging", and to describe ways of extending SPI and Fast-20
beyond the limits defined in those standards.
Differential I nterface
S I GNALS OUT
+ S I GNAL
\ I \
--
\ I \
\ I \ -55
h i gh l ev e l 2 . 7 V m i n imum
at rnA
\ I \
\ +55
l ow l ev e l 1 . 7 V max imum
\_ at rnA
- S I GNAL
I \ I
I \ I
I \ I -55
h igh l evel 2 . 7 V min imum
at rnA
I \ I
\ +55
l ow l evel 1 . 7V maximum
at rnA
( - S I GNAL) ( + S I GNAL)
- ( + S I GNAL ) > 1. ov - ( - S I GNAL ) > 1. ov
S I GNALS IN
+SIGNAL
I
\ I \
\. ________________ �
-SIGNAL
I \ I
\ ________________ _J
(1 ) Input low or high current is ±2.0 mA when Vin is between -7.0V and + 1 2.0V.
(2) Terminators supply a total of 36.2 mA to the driver of the + SIG NAL line when pulled asserted.
(3) Terminators supply a total of 29.6 mA to the driver of the -SIG NAL line when pulled asserted.
(4) I nput capacitance is 25 pF maximum per input, measured at the connector, including any PCB or stub
effects.
(6) Differential output voltage (absolute value of ( + S IGNAL) minus (-SIG NAL) ) is 1 .0V minimum with
common mode voltage ranges from -7.0V to 1 2.0V. +
(7) Hysteresis of inputs is 35mV minimum.
(8) When a signal is released , the -SIG NAL is between 3.5V and 2. 1 V, and the + SIG NAL is between 2.4V
and 1 .4V. N ote that the voltages tend to track so that the proper difference is maintained.
(9) Devices provide 1 .0A of Terminator Power (TERM PWR) at 4.00V to 5 .25V. Current limiting should be
2.0A (via fuse, etc. ) . If no internal terminator is installed , then a device may not sink more than 1 .0mA
from the TER M PWR line .
(2) Terminator Power conductor size must be at least 28AWG (0.08042 mm2 ) .
I
(3) Cable must b e spaced at least 0.050 inches (1 .25 mm) from itself, other cables, o r any other
conductor (for example, a metal computer enclosure) .
(4) Stubs must be no longer than 8 inches (0.2 m). Total cable length is 25m or less.
Differential Terminatio n
TERMPWR
+..l
�
V.A A.
T
2.2 J..I F
T
330 1 50 T 330 330 1 50 T 330 +ATN
+DB (O)
DB (O) - ATN
T i 1
- A. oA
T 1 50 T T T
33o
1'<.
T T
A.
T i
330 150 330 330 1 50 330 + RST
+DB (3)
DB (3) - RST
1 T T T
330 1 50 330 330 1 50 330 + MSG
+DB ( 4 )
DB ( 4 ) - MSG
T T
_...
T T
330 1 50 330 330 1 50 330 + SEL
+ D B (5)
DB (5) - SEL
T T T T
330 1 50 330 330 1 50 330 + CI D
+ D B (6)
DB (6) - C/ D
T i T T
-
330
'A
T
""A
1 50 T 33vo
T i
330 1 50 330 330 + 110
+ D B ( P)
- DB ( P ) - 110
ACKB (ACKNOWLED G E for "Q Cable"): Used for SCSI-3 Secondary Bus wide data handshake.
I
ATN (ATTENTION): Driven b y the Initiator when connected to get the Target's attention so that it may
send it a M ESSAG E OUT (see page 6 1 ) . WAR N I N G : A SCSI-1 Target responds to the I nitiator pretty
much at its own convenience, though there are some requirements for SCSI-2 targets (see page 94) .
BSY ( B U S B U SY): I ndicates that the SCSI Bus is in use. Also used to gain control of the bus (see
ARBITRATION Phase, page 43) . (OR-tied : BSY is not actively driven false)
C/D (CO M MA N D OR DATA) : Driven by the Target to indicate the Bus Phase (see tables on pages 28
and 29) . In general, indicates whether data is being transfered or "other information" (COM MAND,
STATUS, or M ESSAG E). "True/Asserted" indicates other information is being transferred.
D B(7-0) (DATA B U S) : Driven by either device, as determined by the state of the 1/0 signal. Contains the
data that is sent from one device to the other during an 8-bit Information Transfer.
DB(1 5-8) ( DATA B U S) : Extends data bus for 1 6-bit wide data transfers.
DB(31-1 6) (DATA B U S) : Extends data bus for 32-bit wide data transfers.
DB(P) ( DATA BUS PAR ITY) : Driven by either device. Contains the parity bit for the data that is sent on
DB (0-7) from one device to the other during an I nformation Transfer. The parity is odd parity: when
DB (0-7) are all zero, DB (P) is set to one.
DB(P1), D B{P2), D B ( P3) ( DATA B U S PARITY) : Bus parity for DB(1 5-8) , DB (23- 1 6) , and DB(3 1 -24) ,
respectively.
DI FFS E N S ( D I FF E R E NTIAL S E N S E) : When high, enables the Differential I nterface. The new SPI-2
definition is (these are the values chosen at publication time and may very well change) :
• less than 0.6V = the bus is Singl e Ended ;
• 0.7V to 1 .9V = the bus is the new Low Voltage Differential ;
• greater than 2.2V = the bus is the old (High Voltage) Differential.
110 ( I N P U T OR OUTP UT): Driven by the Target to indicate the Bus Phase (see tables on pages 28 and
29) . In general, 1/0 indicates the bus information transfer direction. 1 / 0 also determines SELECTION
and RESELECTION phases. "True/Asserted" indicates the direction 1s from the Target to the I nitiator.
MSG ( M ESSAG E PHASE): Driven by the Target to indicate the Bus Phase (see tables on pages 28 and
29) . In general , indicates whether the "other" information alluded to under C/D is M ESSAGE I N ,
M ESSAG E OUT, COM MAND, or STATUS information.
REO ( R EQ U EST): Driven by the Target to request an Information Transfer.
REQQ (REQU EST for "Q Cable"): U sed for SCSI-3 Secondary Bus wide data handshake.
RST ( B U S R E S ET) : Driven by any device to clear all devices from the bus. May cause "power on reset"
type condition on many devices (see page 42) . (OR-tied: RST is not actively driven false)
SEL (SE LECT DEVI CE): Driven by: (1 ) an I nitiator to select a Target; (2) a Target to reselect an Initiator.
(OR-tied: SEL is not actively driven false)
Bus ID Bus I D P r i o r i ty
Number B i t I m a g e ( DB 3 1 -> DBO) Level
7 1. hi ghest
6 . 1. 2
I
5 1. 3
4 1. 4
3 1. 5
2 1. 6
1 1. 7
0 1 8
15 1. 9
14 1. 10
13 1. 11
12 1. 12
11 . 1. 13
10 1. 14
9 .1. 15
8 .1 16
23 1. 17
22 1. 18
21 1. 19
20 1. 20
19 1. 21
18 1. 22
17 .1. 23
16 1 24
31 1. 25
30 1. 26
29 1. 27
28 1. 28
27 1. 29
26 1. 30
25 1. 31
24 1 l owe s t
B u s P h as e s : C o n n ecti o ns
1 0 0 0 0 0 0 0 0 A RB I T RAT I O N
1 1 X 0 X 0 0 X 0 (*1) bus wi nner takes b u s
0 1 0 0 0 0 0 1 0 S ELECT ION
�=��
1 1 0 0 0 0 0 1 0 T a rg e t res p o n d s to S e l e c t i o n
1 0 0 0 0 0 0 1 0 I n i t i a t o r re s po n d s t o T a rg e t
0 1 0 0 1 0 0 0 0 R E S E L ECT I ON
�=��
1 1 0 0 1 0 0 0 0 I n i t i a t o r re s po n d s t o Re s e l e c t i o n
1 0 0 0 1 0 0 0 0 T a rg e t re s p o n d s t o I n i t i a t o r ( * 4 )
0 1 1 0 0 0 0 0 0 S CAM S E L E C T I ON ( s e e p a g e 3 8 )
1 0 X X X 0 0 X 0 (*2 ) b e tween I n f o rma t i o n T r a n s fe r
Phases
1 0 X X X X X 1 0 (*2 ) ATT E N T I O N C O N D I T I O N
(*1 ) : These states are essentially identical to each other. These states must be evaluated in the context of
the previous state. See Bus Phase State Diagram on page 30.
(*2): These states are essentially identical to each other. These states must be evaluated in the context of
the previous state. See Bus Phase State Diagram on page 30.
(*3) : The signals that are don't care ("X") during the BUS FREE Phase and the RESET Condition are
either false or are transitioning to a false state.
(*4) : Initiator then releases BSY; does not change Bus Phase since Target is asserting BSY.
BY TH E WAY (regarding Phases) : The SCSI-3 standards have done away with the term "phase". They are
still there, just named something else. This was done to facilitate the use of non-parallel ways of delivering
SCSI commands, but the new terminology (in our h umble opinion) will not n ecessarily catch on any time
soon. Therefore, we have opted to continue with the "old" terms for now.
!=�l
1 0 0 0 0 1 1 X 0 s ta t e d u r i n g DATA OUT Phase
1 0 0 0 0 0 1 X 0 s tate duri n g DATA OUT Phase
1 0 0 0 0 0 0 X 0 state duri ng DATA OUT Phase
1 0 0 0 1 1 0 X 0 begi nni ng of DATA IN Phase
!:!l
1 0 0 0 1 1 1 X 0 s t ate d u r i n g DATA IN Phase
1 0 0 0 1 0 1 X 0 s t a te d u r i n g DATA IN Phase
1 0 0 0 1 0 0 X 0 s t a te d u r i n g DATA IN Phase
1 0 0 1 0 1 0 X 0 b e g i n n i n g o f COMMAN D P h a s e
1 0 0 1 0 1 1 X 0 s t a t e d u r i n g COMMAN D P h a s e
1 0 0 1 0 0 1 X 0 s t a t e d u r i n g COMMAN D P h a s e
1 0 0 1 1 1 0 X 0 b e g i n n i n g o f STATUS P h a s e
1 0 0 1 1 1 1 X 0 s t a t e d u r i n g STATUS P h a s e
1 0 0 1 1 0 1 X 0 s t a t e d u r i n g STAT U S P h a s e
1 0 1 1 0 1 0 X 0 be g i n n i n g o f M E S SAG E OUT P h a s e
1 0 1 1 0 1 1 X 0 s t a t e d u r i n g M E S SAG E OUT P h a s e
1 0 1 1 0 0 1 X 0 s t a t e d u r i n g M E S SAG E OUT P h a se
1 0 1 1 1 1 0 X 0 b e g i n n i n g o f M E S SAG E I N P h a s e
1 0 1 1 1 1 1 X 0 s t a t e d u r i n g M E S SAG E I N P h a s e
1 0 1 1 1 0 1 X 0 s tate d u r i ng MESSAGE I N Phase
1 0 1 0 0 1 0 X 0 r e s e rved p h a s e
1 0 1 0 1 1 0 X 0 reserved phase
1 0 X X X X X 1 0 ATT E N T I ON C O N D I T I ON
(*5) : These states during DATA I N and DATA OUT Phases are true for both Asynchronous and
Synchronous data transfers.
(*6) : These states can occur during Synchronous DATA IN and DATA OUT phases when the number of
REQs issued is g reater than the number of ACKs issued.
S C S I P H A S E S EQ U E N C E S
A word of explanation: First, Don't Be Frightened ! Take a minute to examine the diagram and it will
become a little clearer. The solid arrow lines represent "typical" phase sequences that occur during
normal command transfer and execution. The dashed arrow lines represent "exceptional" transitions to
the M ESSAGE IN and M ESSAGE OUT phases that would occur to send SYNCHRONOUS DATA
TRANSFER R EQUEST messages, or any error recovery procedure (e. g . , R ESTORE POINTERS).
(*) : Disconnect Message In may be preceeded by a Save Data Pointer Message ln.
• A "SCAM Initiator" is a SCSI Initiator that can initiate the SCAM protocol and assign bus I Ds to
SCAM Targets.
• A "SCAM Target" is a SCSI Device that can recognize the SCAM protocol and receive an ID
assignment from a SCAM Initiator.
• Even if all devices do not implement SCAM , they can peacefully exist with devices that do, provided
they are "SCAM tolerant" (see below) .
• Any SCAM device can initiate the SCAM protocol by arbitrating for the bus, winning, and entering
the SCAM selection "phase" : BSY, SEL, and MSG asserted. All participating SCAM devices then
complete the Initiation protocol.
• After the SCAM protocol has been initiated, SCAM transfer cycles are used to issue function codes,
action codes, and to isolate devices by comparing 'world wide I D ' strings.
• After SCAM protocol initiation, all SCAM Initiators compete to be the Dominant SCAM I nitiator
through an isolation process. The Dominant SCAM Initiator then controls future SCAM transfer
cycles and assigns I D s to SCAM Targets and to the now "Subordinate" SCAM Initiators.
• The Dominant SCAM Initiator then isolates SCAM Targets and assign bus I Ds to them.
• Once all devices have received a bus ID assignment, the SCAM protocol is complete and the bus is
released for normal operation.
NOTE: Several , um, "editorial errors" have been found in the original definition of SCAM i n SPI. These
errors are being fixed in SPI-2. Refer to SPI-2 for all new SCAM development.
SCAM Tolerance
A SCAM Tolerant-Target:
- Recognizes a valid selection whether or not the data bus includes the I nitiator's ID bit (single bit
selection) .
By�� t 7
I
6 5
1
4 3 2
l
1 0
3 -
4 -
5
Vendor Identi fi cati on -
6 -
7 -
8
9 ( LS�
10 (MSB) -
11 -
12 -
13 -
14 -
15 -
16 -
17 -
18 -
19
Vendor Speci fi c Code -
20 -
21 -
22 -
23 -
24 -
25
-
26
-
27
-
28 -
29
30 ( LS�
31 Re s e rv e d , s o rt a
The SCAM ID String is used during any isolation process to select a single SCAM I nitiator or Target for
the next action, either Dominant SCAM Initiator Contention or SCAM Target isolation prior to bus ID
assignment. Bit 7 of each byte is sent first. The first two bytes are referred to as the "Type Code".
Priority Code: If the current SCAM Function is "Dominant Initiator Contention", the codes are:
00 = Level 1 SCAM I nitiator.
01 = Level 2 SCAM I nitiator that does not want to be dominant.
1 0 = reserved
1 1 = Level 2 SCAM Initiator that wants to be dominant (was dominant last time, etc.)
If the current SCAM function is " Isolate" or "Isolate and Set Priority Flag", the codes are:
00 = Priority Flag cleared
1 0 = Priority Flag set
0 1 , 1 1 = reserved
Maximum ID Code: largest bus I D assignment that the device can accept:
00 = SCSI bus ID may be up to 1 Fh (range 0-3 1 , 32-bit bus)
01 = SCSI bus ID may be up to OFh (range 0-1 5, 1 6-bit bus)
1 0 = SCSI bus ID may be up to 07h (range 0-7, 8-bit bus)
1 1 = reserved
ID Valid:
00 = ID field not valid
01 = ID contains current bus I D , but device has not been assigned an I D
10 = I D contains assigned I D
11 = reserved
SNA : 0 = t h e entire I D string is not available yet (e.g . , reading i t from disk) .
1 = the entire I D string is available.
Vendor Identification Field: 8 byte ASCI I field identifying product vendor, same as I N Q U I RY data (see
page 1 00) .
Vendor Specific Code: 21 byte ASC I I field that is a unique (for the vendor) identification code for the
device. The recommended method is to concatenate the model ID with the serial number.
Reserved, sorta: The current SCAM definition is for a 3 1 byte ID string; however, SCAM also states
that the SCAM Initiator shall be capable of receiving 32 byte I D strings to permit future protocol
extensions. Presumably (but not necessarily) the extra byte will be tacked onto the end of the string.
Therefore, this reserved byte may or may not be sent during an isolation transfer cycle.
I
- does not i nitiate the SCAM Protocol .
The "Bit Value to Send" in the table below is the next bit of the SCAM Identification String to send in the
current Isolation Stage. The value asserted on DB (4-0) is the encoded value of the bit to send.
I
0 0000 1 0000 1 Con t i n u e I so l ati on Stage
000 1 1 Defer I so l ati on S tage ;
De v i ce h a s l o s t ;
Re l e a s e D B ( 4 - 0 ) ( s e n d " n o n e " )
C o n t i n u e h a n d s h a ke u n t i l n e x t
Syn c h ro n i z a t i o n F u n c t i o n a n d
i g n o re a l l o t h e r c o d e s
1000 1 OR T e rm i n a t e I s o l a t i o n S t age ;
100 1 1 A c t i o n C o d e may f o l l ow
11111 Syn c h ro n i z a t i o n F u n c t i o n
anyth i ng e l se B u s e r r o r o r r e s e r v e d code
1 000 1 0 000 10 O R Cont i n ue I so l ati on Stage
000 1 1
100 10 OR T e rm i n a t e I s o l a t i o n S t age ;
1 00 1 1 A c t i o n C o d e may f o l l ow
11111 Syn c h ro n i z a t i o n F u n c t i o n
anyt h i n g e l s e B u s e r r o r o r re s e rv e d code
none 00000 0000 1 OR Cont i n u e h a n d s hake unti l next
000 10 OR Syn c h ro n i z a t i o n P a t t e r n
000 1 1
00000 OR T e rm i n a t e I s o l a t i o n S t age ;
1 0000 Ac t i o n C o d e m ay fo l l ow
11111 Syn c h ro n i z a t i o n F u n c t i o n
anyth i ng e l se B u s e r r o r o r r e s e r v e d code
Function Codes are sent to begin a stage of the SCAM protocol. The Synchronization function is usually
sent prior to one of the other Function Codes to ensure that all devices are starting at the same place.
Funct i on Code
DB ( 4 - 0 ) De s c r i p t i o n
00000 I s o l a t e S CAM T a r g e t ( s )
( p e r fo rm Ac t i o n C o d e a f t e r i s o l a t i o n t e rm i n a te s )
0000 1 I s o l a t e S CAM T a r g e t ( s ) a n d S e t P r i o r i ty F l a g
( p e rfo rm Ac t i o n C o d e a f t e r i s o l a t i o n t e rm i n a t e s )
00 0 1 1 C o n f i g u r a t i o n P r o c e s s Comp l e t e
( n o rm a l e n d o f S CAM p r o t o c o l )
01111 Dom i n a n t I n i t i a t o r C o n t e n t i o n
( i s o l a t e Dom i n a n t S CAM I n i t i a t o r )
11111 Syn c h ro n i z a t i o n F u n c t i o n
( n e x t f u n c t i o n to p e r f o rm fo l l ows i n n e x t t r a n s f e r cyc l e )
a l l o t h e rs Re s e rv e d
Ac t i o n C o d e
Fi r s t S e c o n d Descri pti on
1 1000 1 1000 As s i gn SCS I bus ID O
1 1000 1000 1 As s i gn SCS I bus ID 1
1 1000 100 1 0 As s i gn SCS I bus ID 2
1 1000 010 1 1 As s i gn SCS I bus ID 3
1 1000 10 100 As s i gn SCS I bus ID 4
1 1 000 01101 As s i gn SCS I bus ID 5
1 1 000 0 1 1 10 As s i g n SCS I bus ID 6
1 1000 00 1 1 1 As s i g n SCS I bus ID 7
1000 1 1 1 000 As s i gn SCS I bus ID 8
1000 1 1000 1 As s i g n SCS I bus ID 9
1000 1 100 10 As s i g n SCS I bus ID 10
1000 1 0 10 1 1 As s i g n SCS I bus ID 11
1000 1 10 100 As s i g n SCS I bus ID 12
1000 1 01 101 As s i g n SCS I bus ID 13
1000 1 0 1 1 10 As s i g n SCS I bus ID 14
1000 1 00 1 1 1 As s i g n SCS I bus ID 15
100 10 1 1 000 As s i gn SCS I bus ID 16
100 10 1000 1 As s i g n SCS I bus ID 17
100 10 100 10 As s i g n SCS I bus ID 18
100 10 01011 As s i g n SCS I bus ID 19
100 10 1 0 1 00 As s i g n SCS I bus ID 20
10010 01101 As s i g n SCS I bus ID 21
100 10 01110 As s i g n SCS I bus ID 22
100 10 00 1 1 1 As s i g n SCS I bus ID 23
0 10 1 1 1 1000 As s i g n SCS I bus ID 24
01011 1000 1 As s i g n SCS I bus ID 25
01011 100 10 As s i g n SCS I bus ID 26
01011 0 10 1 1 As s i g n SCS I bus ID 27
010 1 1 10 100 As s i g n SCS I bus ID 28
010 1 1 01101 As s i g n SCSI bus ID 29
01011 01110 As s i g n SCS I bus ID 30
01011 00 1 1 1 As s i g n SCS I bus ID 31
10 100 1 1 000 C l e a r P r i o r i ty F l a g
10 100 100 10 L o c a t e O n ( t u rn o n p hy s i c a l l o c a t i o n i n d i c a t o r )
1 0 1 00 0 1 0 1 1 L o c a t e O f f ( t u rn i t o f f ! )
a l l others Re s e rv e d
(* 1 )
B S Y S E L M S G C / D I /0 D B 7 D B 6 D B 5 D B 4 - 0 B u s P h a s e o r C on d i t i o n
0 0 X X X X X X XXXXX BUS FREE
1
1 1 0X 00 00 00 00
0 0
0
00000
00000
A RB I T RAT I ON
b u s wi n n e r t a k e s b u s
0 11 01 00 00 00 00 0 00000 S CAM S E L E C T I O N
111 0
0
0
0
X
X
X
X
1
1
1
0
0
0
00000
00000
S E L rel ease
DB6 rel ease *4
� *3�
1
1
0
0
1
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
00000
00000
00000
S CAM I n i t i a t o r n o t p r e s e n t ( * 5 )
S CAM I n i t i a t o r p re s e n t
S CAM I n i t i a t i o n c omp l e t e
1 1 0 0 X X X X xxxxx e n d o f S CAM p ro t o c o l
BSY SEL MSG C/D I /0 DB7 DB6 DB5 DB4-0 Bus P h a s e or Cond i t i on
ANOTHER NOTE: REO, ACK, RST, ATN , and DB(1 5-8, P , P 1 ) are not used during the SCAM protocol and
may be considered to be "don't care".
(* 1 ) : The signals that are don't care ("X") during the BUS FREE Phase are either false or are transitioning
to a false state.
(*5) : If no SCAM Initiator is present, SCAM protocol cannot be continued and the SCAM targets release
all signals.
BSY S E L MSG C/0 I /0 DB7 DB6 DBS DB4-0 Bus Phase o r Cond i t i on
1 1 0 1 1 1 0 0 X X X XX b e tween SCAM t r a n s fe r cyc l e s
1 1 0 1 1 1 0 0 ddddd s t a r t o f cyc l e ; a s s e r t v a l i d d a t a
1 1 0 1 1 1 0 1 ddddd a l l d e v i ces a s s e r t D B S
1 1 0 1 1 0 0 1 ddddd a l l devi ces rel ease DB7 (* 1 )
1 1 0 1 1 0 1 1 ddddd a l l devi ces read and l atch data
f rom D B 4 - 0 a n d t h e n a s s e rt D B 6
1 1 0 1 1 0 1 0 ddddd a l l d e v i c e s re l e a s e D B S ( * 2 )
1 1 0 1 1 1 1 0 X X XXX a l l dev i ces assert DB7
1 1 0 1 1 1 0 0 X X X XX a l l d e v i c e s re l e a s e D B 6 ( * 3 )
(*1 ) : Perform wire-OR glitch filtering before detecting 087 false and reading 084-0.
(*2) : Perform wire-O R glitch filtering before detecting 085 false and changing 084-0.
NOTE: In the timing figures, the basic SCSI timing values referred to in the standard are given in
parentheses ( ) . Some of the timing values are not named in the SCSI standard and are so indicated.
ANOTH ER N OTE: Timing is shown as "generic" levels: a "high" level is true/asserted , and a low level is
falsejnegated , as shown below:
s i g n a l t ruej a s s e rt e d
s ig n a l f a l se/negated
YET ANOTH ER N OTE: The term "Data Bus" is used in the timing diagrams to refer to the set of data bus
signals appropriate to the bus transaction:
• 8-bit Data Bus is DB0-7, DBP. (SCSI-2 A Cable or SPI Primary Bus)
• 1 6-bit Data Bus is DB0-1 5, DBP, DBP1 . (SPI Primary Bus)
• 32-bit Data Bus is DB0-3 1 , DBP, DBP 1 , DBP2, DBP3. (S PI Primary and Secondary Buses)
Note that "REO" and "ACK" timing also applies to REOO and ACKQ.
A s s e rt i o n P e r i o d - T r a n s m i t : n/a 80 ns 30 ns 15 . 0 ns 9 . 00 ns
Rece i ve : n/a 70 ns 22 ns 11.0 ns 7 . 50 ns
N eg a t i o n P e r i o d - T r a n s m i t : n/a 80 ns 30 ns 15 . 0 ns 9 . 00 ns
Rece i ve : n/a 70 ns 22 ns 11.0 ns 7 . 50 ns
S e t u p T i me - T r a n sm i t : n/a 23 ns 23 ns 11.5 ns 8 . 25 ns
Re c e i v e : n/a 15 ns 15 ns 6.5 ns 4 . 75 ns
Hol d Ti me - Transmi t : n/a 53 ns 33 ns 16 . 5 ns 8 . 75 ns
Rec e i ve : n/a 25 ns 25 ns 11 . 5 ns 5 . 25 ns
NOTE: Fast-40 Times shown above are EXTR E M E LY PRELI M I NARY, have not been approved, and will
likely change. Be sure to check the latest version of SPI that you can find!
1 <-Tbfd->
1 , -------
BSY
1
All
Signals Other _______
< - Tbcd->
x _____________________
_______
T i me Des c r i p t i o n Mi n Max Un i t s
Trst R S T a s s e rt b y a d e v i ce ( I n i t i a t o r 25 !.! S e c
o r T a rg e t ) t o R S T n e g a t e d b y t h e d e v i c e
( re s e t h o l d t i me )
Tbcd RST t r u e t o a l l o t h e r b u s s i g n a l s 800 nsec
re l e a s e d by a l l d e v i c e s
( b u s c l e a r d e l ay )
Tbfd R S T f a l s e to B U S F R E E v a l i d a t e d 800 nsec
( b u s f r e e d e l ay )
BSY --\
1 <-Tbsd-> 1 <--Tbarb--> < Tarb > � <-Tbcd->
SEL
Data s--- X_SCSI - ID_Valid
Bu X
-- -- x __ x __
other
signals
(*1) -------
______ x
<-Twon-->
x
I __
(* 1 ) Other signals DBP, D B P 1 , D B P2, D B P3, C/D, 1/0, REO, ACK, and ATN . They are not asserted
=
T i me De s c r i p t i o n Mi n Max Un i t s
Tbsd BSY fal se to val i date BUS FREE 400 nsec
( b u s s e t t l e d e l ay )
T b a rb BUS F R E E v a l i d a ted to a s sert BSY
�
a n d B u s I D b i t fo r A r b i t r a t i o n :
bus free de l a )
b u s s e t d e l ay
) 800
1 80 0
nsec
nsec
Tarb A s s e r t B S Y t o e x am i n e b u s f o r w i n 2400 nsec
( a r b i t r a t i o n d e l ay)
Tbcd A rb i t r a t i o n w i n n e r a s s e rt s S E L to 800 nsec
Arb i t rat i on l oser ( s ) rel ease a l l
s i g n a l s ( b u s c l e a r d e l ay )
Two n Arb i trat i on wi nner asserts S E L to 1200 nsec
wi nner chang i ng any bus s i gnal
( b u s c l e a r d e l ay p l u s b u s s e t t l e d e l ay )
Select i o n P h ase
1
BSY
1 <-Ttds->
SEL ___/
1 < - Two n - >
-
I/0
-
ATN
(* 1 ) Other signals = MSG, C / D , R E O , and ACK. They are not asserted d u ring selection phase.
t
Ttab I n i t i a t o r re l e a s e s B S Y a t s t a rt o f S E LECT I ON
P h a s e t o T a rg e t a s s erts B S Y :
b u s s e t t l e d e l ay ) 400 nsec
s e l e c t i o n t i meou t ) 250 msec
Ttds T a rg e t l a s t v a l i d a t e s S e l ec t i on P h a s e t o 2 00 J.LSec
T a rg e t a s s e r t s B S Y ( s e l e c t i o n abort t i me )
T i rs T a rg e t a s s e r t s BSY t o I n i t i a t o r 90 nsec
re l e a s e s S E L ( two a syn c sys tem d e s kew d e l ays )
Twfs I n i t i a t o r re l e a s e s S E L to T a rg e t c h a n g e s 0 nsec
a n y o t h e r s i g n a l ( t i mi n g n o t n amed )
I/0
Data Bus-o - -r=-=o:--
- =-wn--= - -,x, ,- f
-=-
-d--:- r=-n'i"t'i-a-:-t-or--=- r=-=o:--
ow-n--=-r=-=o:--
-a n-;- - --- ------- X
I
-- - -- --- ------- -
ATN __JI. ---- - -
( *2 )
________ _______ _______ -
other <---Twfs-->
signals______ - X
(*3)
(*2) ATN may be asserted during reselection phase, but i t i s not part o f the normal protocol . The Target
does not respond to the ATN signal until after the first M ESSAGE OUT phase (which includes
I D E NTI FY} .
Selection Timeout
BSY
<--Tstim >
SEL __) \
< -- Tsabt -- >
I/0
Data Bu s X_Own_ID_+_Target_ID __ X
ATN I \
other
signals
(*1)
(* 1 ) Other signals = MSG, C/ D , R E O , and ACK. They are not asserted during selection phase.
(*2) : Yes, this is correct. The extra 90 nsec is to allow a window between the maximum time for the
Target to validate selection (Ttds, page 44, 63, 64, 65) and the minimum time for the Initiator to wait
before giving up.
BSY
I< - Tstirn --- >
SEL __/ \
< -- Tsabt--> I _______
ATN
( *3 )
other
signals
( *4 )
(*3) ATN may be asserted during reselection phase, but it is not part of the normal protocoL
(*5) : Yes, this is correct The extra 90 nsec is to allow a window between the maximum time for the
Initiator to validate reselection (Tids, page 45) and the minimum time for the Target to wait before
giving up.
xI
I <-Tbsd-> < ------ 'T taq· ------- >
MSG _______ ______________________
C/D __
_______
I
x ______
______________________
Initiator
Data Bus _dri v ing
��.----
____
----
-----
Target
Data Bus - released ----
C/D __
_______
xI _____
_______________________
I/O false
__
____ --
---
Target
Data Bus _driving ____ -----
Initiator
Data Bus released
- -----
T i me Descri pt i on Mi n Max U n i ts
Tbsd L a s t A C K o f p h a s e f a l s e to T a rg e t c h a n g e 0 nsec
M S G , C / D , a n d 1 / 0 ( t i m i n g n o t n amed )
Ttaq T a rg e t c h a n g e s M S G a n d / o r C / D 400 nsec
t o T a r g e t a s s e r t s R E Q ( b u s s e t t l e d e l ay )
REQ
ACK \
1 <-Tbsd-> 1 < Ttaq· ---- >
MSG X
C/D XI
I/0 I
Initiator <-Tird-> 1
Data Bus -_...,-dr-1.--.v--.i-n-g==== x released
-- ------
Target
Data Bus ---r eleased
<---'T tdd
-------
>
I --,--.--.----------
---
X_driving __________
---
(* 1 ) : Even though the standard states 400 nsec for this value (bus settle delay) , the data bus direction
switch delay plus the data setup to REO delay results in the larger value. If the bus phase is
changing from an IN phase to another IN phase , then 400 nsec is the minimum value of Ttaq.
REQ
ACK \
1 <-Tbsd-> 1 < taq ·------ >
MSG X
C/D I
X
I/0 \
I
Target <-Ttrd-> 1
Data Bus _driving ---;--;--;-----
__ x released -- ------
REQ I \
1 < Trtaa > 1 <
- - Tatrn > <-Trfan-> � <--Tafra--> 1
ACK \
Initiat or �X <-Tdvaa->
valid data
<-Trtdi-> 1
output s
Data Bu X
�___ Tsetu:> l
____ <-Thold-> �
Target
Data
Input Bus _______x valid data--- ����-----------------------
______ x ------
____________
\
-
- - - -
ACK \
Target
Data Bu s _
1X_<-Tdvra->
valid_data
<-Tatdi-> 1
X
Output
l
_
XI
<Tsetup> <-Thold->
Initiator IX v_a�l�i�d�d-a7ta
Input Bus
Data -
_ __________ _______ ______________________
__
__
-
--
T i me De s c r i p t i o n Mi n Max U n i ts
Trtaa T a rg e t R EQ t r u e t o I n i t i a t o r a s s e r t A C K 0 nsec
( t i m i n g n o t n amed )
T a t rn I n i t i ator ACK true to Target negate REQ 0 n s ec
( t i m i n g n o t n amed )
Trfan T a rg e t R EQ f a l s e t o I n i t i a t o r n e g a t e A C K 0 nsec
( t i m i n g n o t n amed )
Tafra I n i t i a t o r A C K f a l s e t o T a r g e t a s s e rt REQ 0 nsec
( t i m i n g n o t n amed )
Tdvra Target d r i ves data output v a l i d to Target 49 nsec
a s s e rt s R E Q ( a syn c sys t em d e s k e w d e l ay p l u s
c a b l e s k ew d e l ay )
Tatd i I n i t i a t o r a s s e r t A C K t o T a rg e t d a t a o u t p u t 0 nsec
i n v a l i d ( t i m i n g n o t n amed )
Tsetup I n i t i ator rece i ve s data output v a l i d to 0 nsec
I n i t i a t o r d e t e c t s R E Q a s s e rt e d
( t i m i n g n o t n amed )
Thol d I n i t i ator a s s ert ACK to rece i ved data 0 nsec
i n v a l i d ( t i m i n g n o t n amed )
��--Tasrt--���--Tnegt--�1 .------ .
REQ ___/ '- --- _/ \__
I< Trtaa < 1 <--Tnegt-->>
Txfer
> <--Tasrt--> �
I
-- -- -- --
. ------ .
ACK \
� <-Tdvaa-> <-Tatdi-> 1
'------
<Tsetup> <Thold> l
Target
���� Bus
Ix valid xxxxxxxxx_valid xxxxxxxxx=====
t _______ ______
T i me Des c r i p t i o n Mi n Max U n i ts
Trtaa T a r g e t R EQ t r u e t o I n i t i a t o r a s s e rt A C K 0 nsec
( t i m i n g n o t n am e d )
Ta s r t T a r g e t R EQ t r u e t o T a rg e t n e g a t e R E Q o r 80 nsec
I n i t i ator A C K true to I n i t i ator n e g a t e ACK
( s l ow t r a n sm i t a s s e rt i o n p e r i o d )
Tnegt T a rg e t R E Q f a l s e t o T a r g e t a s s e r t R E Q o r 80 nsec
I n i t i ator A C K fa l s e to I n i t i ator a s s ert ACK
( s l ow t r a n sm i t n e g a t i on p e r i od )
Txfer T a rg e t R E Q t r u e t o T a rg e t a s s e r t R E Q o r 200 nsec
I n i t i a t o r A C K t r u e t o I n i t i a t o r a s s e rt A C K ( * 1 )
( s l ow t r a n s fe r p e r i o d )
Tdvaa I n i t i ator data outp ut v a l i d to I n i t i ator 23 nsec
a s s e rt A C K ( s l ow t r a n sm i t s e t u p t i me )
Tatd i I n i ti ator ACK true to data output i n val i d 53 nsec
( s l ow t r a n sm i t h o l d t i me )
Tsetup T a rg e t r e c e i v e s d a t a o u t p u t v a l i d to 15 nsec
T a r g e t d e t e c t s ACK a s s e r t e d
( s l ow r e c e i v e s e t u p t i me )
Thol d T a rg e t d e t e c t s A C K t r u e t o r e c e i v e d 25 nsec
d a t a i n v a l i d ( s l ow r e ce i v e h o l d t i me )
(* 1 ) As set by the Synchronous Data Transfer Request (SDTR) message (see page 92, 93) .
� �--Tasrt_:� �� � Tnegt--� �
REQ \ . ------ \ ------
Target
Data Bus __
I <Tsetup> <Thold> l
-- - -
Initiator
Data x---v a-..,l�i�d� -xxxxxxxxx_valid xxxxxxxxx
Input Bus
__
---
---- ----
� �--Tasrt_:���--Tnegt--� 1
REQ __/ \ . ------- . '------' \ __
I< Trtaa Txfej <--Tnegt-->>
> <--Tasrt-->
<
I I
-- --
ACK \ , ----
1 <-Tdvaa-> <-Tatdi-> 1
. ------
_ _____ ___
T i me Des c r i p t i on Mi n Max U n i ts
Trtaa T a rg e t R E Q t r u e t o I n i t i a t o r a s s e r t A C K 0 nsec
( t i m i n g n o t n am e d )
Tasrt T a r g e t R E Q t r u e t o T a rg e t n e g a te R EQ o r 30 nsec
I n i t i ator ACK true to I n i t i ator negate ACK
( fa s t t r a n sm i t a s s e rt i o n p e r i o d )
Tnegt Target REQ fa l s e to Target a s s ert REQ o r 30 nsec
I n i t i a t o r A C K f a l s e to I n i t i a t o r a s s e r t AC K
( fa s t t r a n sm i t n e g a t i o n p e r i o d )
Txfer T a rg e t R EQ t r u e t o T a rg e t a s s e r t R E Q o r 100 nsec
I n i t i a t o r A C K t r u e t o I n i t i a t o r a s s e rt A C K ( * 1 )
( fa s t t r a n s fe r p e r i o d )
Tdvaa I n i t i ator data outp ut v a l i d to I n i t i ator 23 nsec
a s s e rt A C K ( fa s t t r a n sm i t s e t u p t i me )
Tatd i I n i t i ator ACK true t o data output i n v a l i d 33 nsec
( fa s t t r a n sm i t h o l d t i me )
Tsetup Target rece i ves data output v a l i d to 15 nsec
T a r g e t d e t e c t s A C K a s s e rt e d
( fa s t r e c e i v e s e t u p t i me )
Thol d T a rg e t d e t e c t s A C K t r u e t o r e c e i v e d 25 n s ec
d a t a i n v a l i d ( fa s t r e ce i v e h o l d t i me )
(* 1 ) As set by the Synchronous Data Transfer Request (SDTR) message (see page 92, 93) .
� �--Tasrt_:���:_Tnegt--� 1
REQ \ ;'. \
-----
------
<--Trtaa--> I <--Tasrt-->
< Txfer
1 <--Tnegt-->> I
.
ACK \
---
I
-
--
-
� �--Tasrt���� � Tnegt--� �
REQ __/ \ . ------ . '-------' \__
I< Txfer
Trtaa--> <--Tasrt-->
< >
I , <--Tnegt-->
I
--
ACK \ --
--- \ _______
1 <-Tdvaa-> <-Tatdi-> 1
Initiator x_valid xxxxxx_valid xxxxxx.
outputBus
Data ------- _ _____ ____
<Tsetup> <Thold> l
Target Ix valid xxxxxxxxx_v_a�l�i�d�---- xxxxxxxxx
Input Bus
Data _______ -
� �--Tasrt�� ��:_Tnegt--� �
REQ \----- \------ 1.
<--Trtaa--> <<--Tasrt--> 1 <--Tnegt-->>
Txfer
I I
.-----
ACK ------- ------�/ \
Target __ 1 <-Tdvra-> -
<-Trtdi-> 1
xxxxxx valid_____xxxxxx
Data Bus--x_v
output -_a__,l,.:-:.,i d,---
- ____
Synch ro n o u s Offset
BSY \
1 <-Tbsd-> 1 <-Tbcd->
______ __________________________________________
SEL ----- .
T i me Des c r i p t i on Mi n Max Un i ts
Tbsd B S Y a n d S E L n e g a t e d by a d e v i c e ( I n i t i a t o r 400 nsec
o r T a rg e t ) to B U S F R E E p h a s e v a l i d
( b u s s e t t l e d e l ay )
Tbcd BUS FREE v a l i d a ted to a l l b u s s i g n a l s 800 nsec
re l eased by a l l d e v i ces
( b u s c l e a r d e l ay )
Tcl ear BSY and S E L fa l s e t o a l l b u s s i g n a l s - 1200 nsec
re l e a s e d by a l l d e v i c e s
( b u s s e t t l e d e l ay p l u s b u s c l e a r d e l ay )
REQ \ ______________________
ACK \
__
� <--Taatn-> 1
ATN
1 <-Tratn->
ACK \_
<-Tnatn-> 1
ATN \. ______________________________________________
BSY \ -
I <--Tdisc--> I
MSG \, ________
C/D \ ________
I/0 \ ________
ATN \, _________________________
(* 1 ) : DISCO N N ECT M ESSAG E OUT (see page 87) from I n itiator to Target requesting that the Target
Disconnect from the bus.
(*2) : DISCO N N ECT M ESSAG E I N from Target to I nitiator to inform the Initiator that the Target will
Disconnect from the bus.
T i me Des c r i pt i on Mi n Max Un i ts
Tdi s c T a r g e t n e g a t e s B S Y t o w h e n T a r g e t may 200 J.! S e c
p a rt i c i p a t e i n A R B I T RAT I O N p h a s e ( * 3 ) ;
f o l l ow i n g :
1 . A n I n i t i a t o r req u e s t for a
D i s c o n n e c t v i a a D I S CO N N E C T
M E S SAG E O U T , a n d
2 . T h e T a rg e t a g r e e s a n d s e n d s a
D I S CO N N E C T M E S S AG E I N
( d i s c o n n e c t i o n d e l ay )
( * 3 ) : I f t h e D i s c o n n e c t T i me L i m i t i n t h e D i s co n n e c t - R e c o n n e c t M o d e P a g e i s
l a r g e r , t h a n i t o v e r r i d e s t h e 2 0 0 J.! S e c d e l ay . S e e p a g e 1 4 6 .
BSY
< Tsrb > 1 < Tssh->
\
- -
-
SEL __/
1 <-Twon-> I <Tmsd> I <Tmab>
MSG I \\\
I
X- OOh
( *1) Bu s-OwniD
Data X -
-- -
other
signals <-Tbao->
( *2 ) ------- X -
(*1 ) Data Bus is only D B (?-0). All other data bus signals and parity remain released during SCAM .
(*2) Other signals C/D, 1/0, DB(?) , and DB(6). They may b e asserted t o complete SCAM initiation (see
=
next page) . REO, ACK, and ATN remain released during the SCAM protocol.
BSY
<-Tbao-> <-Toas-> 1
SEL \\\ I
--
I <Tssd> , <Tsr6>
C/D --
I
I
I/0 --
(* 1 ) Data Bus is only D B (?-0). All other data bus signals and parity remain released during SCAM.
(*2) Other signals C/D, 1/0, D B (?) , and D B (6) . They may be asserted to complete SCAM initiation (see
=
next page). R EO, ACK, and ATN remain released during the SCAM protocol.
T i me Des c r i p t i o n Mi n Max Un i ts
Tbao S CAM De v i c e a s s e r t s B S Y t o S CAM De v i c e 90 nsec
J
a s s e r t i n g C / D , 1 / 0 , DB ( ? ) , D B ( 6
( two a s y n c sys t em d e s kew d e l ays
To as S CAM D e v i c e a s s e rt s C / D , 1 / 0 , DB ( ? ) , D B ( 6 ) 90 nsec
t o re l e a s i n g S E L ( two a s y n c sys tem d e s kew d e l ays )
Tssd
�
S E L f a l s e t o S E L f a l s e v a l i d a t ed
wi re-OR g l i tc h f i l teri n g )
bus s e tt l e del ay)
400 nsec
Ts r6 S E L f a l s e v a l i d a t e d to r e l e a s e DB ( 6 ) 0 nsec
( t i m i n g n o t n amed )
T6sd
�
DB ( 6 ) fa l s e to DB ( 6 ) fal s e v a l i dated
wi re-OR g l i tc h f i l te r i n g )
b u s s e t t l e d e l ay )
400 nsec
T6as D B ( 6 ) f a l s e v a l i d a t e d t o a s s e rt S E L 0 nsec
( t i m i n g n o t n amed )
DB (6)
-> I <-T5r7 T6r5-> <- T5a7-> <- \\\ I <T6sd>
_
I
DB (5) __/ \\\
> I <-Tda5 I <T5sd>
(4-0) ) X
DB(driven I -
<T6ad> l
-xxxxxxxxxxxxxxxxxxxxx
<T7dv> <T6di> -> � <-T5cd
DB (4-0) xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(received)
___
Data Bus (DB0-7) is shown in H EX; Data Bus Parity (DBP) is not shown.
0 1 0 0 0 0 0 1 42 S E L E CT I O N
1 1 0 0 0 0 0 1 42 T a rg e t r e s p o n d s t o s e l e c t i o n
1 0 0 0 0 0 0 1 XX I n i t i a t o r r e s p o n d s t o T a rg e t
1 0 1 1 0 0 0 1 XX s tart of phase change
1 0 1 1 0 1 0 1 XX beg i n n i n g o f MESSAGE OUT phase
1 0 1 1 0 1 0 0 C3 I n i t i a t o r n e g a te s A T N
1 0 1 1 0 1 1 0 C3 I n i t i a t o r s e n d s I D E N T I FY me s s a ge
1 0 1 1 0 0 1 0 C3 T a r g e t t a k e s I D E N T I FY m e s s a g e
1 0 1 1 0 0 0 0 XX end of phase
1 0 0 1 0 0 0 0 XX s t a rt o f p h a s e c h a n g e
1 0 0 1 0 1 0 0 XX b e g i n n i n g o f COMMA N D p h a s e
1 0 0 1 0 1 1 0 00 I n i t i a t o r s e n d s COMMAND by t e 0
1 0 0 1 0 0 1 0 00 T a r g e t t a k e s COMMA N D byte
1 0 0 1 0 0 0 0 XX e n d o f t r a n s fe r
1 0 0 1 0 1 0 0 XX byte 1 o f COMMA N D p h a s e
1 0 0 1 0 1 1 0 00 I n i t i a t o r s e n d s COMMA N D byt e 1
1 0 0 1 0 0 1 0 00 T a rg e t t a k e s COMMA N D by t e ( * 1 )
1 0 0 1 0 0 0 0 XX end of trans fer
1 0 0 1 0 1 0 0 XX b y t e 2 o f COMM A N D p h a s e
1 0 0 1 0 1 1 0 00 I n i t i a t o r s e n d s COMMA N D byt e 2
1 0 0 1 0 0 1 0 00 T a r g e t t a k e s COMMA N D b y t e
1 0 0 1 0 0 0 0 XX e n d o f t r a n s fe r
1 0 0 1 0 1 0 0 XX by t e 3 o f C OMMA N D p h a s e
1 0 0 1 0 1 1 0 00 I n i t i a t o r s e n d s COMMAN D by t e 3
1 0 0 1 0 0 1 0 00 T a rg e t t a k e s COMMA N D byte
1 0 0 1 0 0 0 0 XX end of tran s fer
BSY SEL MSG C/D I /0 REQ ACK ATN DB0-7 Bus Phase or Cond i t i on
( * 1 ) : I D E NT I FY e s t a b l i s h e d t h e L o g i c a l U n i t N um b e r . I t i s n o t n e c e s s a ry t o
r e p e a t i t i n t h e Comm a n d B l o c k .
accept transfers up to an Offset of 1 2 with 200 nsec Transfer Period. Target can accept transfers up to an
Offset of 1 6 with 250 nsec Transfer Period.
0 1 0 0 0 0 0 1 09 S E L ECT I ON
1 1 0 0 0 0 0 1 09 Target res pon d s to s e l ect i on
1 0 0 0 0 0 0 1 XX I n i t i a t o r r e s p o n d s t o T a rg e t
1 0 1 1 0 1 0 1 XX n e x t by t e o f M E S SAG E OUT p h a s e
1 0 1 1 0 1 1 1 01 I n i t i a t o r s e n d s E X T E N D E D M E S S AG E
1 0 1 1 0 0 1 1 01 T a rg e t t a k e s byte
1 0 1 1 0 0 0 1 XX end of trans fer
1 0 1 1 0 1 0 1 XX n e x t b y t e o f M E S SAG E OUT p h a s e
1 0 1 1 0 1 1 1 03 I n i t i a t o r s e n d s me s s a g e l e n g t h
1 0 1 1 0 0 1 1 03 Target takes byte
1 0 1 1 0 0 0 1 XX e n d o f t r a n s fe r
1 0 1 1 0 1 0 1 XX n e x t byt e o f M E S SAG E O U T p h a s e
1 0 1 1 0 1 1 1 01 I n i t i a t o r s e n d s S D T R me s s a g e code
1 0 1 1 0 0 1 1 01 T a rg e t t a k e s byte
1 0 1 1 0 0 0 1 XX end of trans fer
1 0 1 1 0 1 0 1 XX n e x t by t e o f M E S S AG E O U T p h a s e
1 0 1 1 0 1 1 1 32 I n i t i a t o r s e n d s t r a n s fe r p e r i o d
1 0 1 1 0 0 1 1 32 T a rg e t t a k e s by t e
1 0 1 1 0 0 0 1 XX e n d o f t r a n s fe r
B S Y S E L M S G C / D I / 0 R EQ A C K A T N D B 0 - 7 Bus P h a s e or Con d i t i on
WAR N I N G : Synchronous negotiation may occur at any time! Another typical time when negotiation could
happen would be prior to a DATA IN or DATA OUT phase.
Target (Bus I D 0) , Logical Unit 1 , reconnect to I nitiator (Bus I D 3) . A 256 byte DATA OUT transfer
= =
then begins from the Initiator to the Target with a R EO/ ACK Offset of 4. The connection is completed with
a SAVE DATA POI NTER and DISCO N N ECT M ESSAG E I N .
1 0 0 0 0 0 0 0 01 A RB I T RAT I O N
1 1 0 0 0 0 0 0 01 b u s wi n n e r ta kes b u s
1 1 0 0 0 0 0 0 09 a s s e rt s D B w i t h I D s
0 1 0 0 1 0 0 0 09 R E S E L ECT I O N
1 1 0 0 1 0 0 0 09 I n i t i ator responds to R E S E LECT ION
1 0 0 0 1 0 0 0 XX T a rg e t r e s p o n d s to I n i t i a t o r ( * 1 )
1 0 1 1 1 0 0 0 XX s t a rt o f p h a s e c h a n g e
1 0 1 1 1 0 0 0 81 T a rg e t s e n d s I D E NT I FY mes s a g e
1 0 1 1 1 1 0 0 81 b e g i n n i n g o f M E S S AG E I N p h a s e
1 0 1 1 1 1 1 0 81 I n i t i a t o r t a k e s I D E NT I F Y mes s a g e
1 0 1 1 1 0 1 0 XX
1 0 1 1 1 0 0 0 XX e n d o f t r a n s fe r
(*2) : The Target can assert REO anytime after the leading edge of the ACK. This example shows the
fastest timing.
I nitiator is sending Synchronous Data Transfer Request to Target when the Target detects a parity error
during the transfer.
1 0 1 1 0 1 0 1 XX n e x t b y t e o f M E S SAG E O U T p h a s e
1 0 1 1 0 1 1 1 64 I n i t i a t o r s e n d s t r a n s fe r p e r i od
1 0 1 1 0 0 1 1 64 T a rg e t t a k e s byte and i g n o r e s i t
1 0 1 1 0 0 0 1 XX e n d o f t ra n s fe r
B S Y S E L MSG C / D I /0 R E Q A C K ATN D B 0 - 7 Bus Phase o r Con d i t i on
B S Y S E L M S G C / D 1 / 0 R EQ A C K A T N D B 0 - 7 Bus P h a s e o r Condi t i on
1 0 1 1 0 1 0 1 XX l a s t by t e o f M E S S AG E OUT p h a s e
1 0 1 1 0 1 0 0 oc I n i t i a t o r n e g a t e s ATN
1 0 1 1 0 1 1 0 oc I n i t i a t o r s e n d s R EQ / A C K o f f s e t
1 0 1 1 0 0 1 0 oc T a r g e t t a k e s byte a n d i g n o re s i t
1 0 1 1 0 0 0 0 XX end of trans fer
1 0 1 1 0 1 0 0 XX b eg i n n i n g o f M E S SAG E O U T r e t ry
1 0 1 1 0 1 0 1 XX I n i t i ator responds wi th ATN
1 0 1 1 0 1 1 1 01 I n i t i a t o r s e n d s E X T E N D E D M E S SAG E
1 0 1 1 0 0 1 1 01 T a r g e t t a k e s byte
1 0 1 1 0 0 0 1 XX e n d o f t r a n s fe r
1 0 1 1 0 1 0 1 XX n e x t byte o f M E S S AG E OUT p h a s e
1 0 1 1 0 1 1 1 03 I n i t i a t o r s e n d s m e s s ag e l e n g t h
1 0 1 1 0 0 1 1 03 T a r g e t t a k e s by t e * PA R I T Y O KA Y ! *
1 0 1 1 0 0 0 1 XX e n d o f t ra n s fe r
1 0 1 1 0 1 0 1 XX n e x t by t e o f M E S S AG E OUT p h a s e
1 0 1 1 0 1 1 1 01 I n i t i a t o r s e n d s S D T R me s s ag e code
1 0 1 1 0 0 1 1 01 T a r g e t t a k e s by t e
1 0 1 1 0 0 0 1 XX e n d o f t r a n s fe r
1 0 1 1 0 1 0 1 XX n e x t b y t e o f M E S S AG E OUT p h a s e
1 0 1 1 0 1 1 1 64 I n i t i a t o r s e n d s t r a n s fe r p e r i o d
1 0 1 1 0 0 1 1 64 T a r g e t t a k e s byte
1 0 1 1 0 0 0 1 XX e n d o f t r a n s fe r
1 0 1 1 0 1 0 1 XX l a s t by t e o f M E S S AG E O U T p h a s e
1 0 1 1 0 1 0 0 oc I n i t i a t o r n e g a t e s ATN
1 0 1 1 0 1 1 0 oc I n i t i ator sends REQ/ACK offset
1 0 1 1 0 0 1 0 oc T a r g e t t a k e s by t e a n d a c c e p t s i t
1 0 1 1 0 0 0 0 XX e n d o f t r a n s fe r
1 0 1 1 1 0 0 0 XX s t a rt o f p h a s e c h a n g e
and so on . . . .
B S Y S E L M S G C / D I /0 R E Q A C K A T N D B 0 - 7 Bus P h a s e or Con d i t i on
B S Y S E L M S G C / D I /0 R EQ A C K ATN D B 0 - 7 B u s P h a s e o r C on d i t i o n
0
0
1 1 1 1 0 0 0 XX s tart of phase change
0
1 1 1 1 0 0 0 01 T a rg e t s e n d s EXT E N D E D M E S S AG E
0
1 1 1 1 1 0 0 01 b eg i n n i n g o f M E S S AG E I N p h a s e
0
1 1 1 1 1 1 0 01 I n i t i a t o r t a k e s byt e
0
1 1 1 1 0 1 0 XX
1 1 1 1 0 0 0 XX e n d o f t r a n s fe r
0
0
1 1 1 1 0 0 0 03 T a rg e t s e n d s me s s a g e l e n g t h
0
1 1 1 1 1 0 0 03 n e x t by t e o f M E S S A G E I N p h a s e
0
1 1 1 1 1 1 0 03 I n i t i a t o r t a k e s by t e
1 1 1 1 0 1 0 XX *PARITY ERROR ! *
1 0 1 1 1 0 1 1 XX I n i t i a t o r a s s e r t s A T N b e fo re
1 0 1 1 1 0 0 1 XX n e g a t i n g AC K ; e n d o f t r a n s fe r
1 0 1 1 1 0 0 1 01 T a rg e t s e n d s S DT R me s s a ge c o d e
1 0 1 1 1 1 0 1 01 n e x t by t e o f M E S SAG E I N p h a s e
1 0 1 1 1 1 1 1 01 I n i t i a t o r t a k e s by t e , i g n o r e s i t
1 0 1 1 1 0 1 1 XX
1 0 1 1 1 0 0 1 XX e n d o f t r a n s fe r
0
0
1 1 1 1 0 0 1 3F T a r g e t s e n d s t ra n s fe r p e r i o d
0
1 1 1 1 1 0 1 3F n e x t byte o f M E S S A G E I N p h a s e
0
1 1 1 1 1 1 1 3F I n i t i a t o r t a k e s byt e , i g n o r e s i t
0
1 1 1 1 0 1 1 XX
1 1 1 1 0 0 1 XX e n d o f t r a n s fe r
0
0
1 1 1 1 0 0 1 oc T a r g e t s e n d s REQ/ACK o f f s e t
1 1 1 1 1 0 1 oc n e x t byt e o f M E S S AG E I N p h a s e
1 0 1 1 1 1 1 1 oc I n i t i a t o r t a k e s byt e , i g n o re s i t
1 0 1 1 1 0 1 1 XX
1 0 1 1 1 0 0 1 XX e n d o f t r a n s fe r
1 0 1 1 0 0 0 1 XX s t a r t of p h a s e c h a n g e
1 0 1 1 0 1 0 1 XX b e g i n n i n g o f M E S S AG E O U T p h a s e
1 0 1 1 0 1 0 0 09 I n i t i ator negates ATN
1 0 1 1 0 1 1 0 09 I n i t i a t o r s e n d s M E S SAG E PAR I TY
E R ROR m e s s a g e
1 0 1 1 0 0 1 0 09 T a rg e t t a k e s mes s a g e
1 0 1 1 0 0 0 0 XX end of phase
B S Y S E L M S G C / D I /0 R E Q A C K A T N D B 0 - 7 Bus Phase o r Con d i t i on
1 0 1 1 1 0 0 0 3F T a rg e t s e n d s t r a n s fe r p e r i od
1 0 1 1 1 1 0 0 3F n e x t byte o f M E S S A G E I N p h a s e
1 0 1 1 1 1 1 0 3F I n i t i a t o r t a k e s byte
1 0 1 1 1 0 1 0 XX
1 0 1 1 1 0 0 0 XX end of trans fer
1
1
1 0 1 1 0 0 0 oc T a r g e t s e n d s R EQ / A C K o f f s e t
1 0 1 1 1 0 0 oc n e x t byt e o f M E S S AG E I N p h a s e
1 0 1 1 1 1 1 0 oc I n i t i ator ta kes byte
1 0 1 1 1 0 1 0 XX
1 0 1 1 1 0 0 0 XX e n d o f t r a n s fe r
1 0 0 1 0 0 0 0 XX s t a rt o f p h a s e change
1 0 0 1 0 1 0 0 XX b e g i n n i n g o f C OMMA N D p h a s e
1 0 0 1 0 1 1 0 12 I n i t i a t o r s e n d s Comm a n d byte 0
1 0 0 1 0 0 1 0 12 T a rg e t t a k e s by t e
1 0 0 1 0 0 0 0 XX e n d o f t ra n s fe r
and so on . . .
B S Y S E L M S G C / D I / 0 R EQ A C K A T N D B 0 - 7 Bus Phase o r Con d i t i on
transfer then begins from the Target to the Initiator with a REO/ACK Offset of 3 . The connection is
completed with a SAVE DATA POI NTER and DISCO N N ECT M ESSAG E I N .
B S Y S E L M S G C / D I / 0 R EQ A C K A T N D B 0 - 1 5 B u s Phase or Cond i t i on
0 0 0 0 0 0 0 0 0000 BUS FRE E
1 0 0 0 0 0 0 0 0002 A R B I T RAT I O N
1 1 0 0 0 0 0 0 0002 bus wi n n e r takes b u s
1 1 0 0 0 0 0 0 OOOA a s s e rt s DB w i t h I D s
0 1 0 0 1 0 0 0 0002 R E S E L EC T I ON
xxxx
1 1 0 0 1 0 0 0 0002 I n i t i a t o r re s p o n d s t o R E S E L ECT I O N
1 0 0 0 1 0 0 0 T a rg e t re s po n d s t o I n i t i a t o r ( * 1 )
1 0 1 1 1 0 0 0 xxxx s tart of phase change
1 0 1 1 1 0 0 0 0080 T a rg e t s e n d s I D E NT I FY mes s a g e
1 0 1 1 1 1 0 0 0080 b e g i n n i n g of M E S S A G E I N p h a s e
xxxx
1 0 1 1 1 1 1 0 0 080 I n i t i a t o r t a k e s I D E N T I FY me s s a g e
xxxx
1 0 1 1 1 0 1 0
1 0 1 1 1 0 0 0 e n d o f t r a n s fe r
1 0 0 0 1 0 0 0 xxxx s t a rt o f p h a s e c h a n g e
1 0 0 0 1 0 0 0 0 1 00 Target puts 1 s t data word on bus
1 0 0 0 1 1 0 0 0 1 00 f i r s t R E Q o f DATA I N p h a s e
1 0 0 0 1 0 0 0 0 100 n e g a t e R EQ p u l s e
1 0 0 0 1 0 0 0 0302 next data word on b u s
1 0 0 0 1 1 0 0 0302 next REQ
1 0 0 0 1 0 0 0 0302 n e g a t e R EQ p u l s e
1 0 0 0 1 0 0 0 0504 n e x t d a t a w o r d on b u s
1 0 0 0 1 1 0 0 0504 n e x t REQ : T a r g e t s t a l l s d u e t o
1 0 0 0 1 0 0 0 0504 REQ/ACK Offset ; negate REQ p u l se
xxxx
0
1 0 0 0 1 0 1 0 I n i t i ator a s s e rts 1st ACK p u l se
1 0 0 1 0 1 0 0706 next data word on bus
1 0 0 0 1 1 1 0 0706 T a rg e t a s s e r t s n e x t R E Q p u l s e ( * 2 )
1 0 0 0 1 1 0 0 0706 I n i t i ator negates ACK p u l se
BSY SEL MSG C/D I /0 REQ ACK ATN DB0-7 Bus P h a s e o r Cond i t i on
(*1 ) : The Initiator then negates BSY; the Target is still asserting BSY.
(*2) : The Target can assert REO anytime after the leading edge of the ACK. This example shows the
fastest timing.
B S Y S E L M S G C / 0 I / 0 R EQ AC K A T N D B 0 - 7 Bus P h a s e or Con d i t i on
1 0 0 0 1 0 1 0 xxxx I n i t i ator a s s erts next ACK pul se
1 0 0 0 1 0 1 0 0908 next d a t a word on b u s
1 0 0 0 1 1 1 0 0908 T a r g e t a s s e rt s n e x t R EQ p u l s e
1 0 0 0 1 1 0 0 0908 I n i t i ator negates ACK p u l se
1 0 0 0 1 0 1 0 xxxx I n i t i a t or a s s erts next ACK pu l s e
1 0 0 0 1 0 1 0 OBOA n ex t d a t a w o r d o n b u s
1 0 0 0 1 1 1 0 OBOA T a rg e t a s s e rt s n e x t R EQ p u l s e
1 0 0 0 1 1 0 0 OBOA I n i ti ator negates ACK p u l se
a n d s o o n . . . . u n t i l e n d o f t r a n s fe r . . . .
1 0 0 0 1 0 1 0 xxxx I n i t i a t o r a s s e r t s next AC K p u l s e
1 0 0 0 1 0 1 0 FDFC n e x t d a t a word o n b u s
1 0 0 0 1 1 1 0 FDFC T a rg e t a s s e r t s n e x t R EQ p u l s e
1 0 0 0 1 1 0 0 FDFC I n i t i ator negates ACK p u l s e
1 0 0 0 1 0 1 0 xxxx I n i t i ator a s serts next ACK pu l s e
1 0 0 0 1 0 1 0 FFFE next data word on bus
1 0 0 0 1 1 1 0 FFFE T a rg e t a s s er t s L A S T R E Q p u l s e
1 0 0 0 1 1 0 0 FFFE I n i t i a t o r n e g a t e s AC K p u l s e
1 0 0 0 1 0 1 0 xxxx I n i t i a t o r a s s e rt s next ACK pul se
1 0 0 0 1 0 0 0 xxxx I n i ti ator negates ACK pul se
1 0 0 0 1 0 1 0 xx x x I n i ti ator asserts next ACK pu l se
1 0 0 0 1 0 0 0 xxxx I n i ti ator negates ACK pul se
1 0 0 0 1 0 1 0 xxxx I n i t i ator asserts next ACK pul se
1 0 0 0 1 0 0 0 xxxx I n i t i ator negates ACK p u l s e
1 0 0 0 1 0 0 0 xxxx end o f trans fer
1 0 1 1 1 0 0 0 xxxx s t a rt o f p h a s e c h a n g e
1 0 1 1 1 0 0 0 0002 T a rg e t s e n d s S A V E D A T A P O I N T E R
1 0 1 1 1 1 0 0 0002 b e g i n n i n g o f M E S SAG E I N p h a s e
1 0 1 1 1 1 1 0 0002 I n i t i a t o r t a k e s M E S S AG E IN byt e
1 0 1 1 1 0 1 0 xxxx
1 0 1 1 1 0 0 0 0004 T a rg e t s e n d s D I S C O N N E C T m e s s a g e
1 0 1 1 1 1 0 0 0004 n e x t by t e o f M E S S A G E I N p h a s e
1 0 1 1 1 1 1 0 0004 I n i t i a t o r t a k e s M E S S AG E I N byt e
1 0 1 1 1 0 1 0 xxxx
1 0 1 1 1 0 0 0 xxxx e n d o f t r a n s fe r
0 0 0 0 0 0 0 0 0000 BUS FREE
B S Y S E L M S G C / D I /0 R EQ A C K A T N D B 0 - 7 Bus Phase or Cond i ti on
0 1 0 0 0 0 0 1 88 S E L ECT I ON
1 1 0 0 0 0 0 1 88 T a rg e t r e s p o n d s t o s e l e c t i o n
1 0 0 0 0 0 0 1 XX I n i t i a t o r r e s p o n d s t o T a rg e t
1 0 1 1 0 0 0 1 XX s tart o f p h a s e change
1 0 1 1 0 1 0 1 XX b e g i n n i n g o f M E S S AG E OUT p h a s e
1 0 1 1 0 1 0 1 co I n i t i a t o r p u t s by t e o n b u s
1 0 1 1 0 1 1 1 co I n i t i a t o r s e n d s I D E NT I FY m e s s age
1 0 1 1 0 0 1 1 co T a r g e t t a k e s I D E N T I FY me s s a g e
1 0 1 1 0 0 0 1 XX end of phase
1 0 1 1 0 1 0 1 XX T a rg e t req u e s t s n e x t byte
1 0 1 1 0 1 1 1 20 I n i t i a t o r s e n d s S I M P L E ( Q U E U E TAG
1 0 1 1 0 0 1 1 20 T a rg e t t a k e s t h e T A G me s s a g e
1 0 1 1 0 0 0 1 XX end of phase
1 0 1 1 0 1 0 1 XX T a rg e t req u e s t s n e x t by t e
1 0 1 1 0 1 0 0 09 I n i t i ator negates ATN
1 0 1 1 0 1 1 0 09 I n i t i ator sends the Queue Tag
1 0 1 1 0 0 1 0 09 T a rg e t t a k e s t h e T a g
1 0 1 1 0 0 0 0 XX end o f p h a s e
B S Y S E L MSG C / D I /0 REQ ACK ATN DB0-7 Bus Phase or Cond i t i on
more . . . .
1 1 0 1 1 1 0 0 0000 1 T a rg e t a s s e r t s P r i o r i ty C o d e l s b
1 1 0 1 1 1 0 1 0000 1 a l l dev i ces assert DBS
1 1 0 1 1 0 0 1 0000 1 a l l d e v i c e s re l e a s e D B 7
1 1 0 1 1 0 1 1 0000 1 a l l dev i ces read DB4-0 ; ass ert DB
1 1 0 1 1 0 1 0 0000 1 a l l d e v i c e s re l e a s e D B 5
xxxxx
1 1 0 1 1 1 1 0 XXXXX a l l dev i ces as sert DB7
1 1 0 1 1 1 0 0 a l l d e v i c e s re l e a s e D B 6
a n d s o o n . . . u n t i l o n e S CAM T a rg e t i s 1 e f t . . .
1 1 0 1 1 1 0 0 10000 I n i t i a t o r a s s e r t s T e rm i n a te ( * 1 )
1 1 0 1 1 1 0 1 10000 a l l dev i ces a s sert DBS
1 1 0 1 1 0 0 1 1 0000 a l l d e v i c e s re l e a s e D B 7
1 1 0 1 1 0 1 1 1 0000 a l l d e v i c e s r e a d D B 4 - 0 ; a s s e r t DB
1 1 0 1 1 0 1 0 10000 a l l d e v i c e s re l e a s e D B S
1 1 0 1 1 1 1 0 XXXXX a l l d e v i c e s a s s e rt D B 7
1 1 0 1 1 1 0 0 XXXXX a l l dev i ces rel ease DB6
xxxxx
1 1 0 1 1 0 1 0 1000 1 a l l d e v i c e s re l e a s e D B 5
xxxxx
1 1 0 1 1 1 1 0 a l l dev i ces as sert DB7
1 1 0 1 1 1 0 0 a l l dev i ces rel ease DB6 _
BSY S E L MSG C / D I /0 DB7 DB6 DBS DB4-0 Bus Phase or Cond i t i on
(*1 ) : Actually, the SCAM Initiator does not have to transfer the Terminate code if only one SCAM Target
remains (as indicated by the 00000 pattern on the previous transfer cycle). If more than one SCAM
Target remains, then the Terminate code must be asserted before an Action may be asserted.
even more . . . .
Pointers
Pointers are "virtual" registers that refer to a byte position relative to a particular phase. The actual
physical structure within the Initiator for each pointer may be completely different. The structure and
arrangement of pointers are shown below:
<
res tore
C u rre n t C omm a n d P o i n t e r S a v e d Comm a n d P o i n t e r
I<
re s t o re
C u rre n t D a t a P o i n t e r
s ave >I Saved Data Poi nter
r e s t o re
C u rre n t S t a t u s P o i n t e r < Saved Status Poi n ter
• Current Pointers are incremented by one after the transfer of one byte in its corresponding phase.
Within each type, there are three pointers, one for each type of non-message phase:
• Command Pointer refers to COMMAND Phase information (see SCSI Commands, page 95) .
• Status Pointer refers to STATUS Phase information (see Status Byte , page 239).
• Data Pointer refers to DATA Phase information (since a DATA OUT Phase and a DATA I N Phase
may not occur during the one command execution, only one pointer is defined) .
There are no pointers for M ESSAG E Phase information since messages are used to control the pointers.
• Current Command Pointer: points at the source of the next COM MAN D byte to transfer during a
COM MAN D Phase.
• Current Status Pointer: points at the destination of the next STATUS byte to transfer during a
STATUS Phase.
• Saved Command Pointer: set to point at the source of the first COMMAND byte . Does not change
during the execution of the command (The pointer retains its initial value) .
• Saved Status Pointer: set to point at the destination of the first STATUS byte. Does not change
during the execution of the command. (The pointer retains its initial value) .
• Saved Data Pointer: At the start of a command, this is set to point at the first DATA byte. If the
Target issues a SAVE DATA POI NTER message, then the contents of the Current Data Pointer is
copied into this pointer.
R ESTORE: The contents of a Saved Pointer is copied into its corresponding Current Pointer whenever:
• The Initiator makes the initial Selection of the Target (begins a command) ; or
MODIFY: The Current Data Pointer may also b e modified by a M O D I FY DATA P O I NTER message. The
value passed in the message is two' s complement added to the Current Data Pointer. Subsequent
DATA phases occur from the new pointer value. This message does not affect the contents of the
Saved Data Pointer.
WAR N I NG : The contents of the Current Pointers usually cannot be trusted to contain meaningful
informatio n at the end of a transfer. This is due to pointer control (save and modify) by the Target.
Pointers cannot reliably be used to determine, for example, how many bytes were actually transferred
during a phase.
I
Me s s a g e N a m e Code D i recti on M E S SAG E O U T ? ( * 2 )
ABO RT [ABORT TAS K S ET] ( * 3 ) 06h To Target on l y Yes
ABO RT TAG [ABORT TAS K] ODh To Target on l y Yes
B U S D EV I C E R E S ET [TARG E T R E S ET] OCh To Target on l y Yes
C L EAR A C A 16h To Target on l y No
C L EA R Q U E U E [ C L EA R TAS K S ET] OEh To Target on l y Yes
COMMAND C OM P L E T E [TAS K COM P L E T E] OOh To I n i t i ator on l y
CONT I N U E TAS K 12h To Target on l y Yes
D I SCONNECT 04h To I n i t i ator on l y
D I SCONNECT 04h To Target on l y Yes
I D E N T ! FY (* 1 ) B o t h ways No
I N I T I AT E R ECOV E R Y OFh B o t h ways Yes
I N I T I AT O R D E T E C T E D E R RO R 05h T o T a rg e t o n l y Yes
L I N K E D COMMAN D COM P L E T E OAh To I n i t i ator on l y
L I N K E D COMMAN D COMP L E T E ( W I T H F LAG ) OBh T o I n i t i a to r o n l y
LOG I CA L U N I T R E S E T 17h T o Target on l y Yes
M ES SAG E P A R I T Y E R RO R 09h To Target on l y Yes
M E S SAG E R EJ E C T 07h B o t h ways Yes
NO O P E RAT I O N 08h To Target on l y Yes
R E L EA S E R ECOV E RY lOh T o T a rg e t o n l y Yes
R E S T O R E P O I NT E R S 03h To I n i t i a t o r o n l y
SAV E DATA P O I NT E R 02h To I n i t i ator on l y
TARG ET T RA N S F E R D I S A B L E 13h To Target on l y Yes
T E RM I NAT E I / 0 P ROC E S S [ T E RM I NAT E TAS K] llh T o T a rg e t o n l y Yes
1 4h , 1 5 h , l8h - l Fh R e s e r v e d f o r o n e by t e me s s a g e s
3 0 h - 7 Fh R e s e r v e d , m i g h t ( o r m i g h t n o t ) b e o n e by t e m e s s a g e s
(* *) : see n ext page for notes.
(*2) : When sent by the Initiator. If this message must be the last message of a M ESSAG E OUT
phase, then the I nitiator must negate the ATN signal before asserting ACK for the last byte of
the message (see page 6 1 ). - =Not Applicable.
(*3) : Any message name changes between SCS I-2 and SCSI-3 are indicated by (] .
SCS I -2 Format
By � �t 7 6 5 4 3 2
I
1
I
0
SOh - S7h : "simple" I D E NTIFY for Logical Units 0-7, Disconnects disabled by the Initiator; sent by
Target after RESELECTION phase.
COh - C7h: I DENTI FY for Logical Units 0-7, Disconnects enabled by the Initiator.
AOh - A7h : I D E NTI FY for Target Routines 0-7, Disconnects disabled by the Initiator (SCSI-2 only) .
EOh - E7h : I D E NTI FY for Target Routines 0-7, Disconnects enabled by the Initiator (SCSI-2 only) .
SCS I -3 Format
By �� t 7 6 5
I 4
I 3
I 2
I 1
I 0
0 I d e n t i fy D i s c P r i v Lo g i c a l U n i t N u m b e r
SOh - BFh: "simple" I D E NTIFY for Logical Units 0-63, Disconnects disabled by t h e I n itiator; sent by
Target after RESELECTION phase.
COh - FFh: I D E NTI FY for Logical U n its 0-63, Disconnects enabled by the I nitiator.
(* 1 ) : When sent b y the Initiator. I f this message must b e the last message of a M ESSAG E OUT
phase, then the I nitiator must negate the ATN signal before asserting ACK for the last byte of
the message (see page 6 1 ) . - Not Applicable.
=
(*2) : Any message name changes between SCSI-2 and SCSI-3 are indicated by (] .
IGNORE W I D E R ES I D U E Message
I g n o re B i t s t o i g n o re a t e n d o f d a t a t ra n s fe r
Code 1 6 -b i t d a t a trans fers 3 2 - b i t d a t a t r a n s fers
OOh Reserved Reserved
Olh i g n o re D B ( l 5 -8 ) i g n o re D B ( 3 1 -2 4 )
02h Reserved i g n o re D B ( 3 1 - 1 6 )
03h Res e r v e d i g n o re D B ( 3 1 - 8 )
04h - FFH Reserved Reserved
(*3) : When sent by the I nitiator. If this message must be the last message of a M ESSAGE O UT
phase, then the I n itiator must negate the ATN signal before asserting ACK for the last byte of
the message (see page 6 1 ) . - Not Applicable.
=
Ad d i t i o n a l
Extended Message Mes s a g e
Mes s a g e Le n g t h Code Total
( Byt e 0 ) ( Byte 1 ) ( Byte 2 ) Le n g t h Des cri pt i on
Olh 05h OOh 7 by t e s MOD I FY DATA P O I NT E R
Olh 03h Olh 5 by t e s S Y N C H RO N O U S DATA T RA N S F E R R EQU E S T
Olh 02h 03h 4 byt e s W I D E DATA T RA N S F E R R E Q U E S T
Olh 02h n o t u s ed
Olh 04h - 7 Fh Re s e rv e d f o r f u t u re s t a n d a r d s
Olh 80h - FFh Av a i l a b l e f o r V e n d o r U n i q u e
mes s ages
- = N ot Applicable
Transfer Period: indicates the minimum time (in 4 nsec increments) between leading edges of R E O or
ACK that the device that sends this message can accept. Some interesting values include:
I
• 1 9h = 1 00 nsec; 1 0Mtransfersjsec maximum SCSI-2 " Fast" data transfer rate.
• OCh = 50 nsec (honest ! ) ; 20Mtransfersjsec maximum SCSI-3 " Fast-20" data transfer rate. (Note :
"OCh" is used because 50 nsec cannot be expressed as a multiple of four.)
• 06h? = 25 nsec; 40Mtransfersjsec maximum SCSI-3 " Fast-40" data transfer rate (this number is
not official by any means; we're just guessing ! )
REO/ACK Offset: indicates t h e maximum number of R E O pulses that the device that sends this
message can :
• (As a Target) send before receiving the leading edge of an ACK pulse.
• (As an Initiator) receive before sending the leading edge of an ACK pulse.
Transfer Width Exponent Code : indicates the bus width as a power of 2 bytes :
• 01 h = 1 6 bits/2 bytes wide (SCSI-3 Primary Bus, or SCSI-2 A/B Cable combination).
I
• 02h = 32 bits/4 bytes wide (SCSI-3 Primary/Secondary Bus combination, or SCSI-2 A/B Cable
combination) .
M O D I FY DATA P O I NTER
Argument: a two's complement value that i s added t o the Current Data Pointer value. The Saved Data
Pointer, or any other pointer, is not affected.
The following table summarizes t h e requirements for S C S I Targets when responding to t h e ATN Signal
(i.e., the Attention Condition) . Many SCSI-I Targets that are "Common Command Set (CCS)" compatible
will also behave as described. Other SCSI-I Targets will do as they please, as allowed by the SCSI-I
standard. (NOTE: These requirements were established in SCSI-2.)
If the ATN Signal goes true during : Then the Target must enter M ESSAG E O UT Phase:
COM MAND Phase After all or part of the Command bytes are transferred
I
M ESSAGE IN Phase Before it sends another message to the Initiator
RESELECTION Phase Right after the Target sends the IDENTI FY Message in
1
By � �t 7
I
6
I
5
I 4
I 3
I
2
I J
0
0 Operat i on Code
1 P a rame t e r Byte 1
2 P a rame t e r By t e 2
. . . . . .
N P a rame t e r By t e N
N+l C o n t r o l Byte
The number of bytes of parameters ("N") can be determined from the Operation Code byte, which is
located in byte 0 of the Command Descriptor Block (CDB) . See next page . . .
O perati o n Code
By � �t 7
I
6
I
5 4 J 3
I
2 I
1 I
0
0 G ro u p C o d e C omm a n d C o d e
Group Code : establishes the total command length , a s shown in the following table :
G ro u p C o d e Total Number of C o n t r o l By t e
4 5
Val ue C omma n d Le n g t h P a rame t e r Byt e s Locat i on
000 6 bytes byt e s by t e
00 1 1 0 byt e s 8 byt e s byte 9
1 0 byte s 8 by t e s by t e 9
141 0 byby tt ee ss
010
1151
011 n o t d e f i n e d - re s e rv e d
100
12
1 6 byt e s
bytes
�*1�
byte
by t e
*1
101
1 10 vendor speci fi c
111 vendor spec i fi c
Command Code : establishes the command function. Note that the same command code can indicate
different functions for d ifferent group codes.
(*1 ) : WAR N I N G : These groups have been defined as six byte commands for some vendors, while other
vendors have made these ten byte or twelve byte commands.
Control Byte
By�� t 7
I
6 5
I
4
I
3 2 1 0
Las
t Vendor speci fi c Re s e rv e d NACA Fl ag Li n k
Flag: 0 = no function . M ust be zero if Link is zero. If Link is one then the LI N KE D COMMAND
COM PLETE message is used to indicate the end of the command.
1 = use the LI N KE D COMMAND COM P LETE (WITH FLAG) message to indicate the end
of the command.
NACA: 0 =SCSI-2 Contingent Allegiance condition rules apply if the command causes the Target
to return C H EC K CON D ITION or COM MA N D TER M I NATED status. (* 1 )
1 = SCSI-3 Auto Contingent Allegiance (ACA) condition rules apply if the command
causes the Target to return C H ECK CON DITION or COM MAND TER M I NATED status.
The Vendor Specific bits allow the vendor to create special bits that affect all commands, if needed.
(* 1 ) : Note that this definition is true only for the parallel SCSI bus. Serial SCSI implementations do neat
things like returning Sense Data automatically with the Status response. Therefore, for Serial SCS I ,
NACA = O means "no ACA, just return Sense Data" .
�
R EQU E S T S E N S E
:,R E S E R V E 6 )
R E S E RV E 1 0 )
122
123
124
SPC
S PC
SPC
7 . 20
7 .21
7 . 22
03h
16h
56h
S EN D D I AG N OS T I C 126 SPC 7 . 23 1Dh
T E S T U N I T R EADY 128 SPC 7 . 24 OOh
WRITE BUFFER 129 SPC 7 . 25 3Bh
INQU I RY Command
1
By r� t 7
I
6
I
5
I
4
I
3
I
2
I I
0
0 O p e ra t i o n C o d e ( 1 2 h )
1 { Lo g i c a l U n i t N u mb e r } I Reserved j Cmd D t l EVPD
2 Page Code o r Operat i on Code
3 Re s e rv e d
4 A l l o c a t i o n Le n g t h
5 C o n t r o l Byte
* I N Q U I RY is issued to determine the device type of a particular Logical U nit. I N Q U I RY is also used
to determine some basic information about implemented options and product name.
EVPD CmdDt: The Combination of EVP D and CmdDt determine the use of the Page Code or
-
(CmdDt I EVPD)
00 return standard I N Q U I RY data (as shown below)
=
01 return Vital Product Data (VPD) for the specified Page Code (see SPC)
=
1 0 return Command Support Data for the specified Operation Code (see SPC)
=
Allocation Length : maximum number of data bytes the Target may send.
Page Code or Operation Code : indicates which VPD page or Command Support data to return. VPD
pages are used to return vendor specific data. The SCSI-3 Primary Commands (SPC) currently
defines the following uses for VPD pages:
• Field replaceable unit data (related to FRU code in Sense Data, see page 240)
• Identification data
The Command Support data returns the COB length in bytes and also returns a bit map that indicates
which bits within the COB are implemented by the Target. See SPC for more details.
By � it 7
I 6
I 5 4
I 3
I
2
I
1
I
0
more . . . .
By ��
t 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
16 (MSB ) -
17 -
18 -
19 -
20 -
21 -
22 -
23
P ro d u c t I d e n t i f i c a t i o n -
24 -
25 -
26 -
27 -
28 -
29 -
30
31 ( LS �
32 (MSB) -
33
P ro d u c t Re v i s i o n L e v e l -
34
35 ( L S�
36
- - -
r- - Vendor Spec i fi c - -
55
56
- - -
1- - R e s e rv e d - -
95
96-nn V e n d o r - S p e c i f i c P a r ame t e r s
Peripheral Qualifier:
000 = peripheral is connected and is specified by Device Type field.
00 1 = peripheral not connected, Device Type indicates what could be connected.
010 = reserved
01 1 = Logical U nit not supported , Device Type must be set to 1 Fh (see Device Type table
below) .
1 00, 1 0 1 , 1 1 0, 1 1 1
= vendor specific Device Type.
De v i c e Type R e f e re n c e
Code S t a n d a rd Des cri pti on
OOh SBC D i rect-acces s dev i ce ( e . g . , magnet i c d i s k )
Olh sse Sequent i a l -acce s s dev i ce ( e . g . , mag n et i c tape)
02h sse P r i n t e r dev i ce
03h SPC Processor dev i ce ( e . g . , host to h o s t )
04h SBC W r i t e - o n c e r e a d -m u l t i p l e d e v i c e ( s ome o p t i c a l d i s k s
!
05h MMC C D - ROM d e v i c e
06h SGC S c a n n e r dev i ce
07h SBC O p t i c a l memo ry d e v i c e e . g . , s ome o p t i c a l d i s k s )
08h SMC M ed i um C h a n g e r d e v i c e e . g . , j u k e b o x e s )
09h sse C omm u n i c a t i o n s d e v i c e e . g . , LAN b r i d g e )
OAh - O B h D e f i n e d b y A S C I TS fo r G r a p h i c s A r t s P r e - P re s s De v i c e s
OCh sec A r r ay C o n t r o l l e r ( e . g . , RA I D a r ray c o n t ro l l e r )
ODh SES E n c l o s u re S e r v i c e s De v i c e
OEh - lEh Re s e rv e d
l Fh U n k n ow n o r n o d e v i ce type
Device-Type Qualifier: This is a vendor specific code that may further qualify the device type. NOTE:
This field has been reclaimed in SCSI-3 and is now reserved.
ECMA Version : see ECMA-1 1 1 . (Note : ECMA has withdrawn this standard. )
ANSI Version : 0 = the device might or might not be an ANSI standard device
1 = SCSI-1 device (X3. 1 3 1 -1 986)
2 = SCSI-2 device (X3. 1 3 1 -1 994)
3 = SCSI-3 device
4-7 = reserved for "The Future"
AENC [AERC] : 0 = cannot handle Asynchronous Event Notification (AEN ) . See SCSI-2 or SAM.
1 = device is a processor device that can accept AEN data.
TrmiOP [TrmTsk] : 0 = does not support TERMI NATE 1/0 P ROCESS message. See SCSI-2 or SAM .
1 = supports TERM I NATE 1/0 P ROCESS message.
NormACA: 0
1
=
=
does not support NACA bit in the Control Byte.
supports NACA bit in the Control Byte (NACA may be set to 1 ) .
Response Data Format:
0 SCSI-1 standard I N Q U I RY data format
=
3-F reserved
=
Additional Length : indicates the number of bytes following this field ; also equals total data bytes minus
four.
Linked: 0 = does not support Linked commands (see Control Byte, page 97)
1 = supports Linked commands
TranDis: 0 = does not support CONTI N U E TASK and TARGET TRANSFER D I SABLE messages
1 = supports CONTI N U E TASK and TARG ET TRANSFER D I SABLE messages
Vendor Identification : 8 byte ASCII field indicates the product vendor of the Target. See the file
"vendorid.txt" on the SCSI BBS or the X3T1 0 web pages (see page 2) for the current list.)
Product Identification : 1 6 byte ASC I I field indicates the product name of the Target.
Product Revision Level: 4 byte ASC I I field indicates the product revision level of the Target.
aynt 7
I
6
I
5
I
4
I
3
I 2
I
1
I 0
0 O p e ra t i o n C o d e ( 4C h )
1 { Lo g i c a l U n i t N u m b e r } I Re s e r v e d I PCR I SP
2 PC I Res erved
3 R e s e rv e d
4 Res e r v e d
5 Res erved
6 R e s e rv e d
7 ( MS B )
P a r am e t e r L i s t Le n g t h -
8 ( LS B )
9 C o n t r o l Byte
* LOG S ELECT is issued to manage statistical information the Target maintains about the Logical
Unit.
Parameter List Length : the number of data bytes the Target fetches from the Initiator.
See page 131 for a descri ption of data formats for a l l devices. See specific device type for
defi ned codes for those devi ces :
o disk: page 1 80
LOG SENSE C o m m a n d
B yte
Bi t 7
I
6
I
5
I
4
_I
3
I
2
I
1
I
0
0 O p e ra t i o n C o d e ( 4 D h )
1 { Lo g i c a l U n i t N u m b e r } I Reserved I PPC I SP
2 PC I Page Code
3 Reserved
4 Reserved
5 (MSB)
6
P a r am e t e r P o i n te r
( LS"B)
7 (MSB)
8
Al l ocat i on Length
( LS"B)
9 C o n t r o l Byte
Allocation Length : maximum number of data bytes the Target may send.
See page 131 for a descripti o n of data formats for all devices. See specific device type for
defi ned codes for those d evi ces :
• disk: page 1 80
By � �t 7
I
6
I 5
I
4
I 3
I
2
I
1
I
0
0 O p e ra t i o n C o d e ( 1 5 h )
1 { Lo g i c a l U n i t N u m b e r } I PF I Reserved I SP
2 Reserved
3 Res e r v e d
4 P a rame t e r L i s t L e n g t h
5 C o n t r o l Byte
s A� t 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 O p e ra t i o n C o d e ( 5 5 h )
1 { Lo g i c a l U n i t N u m b e r } I PF I Reserved I SP
2 Res erved
3 Reserved
4 Re s e rv e d
5 Reserved
6 Reserved
7 ( MS B )
P a rame t e r L i s t Le n g t h
8 ( LS B)
9 C o n t r o l Byte
* MODE S E LECT is issued to set variable parameters in the Target for the Logical U n it.
Parameter List Length : the number of data bytes the Target fetches from the I nitiator.
See page 1 37 for a descri pti on of data formats for all devices. See specifi c devi ce type for
data formats for those devices:
• disk: page 1 8 1
By �� t 7
I
6
J
5
I
4
I 3
I
2
I
1
I
0
0 Operat i on (
Code 1Ah )
1 { Log i c a l U n i t Number } ! Re s e rv e d ! DBD I Re s e rv e d
2 PC I Page Code
3 Re s e rv e d
4 A l l ocat i on Length
5 C o n t r o l Byte
M O D E SENSE( 1 0) C o m m a n d
By rk t 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
* MODE S E N S E i s issued t o read variable and fixed parameters in the Target for the Logical Unit.
080: 0 = the Target may return Block Descriptors (see page 1 40, 1 4 1 ) if it so chooses.
1 = the Target does not return Block Descriptors.
00 = return Current Parameter settings ; i . e . , what t h e Target is using for current opera
tions.
01 = return Changeable (variable) Parameters; i.e. , what can be changed by the Initiator.
The data requested by the I nitiator is a "mask" that indicates which parameters may
be changed by the Initiator. If a field (bit, bits, byte, or bytes) has all of its bits set to
one, then the field is variable. If all of the bits are zero, then it is fixed (constant) or
not implemented.
10 = return Default Parameter settings; i.e., what the Target uses at power-up until Saved
or Current Parameters are established by the I nitiator. These are the parameters
that the Target would use "right out of the box" , until the Initiator chooses new
Current and/or Saved Parameters.
11 = return Saved Parameter settings; i . e . , what the I nitiator designates as the defaults.
After setting up the Target parameters, the I n itiator can make those parameters the
default by saving them (see SP bit in MODE S ELECT, page 1 05, 1 06, 1 07) .
Page Code: the Page Code requested by the Initiator. A Page Code of 3Fh requests that the Target
return all implemented Pages. See the description of data formats on page 1 37 .
Allocation Length : maximum number of data bytes the Target may send.
See page 1 37 for a description of data formats for all devices. See specific device type for
data formats for those devices :
• disk: page 1 8 1
By nt 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 Operat i on Code ( 5 E h )
1 { Lo g i c a l U n i t N u m b e r } I S e rv i c e A c t i o n
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 ( MS B )
Al l ocat i on Len g t h
8 ( L S i3)
9 C o n t r o l Byte
* PERSISTENT R E S E RVE I N is issued t o retrieve reservations a n d reservation keys that are active
within a Logical U nit.
02h-1 Fh reserved .
=
Allocation Length : maximum number o f data bytes the Target may send.
Bi t
B yte
7
I
6
J 5
I 4
J 3
I
2
I
1
I
0
0 (MSB)
-
1
Generat i on -
2
3 ( LS B)
4 (MSB) -
5 -
Ad d i t i o n a l Le n g t h
6
7 ( LS B)
Re s e r v a t i o n Key L i s t
0-7 F i r s t Re s e rv a t i o n Key
0-7 L a s t Re s e rv a t i o n Key
Generation : a 32 bit counter that is incremented every time a PERSISTENT R ESERVE O UT command
requests a Register, Preempt, or a Preempt and Clear operation.
Additional Length : length of the following bytes; also, the number of Reservation Keys times eight.
Reservation Key: the Key List contains all of the 8 byte Reservation Keys sent via a PERSISTENT
RESERVE O UT command.
By �� t 7
I
6
I 5
I
4
I
3
I 2
I
1
I 0
0 ( MS B ) -
1
Generat i on -
2
3 ( LS B)
4 (MSB) -
5
Add i t i on a l Length -
6
7 ( LS B)
Re s e r v a t i o n D e s c r i p t o r s
0 (MSB) -
1 -
2 -
3
Re s e r v a t i o n Key -
4 -
5 -
6
7 ( LS B)
8 (MSB) -
9
Scope-Speci fi c Address -
10
11 ( LSB)
12 Rese rved
13 Scope I Type
14 (MSB)
E x t e n t Le n g t h
15 ( LS B)
Generation : a 32 bit counter that is incremented every time a PERSISTENT RESERVE OUT command
requests a Register, Preempt, or a Preempt and Clear operation.
Additional Length : length of the following bytes; also, the number of Reservation Descriptors times 1 6 .
By � �t 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 Operat i on Code ( 5 F h )
1 { Lo g i c a l U n i t N um b e r } I S e rv i c e A c t i o n
2 Scope I Ty pe
3 Re s e rved
4 Res e rved
5 R e s e rved
6 Re s e rved
7 ( MS B )
P a rame t e r L i s t Len g t h
8 ( LS �
9 C o n t r o l Byte
* PERSISTENT RES ERVE OUT is issued to reseNe a Logical Unit, an Extent within the Logical Unit,
or an Element within the Logical U nit.
05h preempt presistent reseNations and clear the preempted Initiator's task set.
=
06h-'1 Fh reserved.
=
3-F reseNed =
'1 read shared for all; write exclusive for the reseNing Initiator.
=
2 read exclusive for the reseNing Initiator; write shared for all.
=
3 read exclusive and write exclusive for only the reseNing Initiator.
=
5-F reseNed =
Parameter List Length : number of bytes in parameter list; must be set to 24 (1 8h) .
SCSI Bench Reference Copyright © '1 989, 1 992, '1 996 E N O L Publications
SCSI G E N E RAL COMMANDS 115
PERSISTENT RESERVATI ON O U T Parameter List
By � �t 7
I 6
I 5
I 4
I 3
I 2
I 1
I 0
0 (MSB) -
1
-
2
-
3
Re s e rv a t i o n Key -
4
-
5 -
6
7 ( LS Ei')
8 (MSB) -
9 -
10 -
11
S e rv i c e A c t i o n Re s e rv a t i o n Key -
12
-
13
-
14
15 ( LS'B')
16 (MSB) -
17
S co p e - S p e c i f i c A d d re s s -
18
( LSB )
-
19
20 Res e r v e d
21 Res e r v e d I APTPL
22 (MSB)
( Ls "Bf""
E x t e n t Le n g t h
23
Reservation Key: the Reservation Key of the I nitiator performing the command.
Service Action Reservation Key: the Reservation Key of the I nitiator whose reservation is being
changed, as indicated by the Service Action field.
Scope-Specific Address: the Logical Block Address of the first block of the reserved Extent
(Scope = 1 ) , or the address of the reserved Element (Scope = 2) .
By nt 7
I
6
J
5
I
4
I 3
I 2
I
1
I 0
0 O p e ra t i o n C o d e ( 1 E h )
1 { Lo g i c a l U n i t N umbe r } I Re s e r v e d
2 Re s e rv e d
3 Re s e rv e d
4 Re s e rved I Prevent
5 C o n t r o l Byte
* P R EVENT ALLOW M E D I U M R E M OVAL controls a mechanical interlock on the Target (if any) that
prevents the user from removing the medium.
READ BUFFER C o m m a n d
By r� t 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 Operat i on Code (3Ch )
1 { Log i c a l U n i t N u m b e r } I Reserved I Mode
2 Bu ffer I D
3 ( MS B )
-
4 Bu ffer Offset
5 ( LS�
6 (MSB)
-
7 A l l o c a t i o n Le n g t h
8 ( LSB)
9 C o n t r o l Byt e
* R EAD B U FFER is used to transfer data from the Target's data buffer to the I nitiator. It is usually
issued immediately following the WRITE BU FFER command.
1 00 - 1 1 1 reserved
=
Buffer 10 : selects a buffer in the Target. A Target that has any buffer will always have a Buffer I D zero.
Buffer Offset: indicates a byte offset from the beginning of the selected buffer.
Allocation Length: maximum number of data bytes the Target may send.
By rk t 7
I
6
I
5
I
4
I 3
I 2
I
1
I 0
0 Re s e rv e d
1 ( MS B )
B u ffer Capaci ty
-
2
3 ( LSEi")"
By rk t 7
I 6 5
I I 3
I I 0
4 2 1
I J
0 Offset Boundary
1 ( MS B )
B u ffer Capaci ty
-
2
( LSB)
....,..--
Offset Boundary: "power-of-two" representation of the data size within the buffer. A value of zero
indicates byte (8-bit) boundaries. A value of one indicates word (1 6-bit) boundaries, and so on.
sy n t 7
I 6
I 5
I
4
I
3
I 2
I
1
I 0
0 Operati on Code ( 1C h )
1 { Log i ca l Un i t Number} I Reserved I PVC
2 Page Code
3 (MS B ) Al l ocati on Length
4 ( LS�
5 Control Byte
* R ECEIVE DIAG NOSTIC R ES U LTS is used to retrieve data concerning the results of a d iagnostic
function com manded by a prior S E N D DIAG NOSTIC command; or to retrieve data related to the selected
Page Code.
Page Code: indicates the function to perform. If Page Code is OOh , then return results based on the
previous S E N D DIAGNOSTIC command.
Allocation Length : m aximum number of data bytes the Target may send.
See page 1 27 for a descri pti on of parameter data formats for a l l devices. See specific
device type for data formats for those devices (disk o n ly: page 1 76).
By �� t 3 1
7
I
6
I
5
I
4
I I 2 I I 0
0 Operati on Code ( 17 h )
1 { Log i c a l Un i t Number} I 3 rd Pty I T h i rd Party Dev i ce I D T Extent
2 Reservati on Identi fi cati on
3 Reserved
4 Reserved
5 Control Byte
RELEASE(1 0) Co mmand
By �� t 7
I
6
I
5
I I 3
I 2 I 1 I 0
4
0 Operati on Code ( 5 7 h )
1 { Log i cal Un i t Number} I 3rdPty I Reserved I Lon g i D I Extent
2 Reserv at i on I dent i f i cati on
3 T h i rd Party Dev i ce I D
4 Reserved
5 Reserved
6 Reserved
7 (MS B ) Parameter Li st Length ( LSB)
-
8
9 Control Byte
* RELEASE is used to cancel a reservation made via a RESERV E command. It is not an error to
release non-existent reservations.
3rdPty: 0 = release the reservation that was made to the Initiator issuing the command.
1 = release the reservation that was made to the I nitiator specified in the Third Party
Device I D field.
Third Party Device 10 : specifies which Initiator has the reservation to release when the 3rd Pty bit is 1 .
3 1 0
syn t 7
I
6
I
5
I
4
I I
2
I I
0 {MSB) -
1 -
2 -
3 Th i rd Party Dev i ce I D -
4 -
5 -
6
7 ( LSB)
By r� t 7 6 5 4 3 2 1 0
I I I I I I I
0 Operat i on Code ( AOh )
1 Reserved
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 (MSB) -
7 Al l ocat i on Length -
8
9 ( LSB)
10 Res erved
11 Control Byte
* R E PORT LU N S returns a list o f Logical U nit Numbers t o which commands may be issued.
Allocation Length : maximum number of data bytes the Target may send.
1
sy n t 7
I 6
I 5
I 4
I 3
I 2
I I 0
0 (MSB)
1
-
2
LUN Li s t Length -
3 ( LSB)
.....,...--
4 Reserved
5 Reserved
6 Reserved
7 Reserved
LUN Li st
0-7 Fi rst L U N
0 -7 Last LUN
LUN: a Logical Unit t o which commands may b e issued. The number i s justified t o the LSB ; for
example, LU N #1 would be 00 00 00 oo 00 00 00 01 h.
By � � t 1 0
7
I 6
I 5
I 4
I 3
I 2
I I
0 Operati on Code {03 h )
1 { Log i cal Un i t Number} I Reserved
2 Reserved
3 Reserved
4 Al l ocat i on Length
5 Contro l Byte
* R E Q U EST S E N S E i s used t o retrieve Sense Data concerning a n error or other condition.
REQU EST SENSE is usually issued following the completion of a command that had C H ECK CONDITION
status. Commands that end with C O N D ITION M ET or COM MAN D TER M I NATED status may also have
Sense Data available.
Allocation L e ngth : maximum number of data bytes the Target may send.
The data format for Sense Data retu rned by this command is given in the sectio n o n
SENSE DATA, p a g e 240.
Bi t 7 6 5 4 3 2 0
I I I J I I I
1
Byte
0 Operati on Code ( 1 6 h )
1 { Log i cal Un i t Number} I 3rdPty I Thi rd Party Dev i ce I D I Exten t
2 Reservati on I dent i fi cati on
3 (MS B ) Exten t Li st Length
4 ( LS'B)
5 Contro l Byte
* RESERVE is used to reserve a disk or partition of a disk for exclusive use by an I nitiator.
Third Party Device ID: specifies which I nitiator gets the reservation when the 3rdPty bit is 1 .
Extent List Length : number of bytes in the Extent list; also, number of Extents times eight.
3 0
By � � t 6 5
7 4 1
I I I I I
2
11 reserved for all access (other Initiators may not read or write)
=
R ESERVE(1 0) Command
Bi t 7 6 5 3
I I I I I I 0
2
I
4 1
B yte
0 Operat i on Code ( 56h )
1 { Log i cal Un i t Number} I 3rdPty I Reserved I Lon g i D I Exten t
2 Reservat i on I denti fi cat i on
3 T h i rd Party Dev i ce I D
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter L i s t Length
8 ( LS B)
9 Contro l Byte
* RESERVE is used to reserve a disk or partition of a disk for exclusive use by an lnitiator.
LongtO: 0 = use Thi rd Pa rty Device ID in byte 3 of COB and no I D in the parameter list.
1 = use parameter list for Third Party Device I D.
Third Party Device /0 : specifies which Initiator gets the reservation when the 3rd Pty bit is 1 .
Parameter List Length : number of bytes in the Parameter List; length based on setting of LongiD and
Extent:
B y� �
t 7 1 0
I I 5
I I I I I
6 4 3 2
0 (MSB )
1
-
2 -
3
4
T h i rd Party Dev i ce I D -
5 -
6
7 ( LSB)
Extent Des cri ptor ( s ) ( i f any)
0 Res erved I Rel Ad r I Reservat i on Type
1 ( MS B ) -
2 N umb e r o f B l o c k s
3 ( LSB)
4 ( MS B ) -
6
7 ( LSB)
The RESERVE(1 0) Parameter List may contain either a Third Party Device ID, an Extent list, or both ,
as determined by the setting of the Lon g i D and Extent bits in the COB (see above) .
By� � t 3
7
I 6 I 5 I 4
I I 2 I 1 I 0
0 Operati on Code ( l Dh )
1 { Log i cal Un i t Number} I PF I Reserved i Se l fTes t l DevOfL I Uni tOfL
2 Reserved
3 (MSB) Parameter Li s t Length
4 ( LSB)
5 Contro l Byte
* S E N D DIAG N OSTIC is used to request that the Target perform a diagnostic on all or part of the
Target.
DevOfl: 0 = diagnostic does not affect later processes on other Logical Units
1 = diagnostic may affect later processes on other Logical Units
UnitOfl: 0 = diagnostic does not affect later processes on this Logical Unit
1 = diagnostic may affect later processes on this Logical Unit
Parameter List Length : the number of data bytes the Target fetches from the Initiator.
See page 1 27 for a des cr i pti o n of para m eter d ata formats for a l l d evices. See specific device
type for d ata formats for those devices (disk only: page 1 76).
By� � t 7 6 4
I I 5
I I 3 I 2
I 1
I 0
0 Page Code
1 Reserved
2 (MSB) Page Length ( n - 3 )
3 ( LSB)
4 Di agnost i c Parameters
n
- - - - - - -
The Diagnostic Page Format is used when the P F bit is set to one; it may also be used when PF is
zero in some devices. Diagnostic Pages are used to issue standard SCSI-2 and SCSI-3 diagnostic
functions; they are also used to perform SCSI-3 Enclosure Services functions.
Page Code: indicates the function to perform. The Page Codes for all device types are shown below:
sy n t 7
I
6
I
5
I
4
I
3
I
2
I
1
I 0
0 Page Code ( O O h )
1 Reserved
2 (MS B ) Page Length (n-3)
3 ( LS B)
4
1- -
S upported Page Li st
- - - - -
n 1- -
- - - - -
Supported Diagnostic Pages is used to report to the Initiator which Page Codes are implemented
by the Target. First, the SEND D IAGNOSTIC command is issued and only the first four bytes of the Page
are sent (Set Page Length to zero) . The RECEIVE DIAGNOSTIC RESULTS command is then issued and
the Target returns the first four bytes of the Page followed by a list of supported Page Codes.
By� � t 7
I
6
I
5
I I
3
I I I
0
4 2 1
7
By� � t I
6
I
5
I
4 3
I I
2
I
1
I 0
0 Operati on Code (3Bh )
1 { Log i c a l Un i t N umber} I Reserved I Mode
2 Bu ffer I D
3 (MS B )
4 Buffer Offset
-
5 ( LS'B")"
6 (MS B )
Parameter Li st Len gth
-
7
8 ( LS'B")"
9 Control Byte
* The WRITE B U FFER Command is used to transfer data to the Target's data buffer from the
Initiator. It is usually issued immediately prior to the R EAD BU FFER command.
00 1 vendor specific
=
01 1 reserved
=
1 00 download microcode
=
Buffer ID: selects a buffer in the Target. A Target that has any buffer must at least have a buffer with a
Buffer I D of zero.
Buffer Offset: indicates a byte offset from the beginning of the selected buffer.
Parameter List Length : the number of data bytes the Target fetches from the Initiator.
7 3 1 0
By �� t 6 5
I I I I
4 2
I I I
0 Reserved
1 Reserved
2 Reserved
3 Reserved
The WRITE B U FFER header 1s four reserved bytes {all zero) .
By�� t 4 3 0
7
I
6
I
5
I I I
2
I
1
I
0 - 3 Log Page Header Tab l e A bel ow)
4 - n Log Parameters Tab l e B bel ow)
The data sent by the Initiator during the LOG SELECT command , or sent by the Target during the LOG
SENSE command, is made up of:
The Log Page Header contains the page code and length of the data following.
Page Code: The code of the Log Page Code requested by the Initiator (LOG S ELECT) , or returned by
the Target (LOG S E N S E) . Most Log Pages contain one or more Log Parameters.
Page Length : I ndicates the length of following bytes in the Page, also equals the total Page length
minus three.
SCSI Bench Reference Copyright © '1 989, '1 992, '1 996 E N O L Publications
132 S C S I G E N ERAL CO M MANDS
s A� t 6 5 3 0
I I I I I
2
I I
7 4 1
4 Parameter Val ue -
Each Log Para m eter begins with a four byte header followed by one or more bytes of parameter
data.
OS: 0 = Target supports saving the parameter via Initiator setting SP to one.
1 = Target does not support saving the parameter via the S P bit.
ETC: 0 = Target does not compare the parameter to the threshold when the parameter is
updated.
1 = Target compares the parameter to the threshold when the parameter is updated.
Parameter Length : the length of bytes following this field; also equal to the whole log parameter length
minus 4.
Parameter Over-run or
Code Cou n t Bas i s Cause Under-run?
DOh Undefi ned Undefi ned under-run
Olh Undefi ned Undefi ned over-run
02h Undefi ned SCS I bus was busy under-run
03h Undefi ned SCS I bus was busy over-run
04h Undefi ned Trans fer rate too s l ow under-run
05h Undefi ned Trans fer rate too s l ow over-run
06h - 1 Fh Res erved Codes
20h I n c rement per Command Undefi ned under-run
21h I ncrement per Command Undefi ned over-run
22h I ncrement per Command SCS I bus was busy under-run
23h I n crement per Command SCS I bus was busy over-run
24h I n cremen t per Command Tran s fer rate too s l ow under-run
25h I n cremen t per Command Trans fer rate too s l'o w over-run
26h-3 Fh Reserved Codes
40h I ncremen t per Fai l ed Reconnect Undefi ned under-run
41h I ncremen t per Fai l ed Reconnect Undefi ned over-run
42h I ncremen t per Fai l ed Reconnect SCS I bus was busy under-run
43h I n c remen t per Fai l ed Reconnect SCS I bus was busy over-run
44h I n cremen t per Fai l ed Recon nect Tran s fer rate too s l ow under-run
45h I n c rement per Fai l ed Reconnect Trans fer rate too s l ow over-run
46h-5Fh Reserved Codes
60h I n cremen t per Un i t of T i me Undefi ned under-run
61h I ncremen t per Un i t of T i me Undefi ned over-run
62h I n cremen t per Un i t of T i me SCS I bus was busy under-run
63h I n cremen t per U n i t o f T i me SCS I bus was busy over-run
64h I n c remen t per Un i t o f T i me Trans fer rate too s l ow under-run
65h I n cremen t per Un i t o f T i me Tra n s fer rate too s l ow over-run
66h-FFh Reserved Codes
Parameter
Code Des c r i pti on
OOOOh Count of errors corrected wi thout " substanti al del ay "
OOO l h C o u n t of e rrors corrected wi th " poss i bl e del ays "
0002h Tot a l re-wri tes o r re-reads
0003h Tot a l errors corrected
0004h Tot a l t i mes error correct i on a l gori thm proces s ed
0005h Total bytes processed
0006h Total u n corrected errors
0007 h-7 F F F h Reserved
8000 h - F F F F h Vendor Speci fi c
Pa rameter
Code Des cri pt i on
OOOOh Non-med i um e rror count
OOO l h - 7 F F F h Res e rved
8000 h - F F F F h Vendor Spec i fi c
ByU t 6 5 3 0
7
I I I I I I
4 2 1
The Log Page Header contains the page code and length of the data following.
Page Length: Indicates the length of following bytes in the Page, also equals the total Page length
minus three.
Supported Page List: A list of page codes supported by the Target beginning with OOh in ascending
order.
• A Mode Parameter Header, the length of which is determined by the command that was issued
(6 byte or 10 byte versions) ; and
• Zero or more Block Descriptors (most Targets use just one) ; and
By n t 6 5 4 3 1 0
I I I I I I I
7 2
Mode Data Length : (MODE SENSE ONLY) used by the Target to indicate how many bytes were sent
to the Initiator. This field is set to zero for MODE S ELECT.
Medium Type: (MODE SELECT and MODE SENSE) one of two fields (see Density Code, page
1 40, 1 4 1 ) that indicates what physical medium is being used or is to be used . This field may also
indicate what physical format to use. This field is not used by Sequential Access devices.
Block Descriptor Length : (MODE SELECT AND MODE SENSE) indicates how many Block Descriptors
follow; equal to the number of Block Descriptors times eight. Zero indicates no Block Descriptors
follow. Eight indicates one Block Descriptor fol lows.
Device Specific Parameter: (MODE SELECT and MODE SENSE) a byte which indicates some optional
settings for a particular d evice type, as follows :
DevB i1 �c ! 5 4 3
7 6
I I 2
r 1
1 0
di sk I WP Reserved DPOFUA Reserved
tape I WP Bu ffered Mode Speed
WP: 0 = medium is write enabled
1 = medium i s write protected
DPOFUA: (MODE SENSE O N LY) (NOTE: This bit was formerly called the "Cache" bit)
0 = the Target does not support the DPO and FUA bits.
1 = the Target supports the DPO and FUA bits, which appear in the disk command set to
support cache functions.
0 1 0 report status after data transfer complete to buffer and previous data from other
=
00 1 1 faster
=
0 1 00 faster! =
2
3 ( LSB)
4 Reserved
5 (MSB)
6 B l ock Length
-
7 ( LSB)
The Block Descriptor describes a partition of the medium that is of a particular format, is a certain
size in blocks which are of a fixed size. Most Targets use only one Block Descriptor which defines all
blocks in the Logical Unit. See the next page for the SCSI-3 Block Descriptor for Disks.
Density Code: (M O D E SELECT and MODE SENS E) one of two fields (see M edium Type, page 1 38)
that indicates what physical medium is being used or is to be used . This field may also indicate what
physical format to use.
Number of Blocks: (MODE SELECT and MODE SENSE) indicates the size in logical blocks of the
medium partition.
Block L e ngth : (MODE SELECT and MODE SENSE) indicates the size of a logical block within the
partition in bytes.
By�� t 6 5 4 0
I I I I I I I
7 3 2 1
0 (MS B )
1
-
Number o f B l ocks
2
-
3 ( LS�
4 Den s i ty Code
5 (MS B }
Bl ock Length
-
6
7 ( LS�
The Disk Block Descriptor describes a partition of the medium that is of a particular format, is a
certain size in blocks which are of a fixed size. Most Targets use only one Block Descriptor which defines
all blocks in the Logical U nit.
Number of Blocks: (MODE S ELECT and MODE SENS E) indicates the size in logica l blocks of the
medium partition.
Density Code: (MODE S ELECT and MODE SENSE) one of two fields (see Medium Type, page 1 38)
that indicates what physical medium is being used or is to be used. This field may also indicate what
physical format to use. This field is not used by Direct Access devices.
Block Length : (MODE SELECT and MODE SENSE) indicates the size of a logical block within the
partition in bytes.
PS: 0 = Page cannot be saved (i. e . , is not retained after a hard reset or power down) .
1 = Page can be saved (see SP bit, page 1 05, 1 06, 1 07)
Page Code: The Page Code requested by the I nitiator (MODE SELECT) , or returned by the Target
(MODE SENSE) . Some Pages are defined for all devices and are shown below. Pages specific to
devices are shown i n the device sections.
Page Length : Indicates the length of following bytes in the Page, also equals the total Page length
minus two.
Mode Parameters : Parameters which can be read and perhaps controlled within a Page.
By � � t 6 4 3 0
I I
5
I
7 2 1
Queue Algorithm Modifier: controls the ordering of Tagged commands when the order is not
otherwise indicated (commands were issued with the S I M PLE Q U E U E TAG message) . See the SPC
standard for more explanation :
Ready AEN Holdoff Period: delay time in milliseconds between the start of Target initialization and the
reporting of initialization complete via AEN/ AER.
Busy Timeout Period: maximum time in 1 00 millisecond increments that a Target may remain busy for
exception conditions that are not a routine part of command processing. FFFFh indicates the period
is unlimited.
5 4 3 2 1 0
By�� t 7 6
I I I I I
0 PS Reserved Page Code { 02 h )
1 Page Length ( O E h )
2 Bu ffer Fu l l Ra ti o
3 Bu ffer Empty Rat i o
4 (MS B ) Bus I n act i v i ty L i m i t
5 ( LS'B)
6 (MSB) Di s connect T i me Limi t
7 ( LS'B)
8 (MSB) Connect T i me L i m i t
9 ( LS'B)
10 (MSB) Max i mum B u rs t S i ze
11 ( LS'B)
12 EMDP FARd FAWrt I FAStat I Dlmm I DTDC
13 Reser v ed
14 (MSB) Fi rst Burst S i ze
15 ( LS'B)
The Disco n n ect- Recon nect Page is used to control when the Target may or may not disconnect
during a command. This page allows control of the buffer in the following ways :
• as a function of time;
I n general, the DTDC field dominates over the effects of all other fields. Also, the Time Limit fields
dominate over the effects of the Buffer Ratio fields.
NOTE: This page contains several parameters that are specific only to the parallel SCSI bus. Some
parameters have meaning only to serial SCSI implementations, and other have meaning for both parallel
and serial SCS I . We have listed the parallel SCSI meanings, and shown the serial SCSI parameters.
Check the specific serial SCSI standard (such as FCP) for the specific usage of this page.
Buffer Full Ratio (BFR) : indicates how full (BFR/256) the Target's data buffer should be during a read
before attempting to Reconnect to the Initiator. Zero equals Target's choice.
Buffer Empty Ratio (BER) : indicates how empty (BER /25 6) the Target's data buffer should be during a
write before attempting to Reconnect to the Initiator. Zero equals Target's choice.
Bus Inactivity Limit: the maximum time (in 0.1 millisecond increments) between R EO assertions while a
Target has BSY asserted. Zero equals no limit.
Disconnect Time Limit: the minimum time (in 0. 1 millisecond increments) between when the Target
releases the bus (goes to BUS FREE) before it may attempt to Reconnect to the Initiator. Zero
equals no limit.
Connect Time Limit: the maximum time (in 0. 1 millisecond increments) between the start of a
Connection to when the Target releases the bus. Zero equals no limit.
Maximum Burst Size : the maximum transfer size (in 0.5 KByte increments) that a Target may transfer
in one Connection. Zero equals no limit.
Dlmm : 0 =the Target may transfer data in the same connection or tenancy in which it receives
the command.
1 the Target may not transfer data in the same connection or tenancy.
=
DTDC: Data Transfer Disconnect Control; field provides gross control over when the Target must
Disconnect {DTDC setting takes precedence over all other settings) :
000 no control
=
001 transfer all data with no Disconnect; Disconnect at other times is allowed. The
=
Connect Time Limit and Bus I nactivity Limit are ignored during the data transfer.
010 reserved
=
01 1 transfer all data and complete the command with no Disconnect; Disconnect
=
before data transfer starts is allowed. The Connect Time Limit and Bus I nactivity
Limit are ignored after the data transfer has started .
1 00-1 1 1 reserved
=
The following fields are NOT defined for parallel SCSI (they are provided for serial interfaces) but we're
including them anyway:
FARd: 0 = use unfair arbitration to get a tenancy for read data transfer
1 = use fair arbitration for read data transfer
FAWrt: 0 = use u nfair arbitration to get a tenancy for write data transfer
1 = use fair arbitration for write data transfer
First Burst Size: the maximum transfer size (in 0.5 KByte increments) that a Target may transfer in the
same tenancy in which it receives the command. Zero equals no limit.
4 3 2 1 0
By�� t
5
I I I I I
7 6
5
I n terval T i mer
6
-
7 ( LS B)
8 (MS B ) -
9
Report Count
10
-
11 ( LSB)
The I nformational Exceptions Control Page is used to control the reporting and operations of
certain "informational exceptions" (that sounds Politically Correct ! ) ; in other words, this page controls the
behavior of a Target that has failure prediction capability. In the I DE/ATA world, this is known as
"SMART".
3 report via R ECOVERED ERROR dependent on setting of PER bit (see page 1 9 1 ) .
=
7-B reserved
=
7 6 5 4
By � � t I I 3 I 2 I
1
I
0
0 PS Re s e r v e d Page C od e (ODh or 1Ah )
1 Page Length (OAh )
2 Reserved
3 Reserved I I d l e I Standby
4 (MSB)
5
-
6 I d l e Cond i ti on T i mer -
7 ( LS B)
8 (MSB) -
9
Standby Condi t i on T i mer
10
-
11 ( LSB)
The Power Conditi o n Page is used to control how the Logical Unit transitions to lower power
modes.
Page Code: Yes, it's true. For Direct Access Devices, the Page Code is ODh. For all other device
types, the Page Code is 1 Ah.
Idle: 0 = the Logical U nit does not enter the Idle Condition
1 = wait based on the Idle Condition Timer before entering the Idle Condition.
Standby: 0 = the Logical U nit does not enter the Standby Condition
1 = wait based on the Standby Condition Timer before entering the Standby Condition.
Idle Condition Timer: minimum period in 1 00 millisecond increments before entering the Idle
Condition.
Standby Condition Timer: minimum period in 1 00 millisecond increments before entering the Standby
Condition.
Allocation Length : the maximum number of bytes that the Target may send to the Initiator.
DPO: 0 = any blocks transferred by this command may force blocks in the cache out of the
cache
1 = any blocks transferred by this command do not force blocks in the cache out of the
cache
FUA: 0 = Target may access the medium or the cache to transfer the data
1 = Target must access the medium
• LBA field = 0 refers to the last block accessed in the previous command
• LBA field = 1 refers to the next block after the last block of the previous command
The following "XOR" commands were not included in this edition of the SCSI Bench Reference. After they
get fully incorporated into SBC, and if they prove popular, they will be included in the next edition.
• REBUILD (81 h)
• REGENERATE (82h)
• XDREAD (52h)
I
• XDWRITE (SOh)
• XDWRITE EXTEN DED (SOh)
• XPWRITE (51 h)
CHANGE DE F I N I T I O N X
COMPARE X
CO P Y X
CO P Y A N D V E R I FY X
FORMAT U N I T X X
I NQU I RY X X
LO G S ELECT X X
LOG S E N S E X X
MO DE S E L E C T ( 6 ) X X
MO DE S E L E C T ( 1 0 ) X X
MO DE S E N S E ( 6 ) X
MO DE S E N S E ( 1 0 ) X
PRE- FETCH X X
PREVE N T / A L LO W ME D I UM REMOVAL
READ ( 6 )
X X
I
READ ( 1 0 ) X
READ B U F FE R
READ CAPAC I T Y X X
READ D E F E C T DATA X X
READ LO NG X X
REAS S I GN BLOCKS
Command Name 3 B C C C D D D E E F F G I I L L L L P p p p p p P R R S S s s s u w
r y m mO B e P V x m U l m n B o o o a B C F l M P d e a e P p t n r
d t d p R D v O P t t A i rn v d c E n d d R i I C i l v l n a i i
P C D L R 0 D e D s e e a k j g a s n A e f D r t n
t h t s C f n a t d r t I t t h d T a t O h
y k t T l t t t a D a r s t f
a t l
RELEASE ( 1 0 ) X X X
RE PC RT LUNS
REQUEST SENSE \
RE SERVE ( 6 ) X X
RE SERVE ( 1 0 ) X X X
RE ZERO UN I T
S EARCH DATA EQUAL X X
S EARCH DATA H I GH X X
S EARCH DATA ww X X
SEEK ( 6 )
SEEK ( 1 0 )
SEND D I AGNO S T I C X X X X
SET LIMITS X X
S TART / S TO P U N I T X X X
S YNCHRO N I ZE CACHE X X
TEST UN I T READY
I
VER I FY X X X
WRITE ( 6 )
WRITE ( l O ) X X X
WRITE AN D VER I FY X X X
WRITE BUFFER
WRITE WNG X
WR I TE SAME X X X
C ommand Name 3 B C C C D D D E E F F G I I L L L L P p p p p p P R R S S s s s u w
r y m rn O B e P V x rn U l m n B o o o a B C F 1 M P d e a e P p t n r
d t d p R D vO P t t A i mv d c E n dd R i l C i l v 1 n a i i
P C D L R 0 D e D s e e a k j g a s nA e f D r t n
t h t s C f n a t d r t I t t h d T a t O h
y k t T 1 t t t a D a r s t f
a t l
FORMAT U N I T Command
7 6 5 3
sA � t I I I I I 2 I I 0
4 1
0 Operati on Code ( 04 h )
1 { Lo g i c a l Un i t N umber} I FmtData l Cmplst I Defect li st Format
2 Vendor-Speci fi c
3 (MSB) I n terl eave
4 ( LSB)
5 Control Byte
* FORMAT U N IT is used t o perform a "low level" format o f t h e disk. SCSI disks perform management
of defects from up to four different defect information sources:
Pri ma ry Defects (Piist): detected and stored on the disk by the manufacturer.
Certification (Cllst): detected during the FORMAT U N IT command by verify passes after the format
\Vrite passes.
Data list (Diist): Transferred from the Initiator to the Target as part of a data transfer.
Grown Defects (Giist): Detected and stored on the disk as a result of previous FORMAT U N IT
commands, REASSIGN BLOCKS commands, or automatic reassignments.
CmpLst: 0 = add new Dlist to old Glist to make new Glist; use old Glist (see table, page 1 60 )
I
1 = do not use Glist; delete old Glist; new Dlist becomes new Glist
Defect List Format: format of all Defect Descriptors in the defect list (see page 1 59) :
000 ::= block format
001 -0 1 1 reserved
=
111 reserved
=
01 h 1 : 1 interleave
=
02h and up not defined by SCS I , but usually means 2 : 1 interleave and up.
=
6 4
By � � t I I I I 3 I 2 I
7 5 1 0
I
0 Reserved
1 FOV I DPRY I DCRT I STPF I I P I DSP I Immed I v u
2 (MSB) Defect Li s t Length
3 ( LSB)
I n i t i al i zati on Pattern Descri p tor ( i f any)
0 I P Mod i fi e r I Res erved
1 Pattern Type
2 (MS B ) I n i t i a l i zat i on Pattern Length
3 ( LSB)
0 -
XX
I n i ti al i zat i on Pa ttern ( i f any)
Defect Des cri pto r ( s ) ( i f any)
0 -
XX
Defect Descri ptor 0 ( see page 1 5 9 )
0 -
XX
Defect Descri ptor n
The Format Defect List i s used t o specify defects that are known b y the Initiator, t o control which
defect sources are used or not used, and to specify the pattern to which each sector is initialized. If only
part or none of the defect list is sent, the Target defaults hold.
FOV: 0 = no options set; DPRY, DCRT, STPF, IP, and DSP must be zero.
1 = DPRY, DCRT, STPF, IP, and DSP are valid. (see table, page 1 60)
STPF: 0 = do not stop if Target cannot find Plist or Glist (see note after table, page 1 6 1 ) .
1 = stop i f Target cannot find Plist and/or Glist, if that list has been selected t o b e during
the format.
Defect List Length : length of Defect Descriptors (equals size of descriptor plus number of descriptors) ;
does not include Initialization Pattern Length.
IP Modifier: indicates how the pattern that follows is modified (by overlaying the first four bytes of the
pattern) :
Pattern Length : length of following bytes of pattern (not including Defect Descriptors) .
1
2
Defect i ve Bl ock Add ress -
3 ( LS B)"
WAR N I N G : Block Address may be a Logical Block Address or a physical block address, depending
on the implementation. This is a real oddball. Probably the best thing to do is to not use it. Instead, if you
must indicate logical blocks as defective, use the REASSIGN BLOCKS command before FORMAT U N IT.
Another method is to issue a SEND DIAGNOSTIC command with the Translate Address page, and get
back Bytes From I ndex defect data, which you can then use as Defect List data.
1
2 ( LS 'B")"
3 Head Number of Defect
4 ( MSB ) -
5
6 Defect Bytes From I ndex -
7 ( LS B)"
I
Defect Descri ptor - Physical Sector Format
Byte Defect Des cri ptor
0 ( MSB )
Cyl i nder Number of Defect
-
1
2 ( LS B)"
3 Head Number of Defect
4 ( MSB ) -
5
6 Defecti ve Sector Number -
7 ( LS 'B")"
FmtData Cmplst FOV DPRY DCRT DLL Des cri pti on of Defect Sources
0 X X X X X Dl i st not used ;
P l i st , C l i st , G l i st per defau l t
1 0 0 X X 0 Dl i s t not used ;
G l i s t used ;
P l i s t , C l i s t , per defau l t
1 0 0 X X >0 Dl i st , G l i s t used ;
P l i st , C l i st , per defau l t
1 1 0 X X 0 Dl i s t , G l i s t not used ;
prev i ous G l i s t del eted ;
P l i s t , C l i s t , per defau l t
1 1 0 X X >0 Dl i s t used ;
Gl i s t not used ; prev i ous Gl i st del eted
Pl i s t , C l i st , per defau l t
1 0 1 0 0 0 Dl i s t not used ;
( * ) G l i s t , ( * ) P l i s t , Cl i s t used
1 0 1 0 0 >0 Dl i s t , ( * ) G l i s t , ( * ) Pl i s t , Cl i st used
1 1 1 0 0 0 Dl i s t , G l i s t not used ;
prev i o u s G l i s t del eted ;
(*) P l i s t , Cl i s t used
1 1 1 0 0 >0 Dl i st , ( * ) Pl i st , C l i st used ;
Gl i s t not used ; prev i ous G l i s t del eted
I 1
1
0
0
1
1
0
0
1
1 >0
0 Dl i s t , C l i s t not used ;
( * ) G l i s t , (*) P l i st used
Dl i s t , ( * ) G l i st , ( * ) Pl i s t used ;
C l i s t not used
1 1 1 0 1 0 Dl i s t , G l i s t , C l i st not used ;
prev i ous G l i s t del eted ;
(*) P l i s t used
1 1 1 0 1 >0 Dl i s t , ( * ) Pl i s t used ;
C l i s t not used ;
Gl i s t not used ; prev i ous Gl i s t del eted
"
DLL = Defect List Length in Defect List, > 0" means "length greater than zero"
FmtData Cmplst FOV DPRY DCRT DLL Descri pti on of Defect Sou rces
1 0 1 1 0 0 Dl i st , Pl i s t not used ;
( * ) Gl i st , C l i st used
1 0 1 1 0 >0 Dl i st , ( * ) G l i st , C l i s t used ;
P l i st not used
1 1 1 1 0 0 Dl i st , P l i s t , Gl i st not used ;
prev i ous Gl i s t del eted ;
C l i s t u s ed
1 1 1 1 0 >0 Dl i st , C l i s t used ;
Pl i st not used ;
G l i st not used ; prev i ous G l i st del eted
1 0 1 1 1 0 Dl i s t , P l i s t , Cl i s t not used ;
G l i s t used
1 0 1 1 1 >0 Dl i s t , (*) G l i s t used ;
P l i s t , C l i s t not used
1 1 1 1 1 0 Dl i s t , Pl i s t , G l i s t , Cl i s t not used
previ ous G l i s t del eted
1 1 1 1 1 >0 Dl i s t used ;
C l i st , P l i st not used ;
Gl i st not used ; p rev i ous G l i s t del eted
"
DLL = Defect List Length in Defect List, > 0 " means "length greater than zero"
(*) : Whe n the Initiator commands the Target to use the Plist and/or Glist, and either or both lists
cannot be found, the STPF bit controls whether or not the format completes successfully
(see page 1 57) :
• STPF = 0: the Target continues even if the list (s) cannot be recovered.
6 3 1 0
By � � t
5 4 2
I I I I I I I
7
0 Operati on Code ( 3 6 h )
1 { Log i ca l Un i t Number} I Reserved I Lock I Rel Adr
2 (MSB)
3
-
4
5 ( LS'B")
6 Reserved
7 (MSB) Number o f B l ocks
8 ( LS'B")
9 Control Byte
* LOCK/U N LOCK CAC H E is used t o specifify which logical blocks are t o be kept available in cache.
Usually u s ed to keep often-used blocks handy. WAR N I N G : Data must already be in tl1e cache (use
READ or PRE-FETCH) for the data to be locked.
Number of Blocks: rang e of blocks to lock or unlock. Zero means do the rest of the disk.
6 4 3 2 1 0
By � � t
5
I I I I I I I
7
READ(6) Command
6 3 0
BA � t 5 4
I I I I I I I
7 2 1
2
3 ( LSB)
4 Trans fer Length
5 Control Byte
READ(1 0) Command
By�� t 6 3 2 1 0
7
I I 5
I 4
I I I I
0 Operat i on Code ( 28h )
1 { Log i c a l Un i t Number} I DPO I FUA I Reserved I Rel Adr
2 (MSB) -
3
Log i cal B l ock Address -
4
5 ( LS B)
6 Reserved
7 (MSB) Trans fer Length
8 ( LSB)
9 Control Byte
* T h e R EAD commands are used t o transfer logical blocks from the Target t o the Initiator.
See page 1 53 for a descri ption of the DPO, FUA, ReiAdr, Logical B lock Address, and Transfer
Le ngth fields.
By� � t 5 3 2 1
7
I 6
I I I I I I
4 0
0 Operat i on Code ( 2 5 h )
1 { Log i c a l U n i t Number} I Reserved I Rel Adr
2 (MS B ) -
3
Logi cal B l ock Address -
4
5 ( LS�
6 Reserved
7 Reserved
8 Reserved I PMI
9 Contro l Byte
* READ CAPACITY i s used t o report t h e total number of blocks a n d block size o f t h e disk.
PM/: 0 = report total capacity; the Logical Block Address in the R EAD CAPACITY Data is the
last valid address
= report the next Logical Block Address after which a delay in access may occur.
Causes for the delay may include:
• cylinder boundary
• head switch
• zone crossing
• seek to alternate sector or track
WAR N I N G : Different SCSI disks will have different criteria for a delay.
Byte Descri pt i on
0 (MSB)
1
-
2
Log i cal B l ock Address -
3 ( LSB)
4 (MS B ) -
5
B l ock Length -
6
7 ( LS'B)
7 6 4 1 0
By ��
t
I I 5
I I 3
I 2
I I
0 O p e ra t i o n C o d e ( 3 7 h )
1 { Log i c a l U n i t N umb e r } I Reserved
2 Re s e rv e d I P L i s t I G L i s t I D e f e c t Li s t F o rmat
3 -
4
Reserved -
5
6
-
7 (MSB)
A l l o c a t i o n Le n g t h
8 ( LS B )
9 C o n t r o l Byte
* READ DEFECT DATA reports the contents of the Plist and Glist which are recorded on the disk.
NOTE: If both the Plist and G Ust bits are set to one, then both the lists are returned. The order in
which they are returned is up to the Target.
Defect List Format: format of all defect descriptors in the defect list:
000 = block format
1 00 = bytes from index format
101 = physical sector format
1 10 = vendor specific format
Allocation Length : the maximum number of bytes that the Target may send to the Initiator.
6 3 2 0
I I
4
By�� t 7
I
5
I I I
1
I
0 Res e r v e d
1 Re s e rv e d I PLi st I GLi st I D e f e c t L i s t F o rmat
2 (MS B ) Defect Li s t Length
3 ( LS�
Defect D e s c r i p t o r s
O-n
The READ DEFECT DATA Defect List begins with a four byte header which is followed by Defect
Descriptors. See the FORMAT U N IT command for Defect Descriptor formats (page 1 56) .
PList: 0 = Target did not return Plist data (see page 1 56)
1 = Target returned PList data
GUst: 0 = Target did not return Glist data (see page 1 56)
1 = Target returned G Ust data
Defect List Length: number of following bytes ; also, total data block length minus fou r.
6 2
By r� t 7
I I
5
I
4
I
3
I I
1
I
0
0 O p e r a t i o n C o d e 13 E �
1 { Lo g i c a l U n i t Num b e r } I Reserved I C O R RCT I Re l Ad r
2 ( MS B )
3
-
Log i c a l B l o c k A d d re s s -
4
5 ( LS�
6 Re s e rv e d
7 ( MS B )
Byte T r a n s f e r Le n g t h
8 ( LSB)
9 C o n t r o l By te
* R EAD LO N G is used t o transfer t o the I nitiator the physical data recorded in a logical block,
including the error correcting codes (ECC) and synchronization data.
Byte Transfer Length: exact number of bytes in physical sector data. See product documentation for
physical sector size plus overhead byte length . Or, use the Quick and Dirty Method:
(1 ) Issue READ LON G with Byte Transfer Length equal to one. C H EC K CONDITION Status is
returned.
(2) Then issue REQU EST SENSE. If the I Ll bit equals one, then the I nformation Bytes in the Sense
Data will equal the number of bytes of physical data minus one.
6 5 3 2 1
By r� t 7
I I I
4
I I I I
0
0 Ope ra t i o n C o d e ( 0 7 hl
1 { Lo g i c a l U n i t N u m b e r } I Reserved
2 Re s e rv e d
3 Re s e rv e d
4 Re s e r v e d
5 C o n t ro l Byte
* REASS I G N B LOCKS is used to map out bad blocks without performing a FORMAT U N IT
command.
WAR N I N G : The Target does not have to move the data from the old physical location to the new
location, though some do. The Initiator should perform data recovery before issuing this command.
Byte Defect L i s t H e a d e r
0 Reserved
1 Res e r v e d
2 ( MS B )
D e f e c t L i s t Len g t h
3 ( LSB")
Defect Des cri ptor ( s )
0 ( MS B ) -
1
D e fe c t Lo g i c a l B l o c k A d d re s s -
2
3 ( LSB")
The R EASS I G N B LOCKS Defect List specifies the bad blocks to relocate.
Defect List Length: length of following bytes; also, number of bad blocks times four.
R EZERO U N IT Command
6 3 2
By r� t 7
I I
5
I
4
I I I
1
l
0
0 O p e ra t i o n C o d e ( O l h )
1 { Lo g i c a l U n i t N u m b e r } I Re s e rv e d
2 Reserved
3 Reserved
4 Re s e rv e d
5 C o n t r o l Byt e
* R EZERO U N IT requests that the disk b e brought t o a known state. Some disks will seek t o physical
track zero, others will seek to a location near logical block 0, others will do nothing.
S EEK(6) Command
6 3 2
By r� t 7
I l
5
l
4
I l l
1
l
0
Lo g i c a l B l o c k A d d re s s
3 ( LS�
4 Re s e rved
5 C o n t ro l By t e
S E E K( 1 0 ) Command
7
By r� t I
6
l
5
l
4
l
3
j
2
l
1
l
0
0 Operat i on Code ( 2 B h )
1 { Lo g i c a l U n i t N um b e r } I Re s e rv e d
2 (MSB) -
3
Lo g i c a l B l o c k A d d re s s -
4
5 ( Lssr--
6 Re s e rv e d
7 Re s e rv e d
8 Reserved
9 C o n t r o l By t e
* The S E E K Co m mands request the Target t o seek t o the logical block, o r somewhere near it. Some
Targets do nothing in response to this command.
0 O p e ra t i o n C o d e ( 1 B h )
1 { Lo g i c a l U n i t N um b e r } I Re s e r v e d I I mmed
2 Re s e rv e d
3 Reserved
4 Powe r C o n d i t i o n s I Re s e rv e d I L o Ej I S t a rt
5 C o n t r o l Byt e
* START/STO P U N IT is typically used to spin up and spin down a rotating disk d rive.
4 reserved
=
6 reserved
=
8-9 reserved
=
C-F reserved =
5 3
By r� t
6 4
7
I I I I I 2
I 1
I 0
4
5 ( Lssr--
6 Reserved
7 (MSB) Number of B l ocks
8 ( Lssr--
9 Control Byte
* SYNCHRON IZE CAC H E is used t o ensure that any data in the cache that has not been written to
the medium is safely recorded on the medium.
Number of Blocks: Indicates the range (starting with the LBA) in which to ensure data is recorded on
the medium. If this field is set to zero, then do all remaining logical blocks.
VER I FY Command
By r� t 6 5 34
I I I I I
2
I I
7 1 0
4
Log i cal B l o c k Address -
5 ( Lssr--
6 Reserved
7 (MSB) Veri fi cat i on Length
8 ( LS B )
9 Control Byte
* V E R I FY i s used t o verify data on the medium.
BytChk: 0 = do verify without data compare (use ECC, etc. ) ; no data is transferred
1 = do verify with data com pare ; data is transferred
By �� t 6 3 2
I I I I I I I
7 5 4 1 0
WRITE(1 0) Command
By �� t 7 6 3 2
I I I
1
I I I I
5 4 0
5 ( LS'B)
6 Reserved
7 (MS B ) Tra n s fer Length
8 ( LSB )
9 Control Byte
* T h e WR ITE Co m m a n d s are used to transfer logical blocks to t h e Target from t h e Initiator.
See page 1 53 for a descripti o n of the DPO, FUA, Re iAdr, Logical Block Address, a n d Transfer
Le ngth fields.
6 3 2
By n t I
1
I I I
4
I
7 5 0
I l
0 Operat i on Code 12 Ehl
1 { Log i c a l Un i t N umber} I DPO I Reserved i Reserved l BytCh k 1 Rel Adr
2 (MS B ) -
3
Log i cal B l ock Add ress -
4
5 ( LS'B')
6 Reserved
7 (MSB) Tran s fer Length
8 ( LSB)
9 Control Byte
* WRITE AND VER I FY is used t o transfer logical blocks t o the Target from the Initiator and then
verify the write.
0 Operat i on Code ( 3 Fh )
1 { Log i cal Un i t Number} 1 Reserved 1 Rel Ad r
2 (MSB) -
3
4
Log i c a l Bl ock Address -
5 ( LSB)
6 Reserved
7 (MSB) Byte Tran s fer Length
8 ( LSB)
9 Contro l Byte
* WRITE LON G i s used to transfer the physical data t o b e recorded in a logical block, including the
error correcting codes (ECC) and synchronization data.
Byte Transfer Length: exact number of bytes in physical sector data. See R EAD LONG, page 1 68.
6 1
By �� t 7
I I 5
I
4
I 3
I 2
I I 0
0 Operati on Code ( 4 1 h )
1 { Log i c a l Uni t Number} I Reserved I PBdata I LBdata I Rel Ad r
2 (MS B ) -
3
4
Log i c a l B l ock Address -
5 ( LSi3)
6 Reserved
7 {MS B ) Number o f B l ocks
8 ( LSB)
9 Control Byte
* W R I T E SAM E i s used t o initialize a large number o f blocks to t h e same data pattern. O n e logical
block's worth of data is transferred from the Initiator.
PBdata: 0 = no function
1 = replace first eight bytes of data written to each physical sector with the physical
sector address (the first eight bytes of data in each sector are overwritten).
LBdata: 0 = no function
1 = replace first four bytes of data written to each logical block with the Logical Block
Address (the first four bytes of data in each sector are overwritten).
Bi t 7 6 4 3 2 1 0
I I I I I I I
5
Byte
0 Page Code (40h )
1 Re s e rv e d
2 (MSB)
P a g e Len g t h ( OO O A h )
3 ( LS �
4 Re s e rv e d I S u p p l i ed F o rmat
5 Reserved I T r a n s l a t e F o rmat
6
7
-
8 -
9
A d d re s s t o T r a n s l a t e -
10 -
11
12
-
13
rt
By �
7
I
6
l
5
I
4
l
3
l
2
l
1
l
0
0 P a g e C o d e ( 40 h )
1 Re s e rv e d
2 (MS B )
P a g e Le n g t h
3 ( LS B)
4 Re s e rv e d l S u p p l i ed F o rmat
5 RA R E A I A LT S E C I ALTTRK I Re s e rv e d I T r a n s l a t e d F o rmat
6 -
7 -
8 -
9
T r a n s l a t e d Ad d r e s s 1 -
10 -
11 -
12 -
13
14 -
15 -
16
17
-
T r a n s l a t e d Ad d r e s s 2 ( i f req u i red ) -
18 -
19 -
20 -
21
- - - r - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
n
- - -
-
r - T r a n s l a t e d Ad d re s s n ( i f req u i red ) -
nn
The Tra nslate Address Pages are used to convert a n address into another kind of address; usually
a Logical Block Address into a physical address of some kind.
Page Length: the length of following bytes; also, equal to total Page length minus four.
Translated Addresses: format is specified by Translate Format. More than one is returned if the
physical position is not certain .
RAREA : 0 = translated address does not fall into a reserved area of the disk
1 = all or part of translated address lands in a reserved area of the disk
AL TSEC: 0 = translated address does not fall into an alternate sector of the disk
1 = all or part of translated address lands in an alternate sector of the disk
AL TTRK: 0 = translated address does not fall into an alternate track of the disk
1 = all or part of translated address lands in an alternate track of the disk
rt 0
7
I I I I I 2
I I
6 5 4 3 1
By �
0 Page Code (4 1 h )
1 Re s e rv e d
2 (MS B )
3
P a g e Le n g t h ( 0 0 08 h )
( LS�
4 Re s e rv e d
5 Re s e rv e d
6 Re s e rv e d
7 Re s e rv e d
8 Reserved
9 Re s e rv e d
10 Reserved
11 Re s e r v e d
By�� t 7
I 6
I 5
I 4
I 3
I 2
I 1
I 0
0 Page Code ( 4 1 h )
1 Reserved
2 (MSB)
P a g e Le n g t h
3 ( LS B)
4 Res e r v e d
5 Res e r v e d
6 Re s e rv e d I Syn c h ro n i z a t i o n I RPL
7 Res e r v e d I SSIS I SSI E l SSSL
8
- - -- - - -
Reserved
47
4
- -
8 - - - -
, Ven d o r S p e c i f i c
nn
The Drive Status Pages are used to determine the operational status of the drive.
Page Length : the length of following bytes; also, equal to total Page length minus four.
10 spindle cannot synchronize with the reference signal or reference signal is not
=
present.
11 spindle is in process of synchronizing with the reference signal.
=
P a rame t e r
Code Des cri pti on
OOOOh F o rm a t DATA OUT P h a s e D a t a
OOO l h N u m b e r o f G rown D e fe c t s d e t e c t e d d u r i n g C e rt i f i c a t i o n
0002h T o t a l b l o c k s re a l l o c a t e d s i n c e l a s t F o rm a t
00 0 3 h To t a l b l o c k s re a l l o c a t e d
0004h P owe r-on m i n u t e s s i n c e l a s t F o rmat
0005 h-7 F FFh Re s e rved
800 0 h - F F F F h Vendor Speci fi c
I
( v a l i d o n l y f o r t h e MOD E S EN S E c omm a n d )
1Ch I n f o rm a t i o n a l E x c e p t i o n s C o n t ro l P a g e ( s e e p a g e 1 4 8 ) S P C 8 . 3 . 6
1 Dh - 1 Fh Re s e rv e d
20h - 3Eh Vendor Speci fi c
3Fh R e t u r n a l l P a g e s ( v a l i d o n l y f o r t h e MO D E S E N S E comm a n d )
t 7 6 5 4 3 2 1 0
By � � I I I I I
0 PS Res erved Page Code (08h )
1 Page Length ( 1 2 h )
2 IC ABPF C A P I D I S C I S I Z E I WC E I MF I RCD
3 Demand Read Reten t i o n Pri ori ty I Wr i te Reten t i on Pri o r i ty
4 (MSB)
D i s a b l e Pre-fetch Tran s fer Len g t h ......,....--
5 ( LS B )
6 (MSB)
Mi n i mum Pre-fetch ......,....--
7 ( LS B )
8 (MSB)
Maxi mum Pre-fetch -
9 ( LS B )
10 ( MS B )
Maxi mum Pre-fe t c h C e i l i n g
11 ( LSB)
12 FS W LBCSS ORA I VendSpec i VendSpec l Res e rved
13 Number o f C ac h e Segme n t s
14 (MSB)
Cache Segmen t S i z e -
15 ( LS B )
16 Res erved
17 (MSB) -
19
The Caching Page i s used to control the behavior of the cache memory .
WCE: 0 = write cache disabled: return status after data is written to disk
1 = write cache enabled : Target may return status after data is written to cache
RCD: 0 = read cache enabled: Target can transfer data from cache
1 = read cache disabled: Target must get data from disk
Minimum Pre-fetch : (adivsory) value that defines the minimum number of blocks to pre-fetch before
servicing new read or write command. A value of zero indicates that the Target should stop pre
fetching whenever a n ew command is received:
Maximum Pre-fetch : (advisory) value that defines the maximum number of blocks to pre-fetch. If the
resulting value of this field is g reater than the Maximum Pre-fetch Ceiling field, then the ceiling is
used as the maximum number of blocks to pre-fetch:
Maximum Pre-fetch Ceiling: (advisory) maximum number of blocks to pre-fetch if maximum pre-fetch
blocks is greater than this field (see above) .
LBCSS: 0 = Cache Segment Size field is the number of bytes in a cache segment.
1 = Cache Segment Size field is the number of Logical Blocks in a cache segment.
Number of Cache Segments: (advisory) the number of segments to divide the cache.
Cache Segment Size: (advisory) the size of each segment i n the cache, i n units defined by the LBCSS
bit (see above).
Non-Cache Buffer Size: (advisory) the size of the buffer in bytes to use for data transfer in the event of
a cache miss.
7 6 5 4 2 1
I I
t 3 0
By �� I I
0 PS R e s e rved Page Code ( 0 3 h
1 P a g e L e n g t h i n byt e s ( 1 6 h )
2 ( MS B )
Tracks per Zone
3 ( L S 'B)
4 ( MS B )
A l tern a t e S e c t o r s p e r Z o n e
5 ( L S 'B)
6 ( MS B )
A l tern a t e T r a c k s p e r Z o n e
7 ( LS B)
8 ( MS B )
A l t e r n a t e T r a c k s p e r Lo g i c a l U n i t
9 ( LS B)
10 (MSB)
Sectors per Track
11 ( LS 'B)
12 (MSB)
D a t a Byt e s p e r P h ys i c a l S e c t o r
13 ( LS 'B)
14 ( MS B )
I n terl eave
15 ( LS B)
16 ( MS B )
T r a c k S k ew F a c t o r
17 ( LS B)
18 ( MS B )
Cy l i n d e r S k ew F a c t o r
19 ( LS B)
20 S S EC H S EC RMB I SURF I Re s e rv e d
21 Re s e rv e d
22 Re s e rv e d
23 Re s e rv e d
The FORMAT D EVICE Page is used t o establish defect management a n d performance parameters
relative to the d isk format :
I n the following definitions, do not confuse the 'zones' defined here with what is sometimes known as
'Zoned Bit Recording' (ZBR). SCSI calls these zones ' N otches' . Zones here are defined only for alternate
sector and track allocation, and may be allocated over a whole disk or over a N otch. When using a
'Notched' disk, the fields below may have different values defined for each Notch .
Tracks per Zone : N umber of tracks (not cylinders) in which alternate sectors and tracks may be
allocated. For example, if alternate sectors are allocated per cylinder, and there are eight tracks
(heads) per cylinder, then set this field to eight.
Alternate Sectors per Zone : Specifies the number of alternate sectors in each of the zones defined by
the Tracks per Zone field.
Alternate Tracks per Zone : Specifies the number of alternate tracks in each of the zones defined by
the Tracks per Zone field.
Alternate Tracks per Logical Unit: Specifies the number of alternate tracks allocated for use by the
entire disk. This field allocates alternate tracks separate from the Alternate Tracks per Zone field.
Data Bytes per Physical Sector: Physical sector size ; not necessarily the same as the logical block
size.
Interleave: Same as the value passed in the FORMAT U N IT command. This field is only for reporting
via MODE SENSE, and cannot be set via MODE S ELECT.
Track Skew Factor: Number of physical sectors between the last logical block of one track and the
first logical block of the next track within a cylinder.
Cylinder Skew Factor: N umber of physical sectors between the last block on one cylinder and the first
block of the next cylinder.
(SSEC I H SEC)
00 = invalid combination
01 = supports hard sector only
10 = supports soft sector only
11 = supports both
(SSEC I HSEC)
00 = not changeable
01 = invalid combination
10 = invalid combination
11 = supports both
(SSEC I HSEC)
00 = invalid combination
01 = currently set to format as hard sector
10 = currently set to format as soft sector
11 = invalid combination
(SSEC I HSEC)
00 = invalid combination
01 = currently formatted as hard s ecto r
I
10 = currently formatted as soft sector
11 = invalid combination
MODE SELECT:
(SSEC I HSEC)
00 = invalid combination
01 = commands Target to format as hard sector
10 = commands Target to format as soft sector
11 = invalid combination
1 removable media
=
t 7 6 5 2 0
By �� I 4
I 3
I I 1
I
0 PS Res e rved Page Code ( OCh )
1 Page Len g t h ( 1 6 h }
2 NO LPN Res erved
3 Res e rved
4 ( MSB )
Maxi mum Number o f Notches .....,....--
5 ( LSB )
6 ( MSB )
Act i ve Notch _,....--
7 ( LSB )
8 ( MSB ) -
9
Start i ng Boundary -
10
.....,....--
11 ( LSB )
12 ( MS B ) -
13
En d i n g B o u n d a ry -
14 -
15 ( LSB )
16 ( MSB ) -
17 -
18 -
19
Pages Notched -
20 -
21 -
22
__,....-.
23 ( LSB )
The N OTCH Page is used to establish partitions or ' N otches' for what is sometimes called 'zoned bit
recording' or 'constant bit density recording' , where cylinders near the outer edge of the disk have more
sectors per track than cylinders near the inner edge.
ND: 0 = no Notches
1 = Notched
SCSI Bench Reference Copyright e> 1 989, 1 992, 1 996 ENOL Publications
190 CO M MANDS FO R D I R ECT-ACCESS D EVICES
Maximum Number of Notches: (MODE SENSE ONLY) number of Notches on the disk.
Active Notch: indicates the current Notch setting for MODE SELECT and MODE SENSE purposes.
Zero indicates that subsequent MODE SELECT or MODE SENSE commands apply to all Notches.
Any other value (less than the M aximum) indicates the Notch to which subsequent MODE SELECT
or MODE SENSE commands apply.
Starting Boundary: determined by the state of the PLN bit (see above) :
(LPN 0) Four bytes indicate CYL:CYL:CYL: H EAD.
=
Ending Boundary: determined by the state of the PLN bit (see above) :
(LPN 0) Four bytes indicate CYL:CYL: CYL: H EAD.
=
Pages Notched: indicates which pages have parameters that can be set for each Notch. Bit 7 of
Byte 1 6 corresponds to Page Code 3Fh, Bit 6 is 3Eh, and Bit 0 of Byte 23 is Page Code DOh.
By �� t 7 6 5
I
4
I
3
I
2
I
1
I 0
0 PS Re s e rv e d Page Code ( 0 1 h )
1 P a g e L e n g t h ( OA h )
2 AWR E ARRE TB I RC I E E R I P E R I DT E I OCR
3 R e a d Retry C o u n t
4 C o rrect i o n S p a n
5 Head Offset Count
6 D a t a S t ro b e O f f s e t C o u n t
7 Re s e rved
8 W r i t e Ret ry C o u n t
9 Re s e rved
10 (MSB)
R e c o v e ry T i me L i m i t
11 ( LS 'B)
The Read/Write Error Recovery Page is used to control the error recovery algorithm of the disk.
WAR N I N G : The E E R , P E R , DTE, and D C R bits have "combination" meanings a s well a s separate
definitions. Refer to the SBC standard for more detailed information.
Correction Span : size in bits of largest error burst on which to attempt error correction.
WAR N I N G : Different disk drives may handle the Correction Span field differently, particularly those
with multiple burst capability. In any case, refer to the product documentation when using this
field to regulate miscorrection probability.
Data Strobe Offset Count: signed position from nominal position of disk's read data recovery circuit.
Recovery Time Limit: number of milliseconds allowed for data recovery. NOTE: When this field and the
Retry Counts are specified, use the lowest time duration.
By �� t 7 6 5
I
4
I
3
I
2
I
1
I
0
0 PS Reserved P a g e C o d e ( 04 h )
1 P a g e L e n g t h i n bytes ( 1 6 h )
2 (MSB) -
3 N um b e r o f Cy l i n d e rs
4 ( LS B')
5 N um b e r o f H e a d s
6 (MSB) -
7 S t a rt i n g Cy l i n d er-Wr i te P re c omp e n s a t i o n
8 ( LS 'B'")
9 (MSB) -
10 S t a rt i n g Cy l i n d e r- Red u c e d W r i te C u rrent
11 ( LS 'B'")
12 (MSB)
D r i v e S tep Rate
13 ( LS B)
14 ( MS B ) -
15 L a n d i n g Z o n e Cy l i n d e r
16 ( LS 'B'")
17 Res e r v e d I RP L
18 Rota t i o n a l O f f s e t
19 Re s e rv e d
20 (MSB)
Med i um Rot a t i o n Rate
21 ( LS B)
22 Re s e rv e d
23 Re s e r v e d
The Rigid Disk Drive Geometry Page i s used t o read or set the physical geometry o f the disk drive.
It is mostly used for "bridge" controllers that must interface to a wide variety of separate disk drives (e.g . ,
ST506 type) .
Number of Heads: heads used for "data storage", not counting heads dedicated for servo.
Rotational Offset: rotational skew when synchronized (R0/256) t o another disk spindle. A value of 1 28
indicates 1 /2 revolution skew.
t 7 6 5 4 2 0
I I I I I
3 1
By ��
0 PS Reserved Page Code ( 07 h )
1 P a g e Le n g t h ( OA h )
2 Re s e rv e d I EER I PER I DT E I DCR
3 V e r i fy R e t ry C o u n t
4 V e r i fy C o r r e c t i on S p a n
5 Res e rv e d
6 Res e r v e d
7 Re s e rv e d
8 Re s e rv e d
9 Reserved
I
10 ( MS B )
11
V e r i fy R e c o v e ry T i me L i m i t
(LSB)
The Verify Error Recovery Page is used to control the error recovery algorithm of the disk during
verify.
WAR N I N G : The EER, PER, DTE, and DCA bits have "combination" meanings as well as separate
definitions. Refer to the SCSI-2 or SBC standard for more detailed information.
NOTE: Most rigorous verify is achieved when EER:PER : DTE: DCR is set to 01 1 1 and retries and
recovery limit are set to zero. This is probably the fastest verify as well .
Verify Correction Span : size in bits of largest error burst on which to attempt error correction.
Verify Recovery Time Limit: number of milliseconds allowed for data recovery. NOTE: When this field
and the retry counts are specified, use the lowest time duration.
P�
55h 107 SPC 7 . 9 MODE S E L ECT ( l O )
56h M 124 S PC 7 . 2 2 R E S E RV E O
0
57h M 1 19 SPC 7 . 18 R E L EA S E 1 0
0
5Ah 1 08 SPC 7 . 1 1 MOD E S E N S E ( l O )
0
5Eh 110 SPC 7 . 12 P E RS I S T E N T R E S E RV E I N
5 Fh 114 SPC 7 . 13 P E RS I S T ENT R E S E R V E OUT
0
0
AOh 120 SPC 7 . 19 R E PO RT L U N S
S e e SMC SMC 6 . 3
0
A7 h MOV E M E D I UM ATTAC H ED
B4h S ee SMC SMC 6 . 5 R EAD E L EM E N T STATUS ATTACH ED
Key: M Command implementation is mandatory ; 0 Command implementation is optional.
Fixed: 0 = transfer one variable length block with length in bytes specified by the Transfer
Length
1 = return the number of fixed length blocks specified by the Transfer Length ; block
length is specified in the MODE S ELECT command
READ BUFFER
READ PO S I T I O N X X X
READ REVERSE X X
REC E I VE D IAGNO S T I C R E S U L T S
RELEASE ( 6 ) X
RELEASE ( 1 0 ) X X
REPORT DENS I T Y S U P PO R T X
REPORT LUNS
REQU E S T S E N S E
R E S E RVE ( 6 ) X
RE S E RVE ( 1 0 ) X X
REW I N D X
S E N D D I AGNO S T I C X X X X
S PACE
TEST UN I T READY
VER I F Y X X X
WRITE X
W R I T E B U FFER
W R I T E F I LEMARKS X X
Command Name 3 B B B C C D D E E F I L L L M P P P P R S S S S T U V W
r T y y rr P B e O V i rn o o o e a C F P e a e I P C n e S
d t t d D v T P x m a n n d d R C T v 1 L L i r m
p c e o 0 D e e d g g i e e f i P t i k
t h m t f d d I a n T 0 f
y k p 1 D s f y
t 1
CHANGE D E F I N I T ION X
COMPARE X
CO PY X
CO PY AN D VER I F Y X X
ERASE X X
FORMAT ME D I UM X X
I NQ U I RY X X
LOA D / UNLO A D X X X X
LO CATE X X X
LO G S E L E C T X X
LO G S E N S E X X
MO D E S E L E C T ( 6 ) X X
MO D E S E L E C T ( l O ) X X
MO DE S E N S E ( 6 ) X
MO DE S E N S E ( l 0 ) X
READ X X
READ B LO C K L I M I T S
Command Name 3 B B B C C D D E E F I L L L M p p p P R S S S S T U V W
r T y y m P B e O V i m o o o e a C F P e a e i P C n e S
d t t d D v T P x m a n n d d R C T v 1 L L i r rn
p C C D 0 D e e d g g i e e f i p t l k
t h m t f d d I a n T 0 f
y k p 1 D s f y
t 1
ERASE Comman d
5 2
By ��
t 7
I 6
I I 4
I 3
I J
1
I
0
0 O p e ra t i o n C o d e ( 1 9 h )
1 { Lo g i c a l U n i t N um be r } I Re s e r v e d I Immed I Lo n g
2 Reserved
3 Re s e rv e d
4 Re s e rv e d
5 C o n t r o l Byte
* ERASE causes all or part of the tape to be erased. Position at completion is not defined.
Long : 0 = writejerase a gap on the tape (see device configuration M O D E S ELECT Page, on
page 228)
1 = erase from present position to End-Of-Medium
By nt 7
I
6
I
5
I
4
I
3
I
2
I
1
I 0
0 Operat i on C o d e ( 04 h )
1 { Log i c a l Un i t N um b e r } I Reserved I V e r i fy I I mmed
2 Reserved I F o rmat
3 ( MS B )
T r a n s fe r Le n g t h
4 ( Ls -sr-
5 C o n tro l Byte
1 -7 reserved=
Transfer Length : number of bytes of format information to transfer. The format information is vendor
specific.
By nt 7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 O p e ra t i o n Code ( l B h )
1 { Log i c a l U n i t Number} I Re s e rved I I mmed
2 Re s e rv e d
3 Re s e r v e d
4 Re s e rv e d I EOT I Re-Ten I Load
5 C o n t ro l Byte
* LOAD/U N LOAD is used t o bring a tape on-line or take i t off-line. Also does tape re-tension.
WAR N I N G : This command does NOT transfer buffered data and f or marks to the medium. Do a
WRITE FILEMARKS command (or similar operation) to complete transfer to tape before unload.
Load: 0 = unload
1 = load and position to Beginning-Of-Partition zero
LOCATE Command
5
ByUt 7
I
6
1 1
4
l
3
l
2
1
1
l
0
0 O p e ra t i o n C o d e ( 2 B h )
1 { Log i c a l U n i t N um b e r } I Res e r v e d I BT I CP 1 I mmed
2 R e s e rved
3 (MSB) -
4
B l o c k Ad d re s s -
5
6 ( LSB)
7 Reserved
8 Parti t i on
9 C o n t r o l Byt e
* LOCATE positions the tape t o a location before the specified logical block and partition.
WAR N I N G : This command does NOT transfer buffered data andjor marks to the medium. Do a
WRITE FILEMARKS command (or similar operation) to complete transfer to tape before moving the
tape to a new location.
By � �
t 7
I 6
I
5
_I
4
I 3
I
2
I
1
I
0
0 O p e r a t i o n C o d e ( 08 h )
1 { Log i c a l U n i t N um b e r } I Reserved I S I Ll I F i xed
2 ( MS B ) -
3 T ra n s fe r Le n g t h
4 ( LS �
5 C o n t ro l By t e
* R EAD is used t o transfer o n e or more blocks from the Target t o the Initiator beginning with the next
block on the tape. Position at completion is after the last block transferred.
Fixed: 0 = return one variable length block with length in bytes specified by the Transfer Length
1 = return the number of fixed length blocks specified by the Transfer Length ; block
length is specified in the MODE S ELECT command (see page 1 40, 1 4 1 ) .
7 5 4 3 2 1
I I I I I I I
t 6 0
sy u
0 Opera t i o n C o d e ( 0 5 h )
1 { Log i c a l U n i t Number} I R e s e rved
2 Re s e rv e d
3 Re s e rv e d
4 Reserved
5 C o n t r o l Byte
* READ BLOCK LI M ITS returns the possible block lengths for the logical unit. Position at completion
6 5 4 3 2 1 0
I I
t
I I I I
7
By ��
0 Re s e rv e d Gra n u l a r i ty
1 ( MS B ) -
2 M a x i mum B l o c k Le n g t h
3 ( LS B)
4 ( MS B )
M i n i m um B l o c k L e n g t h
5 ( LS B)
Granularity: supported block size granularity. The Granularity is a power of two ; the desired block
length minus the Minimum Block Length must be a multiple of 2 G ranularity
• If the Maximum Block Length equals the Minimum Block Length , then only fixed length blocks of
the indicated length are supported.
7 5
By ��
t
I
6
I I
4
I 3
I
2
I
1
I
0
0 O p e r a t i o n Code ( 3 4 h )
1 { Log i c a l U n i t N um b e r } I R e s e rved I TCLP I LONG I BT
2 R e s e rved
3 Reserved
4 Re s e rv e d
5 Re s e rv e d
6 Re s e rv e d
7 Reserved
8 Re s e rv e d
9 Con t ro l Byte
* R EAD POSITION reports the current partition and logical position of the tape; and also reports on
TCLP: 0 = return data specifying the first and last block location with the number of bytes and
blocks in the buffer.
1 = return data specifying the partition, file, and set number with the current logical
position.
t 7 6 5 4 3 2 1 0
By ��
0 BOP EOP BCU BYCU Reserved BPU PERR Res e rved
1 P a r t i t i o n Number
2 Res e rv e d
3 Re s e rv e d
4 (MSB) -
5
F i r s t B l o c k Locat i on -
6
7 ( LS �
8 ( MS B ) -
9
Last B l ock Locati on -
10
11 ( LS �
12 Re s e rv e d
13 (MSB) -
14 Number o f B l o c k s i n B u ffer
15 ( LS �
16 (MSB) -
17
N u m b e r o f Byt e s i n B u f f e r -
18
19 ( LS�
BPU: 0 = First Block Location and Last Block Location fields are valid
1 = block positions are unknown
Partition Number: current partition number; zero if only one partition is supported
First Block Location : current logical block position: where a R EAD or WRITE would access next
Last Block Location : block address where last block of data currently in the buffer will be written.
7
By��t 6 5
I
4 3 2 1
I
0
5
Parti t i on Number -
6
7 ( LS�
8 (MSB) -
9 -
10 -
11
B l o c k Number -
12 -
13 -
14
15 ( LS'B)
16 (MSB) -
17 -
18 -
19
Fi l e Number -
20 -
21 -
22
23 ( LS'B)
24 (MSB) -
25 -
26 -
27
Set Number -
28 -
29 -
30
31 ( LSB)
Partition Number: current partition number; zero if only one partition is supported
Block Number: number o f logical blocks between t h e beginning o f partition a n d t h e current logical
position.
File Number: number of file marks between the beginning of partition and the current logical position.
Set Number: number of setmarks between the beginning of partition and the current logical position.
7
By�� t J
6
J
5
I 4
I 3
J
2
I
1
I
0
3 T r a n s fe r Len g t h
4 ( LS �
5 C o n t r o l Byte
* R EAD R EVERSE acts just like the READ command except tape motion is in the reverse direction.
Byte order in the block (s) is reversed, but bit order is not. Position at completion is before the last block
transferred.
7 4 3
I
2
I I I I I I
6 5 1 0
By�� t
0 Ope ra t i on C o d e ( 1 4 h )
1 { Log i c a l U n i t N u m b e r } I Re s e rv e d I S I Ll I F i xed
(MSB)
3
2 -
T r a n s fer Len g t h
4 ( LS �
5 C o n t r o l Byte
* R ECOVER BU FFERED DATA acts just like the READ command except that data is transferred
from the buffer instead of the tape. Block order is as defined by the RBO bit (see MODE SELECT Device
Configuration Page, on page 228) ; default is: blocks are transferred to the Initiator in the same manner as
they would be transferred to the medium. Tape does not move.
7 6 4 3
By�! t I I
5
I I I
2
I
1
I 0
0 Operat i o n Code ( 4 4 h )
1 { Lo g i c a l U n i t N umb e r } I Re s e rved I Med i a
2 Reserved
3 Re s e rv e d
4 Re s e rv e d
5 Re s e r v e d
6 Reserved
7 (MSB) A l l o c a t i o n Len g t h
8 ( LSB)
9 C o n t ro l Byte
By Ut 7
I 6
I 5
I
4
I
3
I 2
I 1
I
0
0 (MSB)
1
A v a i l a b l e De n s i ty S u p p o r t Len g t h
( LSB)
2 Re s e rv e d
3 Re s e rv e d
De n s i ty S u p p o r t D a t a B l o c k s ( )
0 P r i m a ry D e n s i ty C o d e
1 S e c o n d a ry D e n s i ty C o d e
2 WrtOK I Dup I Defl t I R e s e rv e d
3 Re s e rv e d
4 Re s e rv e d
5 (MSB) -
6 B i t s p e r mm
7 ( LS B)
8 (MSB)
9
Med i a W i d t h
( LSB)
10 (MSB)
11
Tracks
( LSB)
12 (MSB) -
13
C a p a c i ty -
14
15 ( LSB)
16 (MSB) (ASC I I )
23
Ass i gn i n g Organ i z ati on
( LS B) -
24 (MSB ) ( AS C I I )
31
De n s i ty N ame
( LS B) -
32 (MSB ) (ASC I I )
51
De s c r i p t i o n
( LS B) -
Available Density Support Length : number of bytes in following data; also, the number of Density
Support Data Blocks times 52, plus 2.
The four byte header is followed by one or more Density Support Data Blocks.
Primary Density Code: t h e M O D E S ELECT/ M O D E SENSE Density Code for the density described by
this data block. See page 222 for the list of "recommended" Sequential Access Density Codes.
Secondary Density Code: if the density being reported can also be assigned to another Density Code
value, the code is reported here. Otherwise, this is set equal to the Primary Density Code.
Dup: 0 = this density has exactly one Density Support Data Block.
1 = this density has more than one Density Support Data Block.
Bits per mm : the number of bits per millimeter per track, rounded to the nearest m m .
Capacity: if the M e d i a bit in the COB is zero, this is the approximate capacity In megabytes of the
longest supported medium in this density using one partition. If the Media bit is one, this is the
approximate capacity in megabytes of the current medium. (One megabyte 1 ,000,000 bytes.)
=
Assigning Organization : eight bytes of ASCII data that identifies the organization responsible for the
specifications for this density.
Density Name: eight bytes of ASCI I data that identifies the name of this density.
REWI N D Co mmand
4 3
I
6 5 2 1
J I
0
By�� t 7
l l J 1
0 Operat i on Code { O l h )
1 { Log i c a l U n i t Number} I Re s e rved I Immed
2 Re s e rv e d
3 Reserved
4 Re s e rv e d
5 C o n t r o l Byte
7
By � �t I
6
I
5
I
4
I
3
I
2
I
1
I
0
0 Operat i o n ( l l h )
1 { Log i c a l U n i t N umb e r } I Re s e rved I Code
2 ( MS B ) -
3 Count
4 ( LSB)
5 C o n t r o l Byte
* SPACE causes the tape to be positioned as specified by the Count and Code fields. The following
table summarizes the possible combinations of Code, Count, and other parameters that affect the
behavior of this command. The SPACE command is also affected by the setting of the RSmk and R EW
bits in the MODE SELECT Device Configuration Page (see page 228) .
00 1 0 none f i l ema r k s • d o n o po s i t i o n i n g
010 N f o rward s e q u en t i a l . a f t e r a g ro u p o f N c o n s e c u t i v e
f i l ema r k s f i l em a r k s a re d e t e c t e d
. a ft e r a s e tm a r k wh e n RSm k = 1
. a ft e r E a r l y-Wa r n i n g w h e n R EW 1=
. a ft e r E n d -O f - D a t a
• a t E n d -O f - P a rt i t i o n
010 -N reverse s e q u en t i a l • a ft e r a g ro u p o f N c o n s e c u t i v e
f i l em a r k s f i l em a r k s a r e d e t e c t e d
• a f t e r a s e tm a r k w h e n RSm k = 1
. a ft e r E a r l y-Warn i n g w h e n REW 1
• a ft e r Beg i n n i n g -O f - D a t a
. a t B e g i n n i n g -O f - P a rt i t i o n
010 0 none s e q u en t i a l • d o n o po s i t i o n i n g
f i l ema r k s
• forward indicates that the tape stops on the End-Of-Partition side of the object.
• reverse indicates that the tape stops on the Beginning-Of-Partition side of the object.
VER I FY Command
7 5 4 3 2 1
I I
0
I I I I I
t 6
By ��
0 O p e r a t i on C o d e ( 1 3 h )
1 { Log i c a l U n i t Number} I Re s e rv e d I I mmed I BytCmp I F i xed
2 ( MS B ) -
3 V e r i f i c a t i o n Len g t h
4 ( LSB)
5 C o n t r o l Byte
* VER I FY requests the verification of one or more blocks of data beginning with the next block on the
tape. Position at completion is after the last block transferred.
Verification Length : the number of bytes or blocks to verify, as defined by the Fixed bit.
WR ITE Command
I I I I I
t 7 6 5 4 3 2 1 0
By �� I I
0 Operat i o n C o d e ( OAh )
1 { Log i c a l Un i t Number} I Reserved I F i xed
2 (MSB) -
3 T r a n s f e r Le n g t h
4 ( LSB)
5 C o n t ro l Byt e
* WRITE requests the writing o f o n e o r more blocks of data beginning with the next block o n the
tape. Position at completion is after the last block transferred .
Fixed: 0 = write one variable length block with length in bytes specified by the Transfer Length
1 = write the number of fixed length blocks specified by the Transfer Length ; Block
Length is specified in the MODE SELECT command (see page 1 40, 1 41 ) .
7 6
By � �t I I
5
I
4
I
3
I
2
I
1
I
0
0 Operat i o n Code ( 1 0 h )
1 { Lo g i c a l U n i t N umb e r } I Rese rved I WSmk I I mmed
2 (MSB) -
3 Tran s fe r Len g t h
4 ( LS'B")"
5 Con t r o l Byte
* WRITE FILEMARKS is used to write one or more filemarks on the tape starting at the current
position.
P a rame t e r
Code Des c r i p t i on
OOOOh N u m b e r o f byt e s r e ce i ved from I n i t i a t o r by W R I T E comma n d s
OOO l h N um b e r o f d a t a byt e s w r i t t e n to me d i a b y W R I T E c omm a n d s
0002 h N u m b e r o f d a t a byt e s read f rom med i a b y READ c omma n d s
0003 h Number o f d a t a byt e s s e n t t o I n i t i a t o r b y R E A D c omman d s
0004 h - O O F F h Re s e rv e d
O lOOh C l e a n i n g req u i red
0101h-7 FFFh Re s e rv e d
8000 h - F F F F h Vendor Speci fi c
N RZ 1
OOh Defau l t Target o r peri p h e r a l dev i ce ' s defau l t or o n l � d en s i ty)
01h 12 . 7 .5 9 32 (BOO R X 3 . 2 - 1 9 8 3 paral l e l
�
02h 12 . 7 0 . 5 9 63 1 , 60 0 PE R X 3 . 3 9 - 1 9 8 6 paral l el
03h 12 . 7 0 . 5 9 246 6 , 250 GCR R X 3 . 5 4 - 1 9 8 6 P.aral l e l
�
04h 6.3 0.2 4/9 315 8 , 000 GCR C X3 . 1 3 6 - 1 986 ( * 1 )
1i
05h 6 . 3 0 . 25 4/9 3 15 8 , 00 0 GCR C X 3 . 1 3 6 - 1 9 8 6 seri a l
06h 12 . 7 0 . 5 9 126 3 , 200 PE R X 3 . 1 5 7 - 1 9 8 7 paral l e l
6.3 0.2 ) X 3 . 1 1 6 - 1 98 6 seri a l
b �
07h 4 252 6 , 40 0 I M FM C
cs X 3 . 1 5 8 - 1 987 seri a l
f
08h 3 . 81 0 . 15) 4 3 15 8 , 00 0 GCR
09h 12 . 7 .5 18 1 4 9 1 ( 7 , 87 1 GCR c X 3 B 5 / 8 7 - 0 9 9 paral l e l
c
f
OAh X 3 B 5 / 8 6 - 1 9 9 seri a l
�
12 . 7 0 . 5 22 262 6 , 667 M FM
OBh 6.3 0.2 ) 4 63 1 , 60 0 PE c X 3 . 5 6 - 1 986 seri a l
OCh 12 . 7 0 . 5 24 500 1 2 , 690 GCR c H I -TC l seri a l
ODh 12 . 7 0 . 5 24 9 9 9 2 5 , 380 GCR c H I -TC2 seri a l
c seri a 1
O Eh Reserve for ECMA
� �
O Fh 6 . 3 ( . 25) 15 394 ( 1 0 , 0 0 0 ) GCR Q I C 120
10h 6 . 3 . 25 18 3 9 4 1 0 , 000 GCR c QIC150 seri a l
c
!b �
11h 6 . 3 . 25 26 630 1 6 , 00 0 GCR Q I C320 seri a l
12h 6 . 3 . 25 30 2034 5 1 , 667 RLL c QIC1350 seri a l
13h 3 . 81 0 . 15 1 2400 6 1 , 000 DDS cs X 3 B 5 /88- 185A h e l i ca l
14h 8.0 . 315 1 1703 43 , 245 RLL cs X 3 . 2 0 2 - 1 9 9 1 h e l i cal
15h
16h
17h
8.0 0 . 315
12 . 7 0 . 5
12 . 7 0 . 5
� 1
48
48
1 7 89 4 5 , 4 3 4
3 9 4 1 0 , 00 0
1 6 7 3 42 , 5 0 0
RLL
M FM
M FM
cs ECMA TC 1 7 h e l i ca l
c
c
X 3 . 1 9 3 - 1 9 9 0 seri a l
X 3 B 5 / 9 1 - 1 7 4 seri a l
18h 12 . 7 ( 0 . 5) 1 12 1 6 7 3 ( 42 , 5 0 0 ) M FM c X 3 B 5 / 9 2 - 5 0 seri a l
{:i� r 1 r
19h
1Ah
1Bh
1Ch c seri al
! 1
6.3 0 . 25 34 1654 2 · 000 M FM C-385M
1Dh c
seri a 1
6.3 0 . 25 32 1 5 12 38 , 400 GCR I C - 4 1 0Mseri a l
c
seri a 1
1 Eh 6.3 0 . 25 30 1 38 5 36 , 000 GCR I C - 1 000C
RLL c
�� t
1 Fh 6.3 0 . 25 30 2666 67 , 733 I C -2 1 0 0 C
�
U r o�r l
20h 6.3 . 25 144 2666 67 , 733 RLL c Q I C-6GB (M seri a l
21h 6.3 0 . 25 144 2666 67 , 7 3 3 RLL c I C- 2 0 G B ) seri a l
22h 6.3 0 . 25 42 1 60 0 4 0 , 640 GCR c I C -2GB ) seri a l
23h 38 2666 67 , 733 RLL c Q I C-87 5 seri a l
I I
cs
�=i�
24h 1 1 2400 6 1 ' 000 DDS-2 h e l i ca l
cs
f �
25h 3 . 81 0 . 15 1 3816 97 , 000 DDS-3 h e l i ca l
26h 3 . 81 0 . 15 1 3816 97 , 000 cs DDS-4 h e l i cal
27h 8.0 . 315 1 3056 77 , 611 RLL cs *3 ) h e l i ca l
28h 12 . 7 0 . 5) 36 149 1 3 7 , 87 1 GCR c X B 5 / 9 4-043A seri a l
29h - 7 E h Res e rved
7 Fh No change from prev i o u s dens i ty ( NO-O P ) ( *2 )
80h F F h V e n d o r Un i q u e
-
Key:
Code Typ e
GEN ERAL NOTE: With SCSI-3, Logical Units are n o longer required t o use the density codes listed in this
table. However, it is highly recommended!
l
I n form a t i on a l E x c e p t i o n s C o n t ro l P a g e lCh SPC 8.3.6
( s ee p a g e 1 48 )
Med i um P a r t i t i o n P a g e 1 l lh sse 5.3.3.3
Med i um P a r t i t i o n P a g e 2 12h sse 5.3.3.4
Medi um P a r t i t i o n P a g e 3 13h sse 5.3.3.4
Med i um P a r t i t i o n P a g e 4 14h sse 5.3.3.4
P e r i p h e ra l De v i c e P a g e ( s e e S P C ) 09h SPC 8.3.7
Powe r C o n d i t i o n P a g e ( s ee p a g e 1 4 9 ) 1Ah SPC 8.3.8
Read-Wr i te E r r o r R e c o v e ry P a g e 01h sse 5.3.3.5
Re s e rved 0 3 h - 08h
Rese rved OBh - OEh
Reserved 15h - 19h
Re s e rved 1Bh
Re s e rved 1 D h - 1 Fh
Vendor S p e c i f i c ( n o P a g e f o rma t ) OOh
V e n d o r S p e c i f i c ( P a g e f o rm a t r e q u i re d ) 15h - 3Eh
Re t u r n s a l l P a g e s 3Fh
( v a l i d o n l y fo r t h e M O D E S E N S E comm a n d )
!l
OBh - OEh Re s e r v e d
O Fh D a t a C om p re s s i o n Page sse 5.3.3. 1
10h De v i c e C o n f i g u ra t i o n P a e sse 5.3.3.2
llh Med i um P a r t i t i o n Page 1 sse 5.3.3.3
12h Med i um P a r t i t i o n P a g e 2 sse 5.3.3.4
13h Med i um P a r t i t i o n Page 3 sse 5.3.3.4
14h Med i um P a r t i t i o n P a g e 4 sse 5.3.3.4
15h - 19h Re s e r v e d
1Ah Power Cond i t i on Page ( s ee page 149 ) SPC 8 . 3 . 8
1Bh Re s e rv e d
1Ch I n f o rm a t i o n a l E x c e p t i o n s C o n t ro l P a g e ( s ee p a g e 1 4 8 ) S P C 8 . 3 . 6
1 D h - 1 Fh Re s e rv e d
20h - 3 Eh V e n d o r S p e c i f i c ( P age format re q u i red )
SCSI Bench Reference Copyright © "1 989, "1 992, 1 996 E N O L Publications
226 C O M M A N D S FOR SEQU ENTIAL-ACCESS DEVICES
Decompression Algorithm : indicates the algorithm to use when decompressing data, or the algorithm
that was last used. Same values in table above.
4 3 2 1
I I I I I 0
7 6 5
Byut
0 PS Re s e rv e d Page Code ( lOh )
1 P a g e Len g t h ( O E h )
2 Reserved CAP CAF I A c t i v e F o rm a t
3 Act i ve Parti t i on
4 W r i te B u f f e r F u l l R a t i o
5 R e a d B u f f e r Empty R a t i o
6 (MSB) W r i te D e l ay T i me
7 ( LS B)
8 DBR BIS RSmk I AVC I SOCF I RBO I R EW
9 Gap S i ze
10 EOD D e f i n e d I E EG I S EW I SWP I Re s e rved
11 (MSB) -
12 B u f f e r S i z e a t E a r l y-W a r n i n g
13 ( LS B)
14 S e l e c t D a t a Compres s i o n A l g o r i t hm
15 Re s e r v e d
The Device Configuration P age i s used for assorted sequential access device parameters.
Write Buffer Full Ratio ('NBFR) : indicates how full the buffer should be (WB FR/256) on a WRITE
command before writing the data to the tape.
Read Buffer Empty Ratio (RBER) : indicates how empty the buffer should be (RBER/256) on a READ
command before reading the data from the tape
Write Delay Time : maximum time (in 0 . 1 second increments) to hold data in the buffer before writing
data to the tape
AVC: 0 = use speed selected by the Speed field in the MODE SELECT/MODE SENSE Header
(see page 1 39)
1 = select speed appropriate for best streaming activity (e. g . , less "shoe-shine" on
streaming tape)
RBO: 0 = for a RECOVERED BU FFERED DATA command (see page 2 1 0) , data is returned in
First-In-First-Out order relative to the order written into the buffer
1 = for a R ECOVERED B U FFERED DATA command, data is returned in Last-In-First-Out
order relative to the order written into the buffer
REW: 0 = do not report Early-Warning during R EAD or S PACE; report Early-Warning during
write
1 = report Early-Warning as End-Of-Medium
EOD Defined:
ODD = Target defined End-Of-Data definition
001 = End-Of-Data is defined by an erased area of medium appropriate to the format
0 1 0 = End-Of-Data is equivalent to the number of consecutive filemarks indicated by the
SOCF field (see above)
0 1 1 = Target cannot detect or generate End-Of-Data area
1 00-1 1 1 = reserved
SEW: 0 = do not write buffered data, filemarks, or setmarks to tape when Early-Warning is
detected
1 = write buffered data, filemarks, or setmarks to tape when Early-Warning is detected
Buffer Size at Early-Warning: th e reduced size of the Target data buffer when tape is positioned
between Early-Warning and End-Of-Partition
02h - 7 Fh reserved
=
1
By r� t 7 6 5
I 4
I 3
I 2
I I
0
0 PS Re s e rv e d Page Code ( l l h )
1 P a g e Len g t h ( n - 1 )
2 M a x i mum Ad d i t i o n a l P a r t i t i o n s
3 Ad d i t i o n a l P a r t i t i o n s D e f i n e d
4 FDP SDP I DP I P S UM I Re s e r v e d l C L EA R I ADDP
5 Med i um Form a t R e c o g n i t i o n
6 Reserved I Part i t i on Un i ts
7 Re s e rved
8 - n P a r t i t i o n S i z e De s c r i p t o r ( s )
0 (MSB)
Parti ti on S i z e
1 ( LS B)
The Medium Partition Page (1) i s used t o specify the first group of partitions.
Page Length : set to the number of Partition Size Descriptors plus eight.
Maximum Additional Partitions: maximum n umber of partitions supported by the Target. Zero indicates
that the maximum is not specified.
the PSUM field as shown in the table above. Partitions 64 255 are defined by the Pages described
-
4 3 2 1 0
I I I I I
t 7 6 5
By ��
0 PS Re s e rved Page Code ( p )
1 Page Length ( n - 1 )
2 - n P a r t i t i o n S i z e De s c r i p t o r ( s )
0 ( MS B )
1
Parti t i on S i z e
( LS B)
The Mediu m Partitio n Pages (2), (3), a n d (4) are used to specify the sizes of partitions beyond the
ones that can be specified by Medium Partition Page (1 ) .
Page Code (p) : is set corresponding t o t h e range o f Partition Sizes t o define (see below) .
Page Length : set t o the number o f Partition Size Descriptors plus two.
Partition Size Descriptors : the units of the size field are defined in the Medium Partition Page (1 )
(above). The partition size descriptor is not used if the I D P bit of Page (1 ) is zero .
• Medium Partition Page (2) : Page Code 1 2h . Define the sizes of partitions 64 - 1 27.
• Medium Partition Page (3) : Page Code 1 3h . Define the sizes of partitions 1 28 - 1 9 1 .
• Medium Partition Page (4) : Page Code 1 4h. Define the sizes of partitions 1 92 - 255.
By r�
t 7 6 5
I 4
I 3
I 2
J
1
I
0
0 PS R e s e rved Page C o de ( 0 1 h )
1 P a g e Le n g t h ( OA h )
2 Reserved Reserved TB j Reserved j E E R I PER I DT E I DCR
3 Read Retry C o u n t
4 Re s e rv e d
5 Re s e r v e d
6 Re s e rv e d
7 Reserved
8 W r i te Ret ry C o u n t
9 Reserved
10 Reserved
11 Reserved
WARN I N G : Unlike disk, the EER, PER, DTE, and DCR bits have no combination meanings or invalid
combinations.
Read Retry Count: number of read recovery attempts before reporting an unrecoverable error. Zero
means disable recovery.
Write Retry Count: number of write recovery attempts before reporting an unrecoverable error. Zero
means disable recovery.
0
M S PC 7 . 17 R E LEAS E 6
18h
0
See SPC S PC 7.3 COPY
1Ch 1 18 S PC 7 . 16 R EC E I V E D I AGNO S T I C R E S U LTS
1Dh M 126 S PC 7 . 23 S E ND D I AGNOS T I C
0
0
39h S e e S PC SPC 7.2 COM P A R E
0
3Ah S e e S PC S PC 7.4 C O P Y A N D V E R I FY
0
3Bh 129 S PC 7 . 25 WRITE BUFFER
3Ch 116 S PC 7 . 15 R EAD B U F F E R
0
0
40h See SPC SPC 7.1 C HA N G E D E F I N I T I ON
0
S PC 7.6 LOG S E L E C T
po�
4Ch 105
4Dh 106 S PC 7.7 LOG S E N S E
56h M 124 S PC 7 . 22 RESERVE
57h M 1 19 S PC 7 . 18 R E L EA S E 1 0
AOh 0 120 S PC 7 . 1 9 R E PO RT L U N S
RECEIVE Command
By ��
t 7
I
6
I 5
I
4
I
3
O p e r a t i on C o d e ( 08 h )
I
2
I 1
I
0
0
1 { Log i c a l U n i t N um b e r } I Reserved
2 (MSB) -
3 A l l o c a t i o n Le n g t h
4 ( LSB)
5 C o n t r o l Byte
Allocation L e ngth : maximum number of bytes that the Target may send.
By ��t 7
I 6
I 5
I 4
I 3
I 2
I
1
I 0
0 O p e ra t i o n C o d e ( O A h )
1 { Log i c a l U n i t N u m b e r } I Reserved I AEN
2 (MSB) -
3 T ra n s fe r Len g t h -,---
4 ( LSB )
5 C o n t r o l Byte
3 2
Bi t
Byt e
7 6 5 4
I I 1
I 0
0 S C S I -3 Re s e r v e d LUNTAR Re s e r v e d Lo g i c a l U n i t N um b e r / LUNTRN
1 S u b- l ogi c a l Un i t Number
2 Res e r v e d
3 Reserved
4 to S e n s e D a t a By t e ( 0 ) - -
- - -- -
- - -- - - -
n -4 S e n s e D a t a By t e ( n )
. .
The Asynchronous Event N ot1f1 cat1 on (AE N ) Data Format 1s used by a dev1ce to 1nform another
device in the system of a deferred error or other exception without waiting for the other device to send a
command. This data is only sent to Processor devices that return I N Q U I RY data with the AENC bit set to
one.
LUNTAR: 0 = bits 2-0 of this byte indicate the Logical Unit that had the error
1 = bits 2-0 of this byte indicate the Target Process that had the error
Sense Data : as it would be returned using the REQU EST SENSE command .
4
I I I I I I
Bi t 7 6 5 3 2 1 0
B yte
0 S C S I -3 Reserved
1 Reserved
2 Reserved
3 Reserved
4 ( MS B ) -
5 -
6 -
7
Lo g i c a l U n i t N u m b e r -
8 -
9 -
10
11 ( LS B)
1 2 to S e n s e D a t a By t e ( 0 )
- - -
f- - - -
-
- -
f- - - -
n+l2 S e n s e D a t a Byte ( n )
The Asynchro n o u s Event R eporti ng (AER) Data Format is used b y a device t o inform another
device in the system of a deferred error or other exception without waiting for the other device to send a
command. This data is only sent to Processor devices that return I N Q U I RY data with the AENC bit set to
one.
Logical Unit Number: Logical U nit that had the event to report.
Sense Data : as it would be returned using the REQU EST SENSE command.
0 Re s er v e d S t a t u s By t e C o d e Reserved
CH ECK CON DITION : Literally, "check for Sense Data". U sually means some error or failure occurred, or
any condition that Initiator should be informed of.
I NTERMEDIATE : Equivalent to GOOD status, except LI N K bit set to one in command block. I ndicates
good status for a command that is part of a series of Linked commands.
COM MAN D TER M I NATED : Command completed successfully after being prematurely terminated by a
TERM I NATE 1/0 P ROCESS [TE R M I NATE TASK] message. Sense Data indicates what was left to do.
6
syut 7
I 5
I 4
I 3
I 2
I 1
I
0
0 Val i d E r r o r C o d e [ Re s p o n s e C o d e ]
1 S e gm e n t N u m b e r
2 F i l em a r k EO M I I Ll I Reserved I S e n s e Key
3 (MSB) -
4
I n fo rm a t i o n -
5
6 ( LS �
7 A d d i t i o n a l S e n s e Le n g t h ( n -7 )
8 (MSB) -
9
C omm a n d - S p e c i f i c I n fo rm a t i o n -
10
11 ( LS �
12 Add i t i on a l S e n s e Code
13 Ad d i t i o n a l S e n s e C o d e Q u a l i f i e r
14 F i e l d Re p l a c e a b l e U n i t C o d e
15 S KS V -
16 S e n s e - Key S p e c i f i c -
17
18 o
- - t r- -
-
Ad d i t i o n a l S e n s e Byt e s - -
Error Code: indicates format of the Sense Data. Error Codes 70h and 7 1 h are the only two codes
defined as standard for SCSI-2/3, and both codes use the sense data format shown here. (For
SCSI-3, this field has been renamed " Response Code" .)
70h not a d eferred error
=
71 h deferred error
=
Sense Key: error recovery indication (see Sense Key Table, page 243)
Information : contains data concerning the error if the Valid bit is one. For example:
• the logical block address where the error indicated by the sense key occurred
• the magnitude of the length mismatch indicated by I ll {above) .
• residue between a requested operation and the actual result.
Additional Sense Length : the first eight bytes of sense data are "Standard". This field indicates how
many more bytes follow. For example, if this field = 1 0, then a total of 1 8 bytes are valid in the
sense data.
Command Spe cific Information: contains data that varies by command:
• REASSIGN BLOCKS: first defective block not reassigned.
• SEARCH DATA: see SBC.
• COPY: see SPC.
• All other commands: not used.
Additional Sense Code : additional information that describes cause of error associated with Sense Key
(see Additional Sense Code tables beginning on page 247) .
Additional Sense Code Qualifier: modifier of Additional Sense Code (see Additional Sense Code tables
beginning on page 247) .
Field Replaceable Unit (FRU) Code: vendor specific value that indicates which part of the device failed
miserably. Zero indicates no unit failed or failed unit unknown .
Sense Key Sp e cific Bytes: contains data that varies by sense key. These bytes are currently defined
for the data formats shown on the next page.
I I
4
By�� t 7 6 5 3 2 1 0
BPV: 0 = Bit Pointer field not used: error was a whole byte
1 = Bit Pointer field valid: error was one or more bits in byte
By�� t 7 6
I 5
I 4
I 3
I 2
I
1
I
0
15 SKSV Reserved
16 (MSB) A c t u a l R e t ry C o u n t
17 ( LS�
SKSV: 0 = Sense Key Specific Bytes invalid
1 = Sense Key Specific Bytes contain valid data
Actual Retry Count: the number of retries attempted during error recovery
I I I I I I
4
By�� t 7 6 5 3 2 1 0
Name S e n s e Key
ABORT ED COMMAN D B
B LA N K C H E C K 8
COPY ABORT E D A
DATA P ROT ECT 7
EQUAL c
HARDWARE E RROR 4
I LLEGAL REQU E S T 5
M ED I UM E R R O R 3
M I S COMPA R E E
NO S EN S E 0
NOT R EADY 2
R ECOV E R E D E R RO R 1
Rese rved F
UNIT ATT E N T I O N 6
Vendor Speci fi c 9
VO LUME O V E R F LOW D
S e n s e Key N am e
0 NO S EN S E
1 RECOV E R E D E RRO R
2 NOT R EADY
3 M ED I UM E R RO R
4 HARDWAR E E RRO R
5 I L L E G A L REQU E S T
6 U N I T ATT ENT I O N
7 DATA P RO T E C T
8 B LA N K C H E C K
9 Vendor Speci fi c
A COPY ABORTED
B ABORT E D COMMAND
c EQUA L
D VOLUM E O V E R F LOW
E M I SCOMPARE
F Re s e rv e d
BY NAME
Status S e n s e Key Ad d i t i on a l S e n s e C o d e a n d Ad d i t i o n a l
Sense Code Qual i fi er
GOOD NO S EN S E n o a d d i t i o n a l s e n s e i n fo rmat i o n
o r o t h e r v a l i d ad d i t i o n a l s e n s e c o d e .
C H E C K COND I T I ON I L L EGAL R EQU EST Log i c a l U n i t n o t s u p p o r t e d
CHECK COND I T I ON NOT READY Log i c a l U n i t d o e s n o t r e s p o n d
to s e l ect i on
C H E C K COND I T I ON NOT READY med i um n o t p r e s e n t
C H E C K CON D I T I ON NOT READY Log i c a l U n i t n o t ready , c a u s e n o t
reportab l e
C H E C K CON D I T I ON NOT READY Log i c a l U n i t i s i n p r o c e s s o f
b e c om i n g ready
CHECK COND I T I ON NOT READY Log i c a l U n i t not ready , i n i t i a l i z i n g
comm a n d req u i red
C H E C K COND I T I ON NOT READY Log i c a l U n i t not ready , man u a l
i n t e r v e n t i o n req u i red
C H E C K CON D I T I ON NOT READY Log i c a l U n i t not ready , FO RMAT
i n p rogres s
Des c r i pt i on A S C ASCQ
address m a r k n o t fo u n d for d a t a f i e l d 13 0 0
oc 06
a d d re s s m a r k n o t fo u n d for I D f i e l d 1 2 00
b l o c k n o t c omp res s a b l e
B U S D EV I C E R E S ET fu n ct i o n o c c u rred 29 03
cannot d ecomp r e s s u s i n g d e c l a red a l g o r i thm 11 O E
cannot form a t med i um - i n comp a t i b l e med i um 30 06
c a n n o t read med i um - i n compa t i b l e form a t 30 02
c a n n o t read med i um - u n k n own format 30 0 1
cannot wri t e med i um - i n comp at i b l e fo rmat 3 0 05
cannot wri te med i um - u n k n own format 30 04
c h a n ged operat i n g d e f i n i t i o n 3 F 02
c l e a n i n g c a r t r i d g e i n s t a l l ed 3 0 03
c l e an i n g f a i l u re 30 07
c l e a n i n g req u e s ted 00 17
COMMAND p h a s e error 4A 0 0
command s e q u e n c e e r r o r 2 C 00
oc 04
comm a n d s c l e a re d b y a n o t h e r I n i t i a t o r 2F 00
compres s i o n c h e c k m i s comp a r e e rr o r
oc 05
COPY c a n n o t e x e c u t e s i n c e h o s t c a n n o t d i s co n n e c t 2 8 00
d a t a expa n s i o n o c c u rred d u r i n g compre s s i o n
d a t a p a t h f a i l u re ( s h o u l d u s e 4 0 n n ) 4 1 00
DATA p h a s e e r r o r 48 00
d a t a syn c error - d a t a a u to-rea l l o c a t e d 16 03
d a t a syn c error - d a t a rewr i tten 16 01
d a t a syn c error - recommen d reas s i g nme n t 1 6 04
d a t a syn c e r r o r - recomme n d rewr i te 1 6 02
d a t a syn c h ro n i z a t i o n mark error 16 00
d e -compres s i on C RC e r r o r 11 OD
d e fe c t l i s t e r r o r 19 00
d e fe c t l i s t e rror i n g rown l i s t 19 03
d e fe c t l i s t e r r o r i n p r i m a ry l i s t 1 9 02
defect l i s t n o t a v a i l a b l e 19 0 1
d e fe c t l i s t n o t fo u n d 1C 00
d e fe c t l i s t u p d ate f a i l u re 32 01
d i a g n o s t i c f a i l u re o n compo n e n t n n ( 8 0 h - f f h ) 40 NN
error l og o v e r f l ow OA 0 0
50 00
error too l on g to correct 1 1 02
50 FF
f a i l u re pred i c t i on t h re s h o l d exceeded
fa i l u re pred i c t i o n t h re s h o l d exceeded ( fa l s e )
FORMAT comm a n d fa i l ed 31 0 1
Grown defect l i s t n o t fo u n d 1 C 02
h e a d s e l ect fa u l t 09 04
Des c r i p t i o n A S C AS CQ
I /0 proce s s t e rm i n a ted 00 06
ID C RC o r ECC e r r o r 10 00
i d l e con d i t i on a c t i v ated by comm a n d SE 03
i d l e con d i t i o n a c t i v a ted by t i me r SE 01
i l l eg a l f u n ct i o n ( s h o u l d u s e 20 00 , 2 4 0 0 , o r 2 6 0 0 ) 22 00
i mport o r export e l eme n t a c c e s s e d 28 01
i n comp at i b l e med i um i n s t a l l ed 30 00
I n i t i a t o r detected e r r o r me s s age rece i v ed 48 00
I NQU I RY data has c h a n g e d 3F 03
i n tern a l T a r g e t f a i l u re 44 00
i n v a l i d b i t s i n I D E N T I FY m e s s age 30 00
i n v a l i d comm a n d o p e r a t i o n code 20 00
i n v a l i d e l emen t a d d r e s s 21 01
i nv a l i d fi e l d i n COB 24 00
49 00
i n v a l i d f i e l d i n p a r ame t e r l i s t 26 00
i n v a l i d mes s a g e error
i n v a l i d re l e a s e o f a c t i v e pers i s ten t r e s e rv a t i o n 26 04
l og c o u n t e r a t m a x i m um SB 02
l og except i on SB 00
l og l i s t c o d e s ex h a u s t e d SB 03
l og p a rameters c h a n g ed 2A 02
Log i c a l B l o c k A d d r e s s o u t o f r a n g e 21 00
Log i c a l Un i t c ommu n i c a t i o n f a i l u re 08 00
Log i c a l Un i t commu n i c a t i o n p a r i ty e r r o r 08 02
Log i c a l Un i t commu n i c a t i o n t i me-o u t 08 01
Log i c a l U n i t d o e s n o t res p o n d t o s e l e c t i o n 05 00
Log i c a l U n i t fa i l ed s e l f - c o n f i g u r a t i o n 4C 00
Log i c a l U n i t h a s n o t s e l f - c o n f i g u re d yet 3E 00
Log i c a l U n i t i s i n p ro c e s s o f b e c om i n g ready 04 01
Log i c a l U n i t n o t r e a dy , c a u s e n o t re p o r t a b l e 04 00
Log i c a l Un i t n o t r e a dy , FO RMAT i n prog r e s s 04 04
Log i c a l U n i t n o t r e a dy , i n i t i a l i z i n g comm a n d req u i red 04 02
Log i c a l Un i t not r e a dy , m a n u a l i n t e r v e n t i o n req u i red 04 03
Log i c a l U n i t not ready , o p e r a t i o n i n p r o g re s s 04 07
Log i c a l U n i t n o t s u pported 25 00
l ow powe r con d i t i o n o n SE 00
mec h a n i c a l po s i t i o n i n g e r r o r 15 01
med i a l oa d o r ej e c t fa i l ed 53 00
med i um d e s t i n a t i o n e l eme n t f u l l 3B OD
med i um form a t c o r r u p ted 31 00
med i um m a g a z i n e i n s e rted 3B 13
med i um m a g a z i n e l o c k ed 3B 14
med i um m a g az i n e not a c c e s s i b l e 3B 11
Des c r i p t i o n A S C ASCQ
med i um m a g a z i n e remov e d 3B 12
med i um m a g a z i n e u n l o c k e d 38 15
med i um n o t p r e s e n t 3A 00
med i um remo v a l p r e v e n t e d 53 02
med i um s o u rc e e l emen t empty 3B OE
mes s a g e error 43 00
m i c rocode has been c h a n ged 3F 01
m i s compare d u r i n g v e r i fy o p e r a t i o n 1D 00
m i s corrected e rror 11 OA
Mode p a rameters c h a n g e d 2A 01
m u l t i p l e p e r i p h era l d e v i ces s e l ected 07 00
m u l t i p l e read e rrors 11 03
n o ad d i t i o n a l s e n s e i n fo rma t i o n 00 00
n o defect s p a re l o c a t i o n a v a i l a b l e 32 00
no i ndex/sector s i gnal 01 00
n o refere n c e p os i t i o n fo u n d 06 00
n o s e e k c omp l ete 02 00
n o t ready t o ready t r a n s i t i o n , med i um may h a v e c h a n ge d 28 00
opera t i o n i n p rog re s s 00 16
operator m ed i um remo v a l req u e s t 5A 01
operator req u e s t o r s t ate c h a n g e i n p u t ( u n s p ec i f i e d ) 5A 00
operator s e l ected w r i t e perm i t 5A 03
operator s e l ected w r i te protect 5A 02
o ve r l apped comm a n d s a t temp ted 4E 00
Pa rame ter L i s t Len g t h e r r o r 1A 00
p a rameter n o t s u pported 26 01
p a rame t e r v a l u e i n v a l i d 26 02
p a rameters c h a n g e d 2A 00
p a r t i a l d e f e c t l i s t t r a n s fe r IF 00
p e r i p h e r a l d ev i ce wri t e fa u l t 03 00
po s i t i o n i n g e rror d e t e cted by read o f med i um 15 02
power o n o c c u r red 29 01
power o n , res e t , o r BUS D E V I C E R E S ET o c c u rred 29 00
power-on or s e l f - t e s t fa i l u re ( s h o u l d use 4 0 n n ) 42 00
P r i mary d e fe c t l i s t n o t fo u n d 1C 01
RAM f a i l ure ( s h ou l d u s e 40 n n ) 40 00
r a n d om pos i t i o n i n g e r r o r 15 00
read retri e s e x h a u s t e d 11 01
record n o t f o u n d 14 01
record n o t fo u n d - d a t a a u to - r e a l l o c a t e d 14 06
record n o t fo u n d - recomme n d r e a s s i g nme n t 14 05
recorded e n t i ty n o t fo u n d 14 00
A S C ASCQ Des c r i p t i o n
00 00 n o a dd i t i on a l s e n s e i n forma t i o n
00 06 1 /0 proce s s t e rm i n a ted
00 16 operat i on i n progress
00 17 c l e an i n g req u e s ted
01 00 n o i ndex/sector s i g n a l
02 00 n o s e e k comp l ete
03 00 p e r i p h e r a l d ev i c e wri te fa u l t
04 00 Log i c a l U n i t n o t ready , c a u s e n o t reporta b l e
04 01 Log i c a l U n i t i s i n p roces s o f becom i n g ready
04 02 Log i ca l Un i t n o t ready , i n i t i a l i z i n g comm a n d re q u i red
04 03 Log i c a l U n i t not ready , m a n u a l i n t e r v e n t i o n req u i red
04 04 Log i c a l U n i t n o t ready , FORMAT i n p r o g re s s
04 07 Log i c a l U n i t n o t ready , o p e ra t i o n i n p r o g re s s
05 00 Log i c a l U n i t d o e s n o t res po n d to s e l ec t i o n
06 00 n o refere n c e po s i t i on fo u n d
07 00 m u l t i p l e p e r i p h e ra l d ev i c e s s e l e c t e d
08 00 Log i c a l U n i t commu n i c a t i o n f a i l u re
08 01 Log i ca l Un i t comm u n i c a t i o n t i me-o u t
08 02 Log i c a l U n i t commu n i c at i o n p a r i ty e r r o r
09 00 t ra c k f o l l ow i n g e r r o r
09 04 head s e l ect fau l t
OA 00 error l og o v e r f l ow
OB 00 warn i n g
oc
OB 01 warn i n g - s p e c i f i ed tempe r a t u re e x c e e d e d
oc
02 wri te e rror - a u t o re a l l o c a t i o n f a i l ed
oc
03 wri te error - recommend rea s s i g nmen t
oc
04 comp re s s i o n c h e c k m i s comp a re e r r o r
oc
05 d a t a e x p an s i o n o c c u rred d u r i n g compres s i o n
06 b l o c k n o t compres s a b l e
11
10 00 I D C RC o r ECC e r r o r
00 u n re c o v e red read e r r o r
11 01 read retri e s exh a u s ted
11 02 e rror too l o n g to correct
11 03 m u l t i p l e read errors
11 04 u n recovered read e r r o r - auto r e a l l o c a t e f a i l e d
11 OA m i s corrected error
oc
11 OB u n recove red read e r r o r - recomme n d r e a s s i g nme n t
11 u n recovered read e r r o r - recomm e n d rewr i te t h e d a t a
11 OD d e - comp re s s i o n C RC e r r o r
11 OE c a n n o t d e com p re s s u s i n g d e c l a re d a l g o r i t hm
12 00 a d d re s s m a r k n o t f o u n d for I D f i e l d
13 00 a d d re s s m a r k n o t fo u n d for d a t a f i e l d
ASC A S CQ Des c r i p t i o n
14 00 recorded e n t i ty n o t fo u n d
14 01 record n o t fo u n d
14 05 record n o t fo u n d - recomme n d reas s i g nment
14 06 record n o t fo u n d - d a t a a u to - rea l l o c a ted
15 00 r a n d om p os i t i o n i n g error
15 01 mec h a n i c a l po s i t i o n i n g e r r o r
15 02 p os i t i o n i n g e r r o r detected by re a d o f med i um
16 00 d a t a syn c h ron i z a t i o n m a r k e r r o r
16 01 d a t a syn c error - d a t a rewr i tten
16 02 data s y n c e r r o r - recomme n d rewr i te
16 03 data sync e r r o r - data a u to-re a l l o c a t e d
16 04 d a t a syn c e r ro r - recomme n d rea s s i g nmen t
17 00 recovered d a t a w i t h no e r r o r correc t i on a p p l i e d
17 01 recov e r e d d a t a w i t h ret r i e s
17 02 reco vered d a t a w i t h po s i t i v e h e a d o f f s e t
17 03 recovered d a t a w i t h n e g a t i v e h e a d o f f s e t
17 05 re c o v e red d at a u s i n g p r e v i o u s s e c t o r I D
17 06 rec o v e r e d d a t a w i t h o u t E C C - d a t a a u t o - rea l l o c a te d
17 07 re c o v e red d a t a w i t h o u t E C C- re comm e n d re a s s i g n m e n t
17 08 recovered d a t a w i t h o u t E C C - recomm e n d rewr i te
17 09 re c o v e red data w i t h o u t ECC - data rewr i t t e n
rec o v e red d a t a w i t h error correc t i o n & r e t r i e s a p p l i ed
18 00 r e c o v e r e d d a t a w i t h error c o r rec t i o n a p p l i ed
18 01
18 02 recov e red d a t a - d a t a a u to-rea l l o c a t e d
18 05 recov e red d a t a - recomme n d rea s s i g nm e n t
18 06 recovered d a t a - recommend rewr i te
18 07 re covered d a t a w i t h ECC - d a t a rewr i t t e n
19 00 d e f e c t l i s t e rr o r
19 01 defect l i s t not avai l ab l e
19 02 d e f e c t l i s t e rror i n p r i m a ry l i s t
19 03 d e fe c t l i s t e r r o r i n g rown l i s t
1A 00 P a rame t e r L i s t Le n g t h e r r o r
1B 00 syn c h ro n o u s d a t a t r a n s f e r e r r o r
1C 00 d e f e c t l i s t n o t fo u n d
1C 01 P r i m a ry d e fect l i s t n o t fou n d
1C 02 Grown d e f e c t l i s t n o t fo u n d
10 00 m i s com p a re d u r i n g v e r i fy o p e r a t i o n
1E 00 re covered I D w i t h E C C correct i o n
1F 00 p a rt i a l d e fect l i s t t r a n s fe r
20 00 i n v a l i d comm a n d o p e r a t i o n c o d e
21 00 Log i c a l B l o c k A d d r e s s o u t o f r a n g e
21 01 i n v a l i d e l eme n t a d d re s s
22 00 i l l eg a l f u n c t i o n ( s h o u l d u s e 20 0 0 , 2 4 00 , o r 2 6 0 0 )
24 00 i nval i d fi el d i n COB
25 00 Log i c a l U n i t n o t s u pported
ASC A S CQ De s c r i p t i o n
3F 00 Target o p e r a t i n g con d i t i o n s h av e c h a n g e d
3F 01 m i crocode h a s been c h a n ge d
3F 02 c h a n g ed operat i n g d e f i n i t i o n
3F 03 I NQ U I RY d a t a h a s c h a n ge d
40 00 RAM fa i l u re ( s h o u l d u s e 40 n n )
40 NN d i a g n o s t i c fa i l ure o n comp o n e n t n n ( 8 0 h - f f h )
41 00 d a t a p a t h fa i l u re ( s h o u l d u s e 40 n n ) ·
42 00 power-on o r s e l f-test f a i l u re ( s h o u l d u s e 40 n n )
43 00 mes s ag e error
44 00 i n tern a l Target f a i l u r e
45 00 s e l e c t o r res e l ect f a i l u re
46 00 u n s u c c e s s f u l s o ft res e t
47 00 S C S I p a r i ty e r r o r
48 00 I n i t i a t o r d e t e c t e d e r r o r me s s a ge rec e i v e d
49 00 i nv a l i d mess age error
4A 00 COMMAND p h a s e e rror
48 00 DATA p h a s e e r ro r
4C 00 Log i c a l U n i t f a i l ed s e l f - c o n f i g u ra t i o n
40 NN tagged o v e r l a p p e d comm a n d s ( n n = queue tag )
4E 00 o v e r l a p p e d comm a n d s a t temp t e d
53 00 med i a l o a d o r ej e c t fa i l ed
53 02 med i um remo v a l p r e v e n t e d
55 01 sys t em b u f f e r f u l l
SA 00 operator req u e s t o r s t a t e c h a n g e i n p u t ( u n s p e c i f i ed )
SA 01 o p e r a t o r med i um remo v a l req u e s t
SA 02 o p e r a t o r s e l e c t e d wri t e p rotect
SA 03 operator s e l e c t e d wri te p e rm i t
58 00 l og e x c e p t i o n
58 01 t h re s h o l d c o n d i t i o n met
58 02 l og c o u n t e r a t m a x i mum
58 03 l og l i s t codes ex h a u s te d
5C 00 RP L s t a t u s c h a n g e
5C 01 s p i n d l e s syn c h ron i z e d
5C 02 s p i n d l e s n o t syn c h ron i z e d
50 00 fa i l u re pred i c t i o n t h re s h o l d exceeded
50 FF fa i l u re pred i c t i o n t h re s h o l d e x c e e d e d ( fa l s e )
5E 00 l ow powe r con d i t i on o n
5E 01 i d l e co n d i t i o n a c t i v a ted b y t i me r
5E 02 s t a n d by c o n d i t i o n a c t i v a t e d b y t i me r
5E 03 i d l e c o n d i t i on a c t i v a ted by comm a n d
5E 04 s t a n d by con d i t i o n a c t i v a ted b y comm a n d
65 00 vol tage faul t
Descri p t i o n A S C ASCQ
b eg i n n i n g-of-part i t i o n /med i um detected
oc 0 6
0 0 04
b l o c k n o t c ompres s ab l e
b l o c k s e q u e n c e error 14 04
B U S D EV I C E R E S ET f u n ct i o n o c c u rred 29 03
cannot d e c ompr e s s u s i n g de c l a red a l g o r i t hm 11 O E
c a n n o t format med i um - i n comp a t i b l e me d i um 30 0 6
c a n n o t read med i um - i n comp at i b l e form a t 3 0 02
c a n n o t read medi um - u n k n own form a t 30 0 1
c a n n o t wri t e med i um - i n comp at i b l e fo rma t 3 0 05
c a n n o t wri te med i um - u n k n own f o rmat 30 04
cartri d g e fa u l t 52 00
c h a n ged o p e r a t i n g d e f i n i t i o n 3 F 02
c l e an i n g c a rt r i d g e i n s t a l l ed 30 03
c l e a n i n g f a i l u re 30 07
c l e a n i n g req u e s te d 00 17
COMMAND p h a s e e r r o r 4A 0 0
command s e q u e n ce e rr o r 2C 00
oc 04
comma n d s c l e a red b y a n o t h e r I n i t i a t o r 2 F 00
compres s i on c h e c k m i s comp a re e rr o r
oc 05
COPY c a n n o t e x e c u t e s i n c e h o s t c a n n o t d i s co n n e c t 2B 00
d a t a expan s i o n o c c u rred d u r i n g comp re s s i o n
DATA p h a s e error 4B 00
d e -compre s s i o n CRC error 11 OD
d ecompre s s i o n e x c e p t i o n l o n g a l g o r i thm I D 71 00
d ecompres s i on except i o n s h ort a l g o r i thm I D o f n n 7 0 NN
d i a g n os t i c f a i l u r e o n compo n e n t n n ( 80 h - f f h ) 4 0 NN
e n d -of-d a t a detected 0 0 05
e n d -of-d a t a n o t fo u n d 1 4 03
e n d -of-part i t i on /med i um detected 00 02
erase fai l ure 5 1 00
error l og o v e r f l ow OA 0 0
error too l on g to c o r r e c t 11 02
exces s i v e wri t e e r r o r s 03 02
f a i l ure pred i c t i o n t h re s h o l d exceeded 50 00
f a i l u r e pred i c t i o n t h re s h o l d e x c e e d e d ( fa l s e ) 50 FF
f i l emark detected 00 01
f i l emark o r s e tma r k n o t fo u n d 14 02
head sel ect fau l t 09 04
I /0 p ro c e s s t e rm i n a ted 00 06
i d l e con d i t i on a c t i v a t e d by comm a n d 5 E 03
i d l e con d i t i o n a c t i v a ted b y t i me r 5E 0 1
i mport o r e x p o rt e l eme n t a c ce s s ed 28 01
i n compa t i b l e med i um i n s t a l l ed 30 0 0
i n comp l e t e b l o c k read 1 1 08
Descri p t i o n A S C ASCQ
I n i t i ator detected e r r o r mes s age rec e i v e d 48 00
I NQU I RY d a t a h a s c h a n ge d 3F 03
i n tern a l Target f a i l u re 44 00
i n v a l i d b i t s i n I D E NT I FY mes s age 30 00
i n v a l i d comm a n d o p e r a t i o n code 20 00
i n v a l i d e l emen t a d d r e s s 21 01
i nval i d fi e l d i n COB 24 00
i n v a l i d f i e l d i n p a rame t e r l i s t 26 00
i n v a l i d mes s ag e e r r o r 49 00
i n v a l i d re l e a s e o f a c t i v e p e r s i s t e n t r e s e rv a t i o n 26 04
l og c o u n t e r a t max i mum 5B 02
l og excep t i on 5B 00
l og l i s t codes e x h a u s te d 5B 03
l og p a rameters c h a n g e d 2A 02
Log i c a l B l o c k A d d re s s o u t o f r a n g e 21 00
Log i c a l Un i t comm u n i c a t i o n f a i l u re 08 00
Log i c a l Un i t comm u n i c a t i o n p a r i ty e r r o r 08 02
Log i c a l Un i t commu n i c a t i o n t i me-o u t 08 01
Log i c a l U n i t d o e s n o t re s p o n d to s e l e c t i on 05 00
Log i c a l Un i t f a i l ed s e l f-co n f i g u ra t i o n 4C 00
Log i c a l Un i t h a s n o t s e l f-con f i g u red yet 3E 00
Log i c a l U n i t i s i n p r o ce s s o f becom i n g ready 04 01
Log i c a l Un i t n o t re a dy , c a u s e n o t r e p o r t a b l e 04 00
Log i c a l U n i t n o t ready , FO RMAT i n p r o g r e s s 04 04
Log i c a l U n i t n o t ready , i n i t i a l i z i n g c omm a n d req u i red 04 02
Log i c a l U n i t not ready , m a n u a l i n terve n t i o n req u i red 04 03
Log i c a l U n i t not ready , o p e r a t i on i n p r o g re s s 04 07
Log i c a l Un i t n o t s u p ported 25 00
l ow power con d i t i on o n 5E 00
mec h a n i ca l po s i t i o n i n g e rr o r 15 01
med i a l o ad o r ej e c t f a i l ed 53 00
med i um d e s t i n a t i o n e l emen t f u l l 3B OD
med i um format c o r r u p ted 31 00
med i um m a g az i n e i n s e rted 3B 13
med i um m a g a z i n e l o c k e d 3B 14
med i um m a g a z i n e n o t a c c e s s i b l e 3B 11
med i um magaz i n e rem o v e d 3B 12
med i um m a g a z i n e u n l o c k e d 3B 15
med i um n o t pre s e n t 3A 00
med i um remo v a l p r e v e n t e d 53 02
med i um s o u rce e l eme n t emp ty 3B OE
mes s ag e error 43 00
m i c rocode h a s b e e n c h a n g e d 3F 01
m i s corrected e r r o r 11 OA
SCSI Bench Reference Copyright I!;) 1 989, 1 992, 1 996 ENDL Publications
258 ADDITIONAL SENSE CODES
Des c r i p t i o n A S C AS CQ
s av i n g p a rame t e r s n o t s u p p o rted 39 00
S C S I bus reset o c c u rred 29 02
S C S I p a r i ty e r r o r 47 00
s e l e c t o r res e l e c t f a i l u re 45 00
s eq u en t i a l pos i t i o n i n g e r r o r 3B 00
setm a r k detected 00 03
s t a n d by c o n d i t i o n a c t i v a ted by comm a n d 5E 04
s t a n d by con d i t i o n a ct i v a ted b y t i me r 5E 02
syn c h ro n o u s d a t a t ra n s fe r error 1B 00
tagged o v e r l a p p e d comman d s ( n n = queue tag ) 40 NN
tape l e n g t h erro r 33 00
tape pos i t i o n e r r o r at beg i n n i n g - o f-med i um 3B 01
tape p os i t i o n e r r o r a t e n d -o f-med i um 3B 02
Target o p e ra t i n g con d i t i o n s h a v e c h a n g ed 3F 00
t h res h o l d con d i t i o n met 5B 01
t h re s h o l d parame t e r s not s u pported 26 03
t r a c k fo l l owi n g error 09 00
u n l oad t a p e fa i l u re 53 01
u n recovered read e r r o r 11 00
u n s u cces s f u l s o ft r e s e t 46 00
v o l tage f a u l t 65 00
warn i n g OB 00
warn i n g - s p e c i f i ed tem p e ra t u re e x c e e d e d OB 01
wri t e a p p e n d e rr o r 50 00
wri t e a p p e n d p os i t i on e r r o r
oc 0 0
50 01
wri t e e rror
wri t e protected 27 00
I
262 ADD ITIONAL SENSE CODES
Des c r i p t i o n A S C ASCQ
P a ramet e r L i s t Len g t h e rr o r 1A 00
p a ramet e r n o t s u p p o r t e d 26 01
p a ramet e r v a l u e i n v a l i d 26 02
power o n o c c u rred 29 01
powe r o n , res e t , o r B U S D EV I C E R E S ET o c c u rred 29 00
res e r v a t i o n s p reempted 2A 03
S C S I bus reset o c c u rred 29 02
S C S I p a r i ty e r r o r 47 00
S C S I to h o s t sys tem i n t e r f a c e f a i l u re 54 00
s e l e c t o r rese l ec t fa i l u re 45 00
s ta n d by c o n d i t i on a c t i v a t e d by comm a n d 5E 04
s t a n d by c o n d i t i on a c t i v a te d b y t i me r 5E 02
syn c h ro n o u s d a t a t ra n s fe r e r r o r 18 00
sys tem res o u rce fa i l u re 55 00
tagged o v e r l a p p e d comma n d s ( n n = queue tag ) 4D NN
Target o p e r a t i n g con d i t i o n s h av e c h a n g e d 3F 00
t h re s h o l d con d i t i o n met 58 01
t h re s h o l d p a r ame t e r s not s u p ported 26 03
u n s u c ce s s f u l soft re s e t 46 00
vol tage fau l t 65 00
warn i n g OB 00
warn i n g - s pec i f i ed temp e r a t u re e x c e e d e d OB 01
.
.
ASC A S CQ Des c r i p t i o n
40 NN d i a g n o s t i c fa i l u re o n compo n e n t n n ( 8 0 h - f f h )
43 00 mes s ag e e r r o r
44 00 i n t e r n a l Target fa i l u re
45 00 s e l e c t o r rese l e c t f a i l u re
46 00 u n s u c c e s s f u l s o ft reset
47 00 S C S I p a r i ty error
48 00 I n i t i a t o r detected error mes s age rece i ved
49 00 i n v a l i d me s s ag e error
4A 00 COMMAND p h a s e e r r o r
4B 00 DATA p h a s e error
4C 00 Log i c a l U n i t fa i l ed s e l f-co n f i g u r a t i o n
40 NN t a g g e d o v e r l a p p e d c omm a n d s ( n n = queue tag )
4E 00 o v e r l a p p e d comm a n d s at tempted
54 00 S C S I to host sys tem i n t e r f a c e f a i l u re
55 00 sys t em res o u r c e f a i l u re
5A 00 o p e r a t o r req u e s t o r s t a t e c h a n g e i n p u t ( u n s p e c i f i ed )
5B 00 l og e x c e p t i o n
5B 01 t h re s h o l d con d i t i o n met
5B 02 l og c o u n t e r a t m a x i m um
5B 03 l og l i s t codes e x h a u sted
50 00 f a i l u re p r ed i c t i o n t h re s h o l d exceeded
50 FF fai l u re p re d i c t i o n t h re s h o l d exceeded ( fa l s e )
5E 00 l ow p owe r con d i t i o n o n
5E 01 i d l e c o n d i t i o n a c t i v a ted b y t i me r
5E 02 s ta n d by con d i t i o n a c t i v a ted b y t i me r
5E 03 i d l e con d i t i o n a c t i v a ted b y c ommand
5E 04 s t a n d by con d i t i o n a c t i v a t e d by comm a n d
65 00 v o l t a g e fa u l t
.
SCSI Bench Reference Copyright © 1 989, 1 992, 1 996 ENOL Publications
.
U N IT ATTENTIO N CON DITION 267
Unit Attention Con d ition
The Unit Attention Condition is a state the Target enters when some significant state in the Target
changes. The Unit Attention Condition is relative to each Initiator; i.e., the Unit Attention Condition may
exist with one Initiator but not another.
CAUSES: The types of things that can cause the Unit Attention Condition are :
o other internal parameter changes (e.g . , Saved Parameters on disk become available because the
disk became ready) .
o any other event the Target feels an Initiator should be informed of.
REPORTI N G : The following is a summary of the rules of reporting the Unit Attention Condition :
• An existing Unit Attention Condition i s reported whenever the Initiator issues any command other
than INQUIRY and REQUEST SENSE.
• If the command is I N Q U I RY and a U nit Attention Condition exists, the command is executed and the
Unit Attention Condition is not yet reported.
• If the command is REQU EST SENSE and a Unit Attention Condition exists, the Target may or may
· not report the Unit Attention Condition and clear it, depending on implementation.
SEQUENCE: The sequence of events that occurs when the U nit Attention Condition is created is as
follows:
o The Target creates the U nit Attention Condition for one or more I n itiators, depending on the nature
of the event.
o The Unit Attention Condition now must be reported. When the Initiator issues a command, CHECK
CON DITION status is returned, and Sense Data describing the Unit Attention Condition is created.
This process clears the U nit Attention Condition, though the Sense Data remains to be reported.
• The Initiator gets the Sense Data (via the REQU EST SENSE command) to see what changed.
.
.
{} usage 6, 96
[] usage 6
A Cable 8-1 1 , 1 8 , 41
ABORT 87, 88
ABORT TAG 87, 88
ABORT TASK 87, 88
ABORT TASK SET 87, 88
ABPF bit 1 83
ACA 6, 90
ACA ACTIVE status 239
ACK signal 26
ACKQ signal 26
ACKQREQQ bit 1 04
Action field 1 1 0, 1 1 4
Active Format field 228
Active Notch field 1 90
Active Partition field 228
Actual Retry Count field 242
Additional Length field 1 04, 1 1 1 , 1 1 2
Additional Partitions Defined field 231
Additional Sense Bytes field 241
Additional Sense Code field 241
Additional Sense Code Qualifier field 241
Additional Sense Length field 241
Addr1 6 bit 1 04
Addr32 bit 1 04
Address to Translate field 1 78
AEN bit 237
AENC bit 1 03
AENR bit 1 03
AER bit 237
Allocation Length field 1 00, 1 06, 1 09 , 1 1 0, 1 1 7, 1 1 8, 1 20, 1 22, 1 53, 1 66, 1 97, 236
Alternate Sectors per Zone field 1 87
Alternate Tracks per Logical Unit field 1 87
Alternate Tracks per Zone field 1 87
ALTSEC bit 1 78
ALTTRK bit 1 78
ANSI Committee 2
ANSI Version field 1 03
APTPL bit 1 1 5
Arbitration Delay 4 1 , 43
Arbitration Phase 28, 38, 43
example 67, 80
priority levels 27
Argument field 93
ARRE bit 1 90
Assertion Period 4 1 , 54-59
Assigning Organization field 2 1 3
Asynchronous data transfer 52, 53
B Cable 1 8
BBS 2
BCU bit 207
BIS bit 229
Bit Pointer field 242
Bits per mm field 2 1 3
Block Address field 202
Block Descriptor 1 40, 1 4 1
Block Descriptor Length field 1 38
Block Length field 1 40, 1 4 1
Block Number field 209
BOP bit 207, 209
BPU bit 207, 209
BPV bit 242
BSY signal 26
BT bit 202, 205
Buffer Capacity field 1 1 7
Buffer Empty Ratio (BER) field 1 47
Buffer Full Ratio (BFA) field 1 47
Buffer I D field 1 1 7, 1 29
Buffer Offset field 1 1 7, 1 29
Buffer Size at Early-Warning field 230
Buffered Mode field 1 39
Bus address 27
Bus busy 26
Bus Clear Delay 41 -45, 60, 63
BUS DEVICE RESET 87, 88
Bus Free Delay 4 1 -43
Bus Free Phase 28, 38, 60
Bus ID 27, 33
Bus Inactivity Limit field 1 47
Bus parity 26
Bus phases
connections 28
information transfer 29
state diagram 30
Bus Reset Condition 26, 28, 42
Bus Set Delay 41 , 43
Bus Settle Delay 41 , 43-45, 48-5 1 , 60, 63-65
Bus signals 26
Bus timing values 41
BUSY 239
Busy Timeout Period field 1 45
BYCU bit 207
I
Disconnect Time Limit field 1 47
Disconnect-Reconnect Page 1 46
Disconnection Delay 41 , 62
DiscPriv bit 89
Disk commands 1 51
Disk Diagnostic Page Codes 1 76
Disk Drive Geometry Page 1 92
Disk log page codes 1 80
Disk mode parameters 1 8 1
Disk sense codes 24 7
DPO bit 1 53, 1 64, 1 72-1 74
DPOFUA bit 1 39
DPRY bit 1 57, 1 60, 1 61
DQue bit 1 44
ORA bit 1 85
Drive Status Page 1 78
Drive Step Rate field 1 93
OS bit 1 32
DSP bit 1 57
DTDC field 1 4 7
DTE bit 1 9 1 , 1 94, 233
DU bit 1 32
Dup bit 2 1 3
EAENP bit 1 45
ECMA Version field 1 03
EECA bit 1 44
EEG bit 229
EER bit 1 9 1 , 1 94, 233
Electrical
differential 23
single ended 1 9
Electronic resources
BBS 2
FTP site 2
reflector 2
web site 2
EMDP bit 1 47
EncServ bit 1 04
Ending Boundary field 1 90
EOD Defined field 229
EOM bit 241
EOP bit 207, 209
EOT bit 201
ERASE Command 200
Error Code field 240
Error Recovery Page 1 90, 232
ETC bit 1 32
EVPD bit 1 00
Extended messages 91 -93
Extent bit 1 1 9, 1 23, 1 24
Extent Length field 1 1 3, 1 1 5
Extent List Length field 1 23
FARd bit 1 47
I
FARStat bit 1 47
Fast-20 41 , 92
Fast-40 4 1
FAWrt bit 1 47
FDP bit 231
Features not included 6
Field Pointer Bytes 242
Field Pointer field 242
Field Replaceable U nit (FRU) Code field 241
File Number field 209
Filemark bit 240
First Block Location field 207
First Burst Size field 1 47
Fixed bit 1 97, 203, 2 1 0 , 21 8
Flag bit 1 , 97
FmtData bit 1 56, 1 60, 1 61
Format Device Page 1 86
Format field 200
FORMAT MEDIUM Command 200
Format progress indicator 242
FORMAT U N IT Command 1 56
FOV bit 1 57, 1 60, 1 61
FSW bit 1 85
FTP site 2
FUA bit 1 53, 1 64, 1 73
1/0 signal 26
IC bit 1 83
I D field 33
ID Valid field 33
IDENTI FY 87-89
example 67, 80
Identify bit 89
Idle bit 1 49
Idle Condition Ti m e r field 1 49
IDP bit 231
Ignore field 90
IGNORE WIDE RESI DUE 90
MChngr bit 1 04
Media bit 21 1
Media Width field 2 1 3
Medium Format Recognition field 231
Medium Partition Page(1 ) 230
Medium Partition Page (2-4) 232
Medium Rotation Rate field 1 93
Medium Type field 1 38
MESSAGE I N phase 29
MESSAGE OUT phase 29
MESSAGE PARITY ERROR 87, 88
M ESSAGE phase error recovery
M ESSAGE IN example 76
M ESSAGE OUT example 74
M ESSAGE REJECT 87, 88
Messages 87-92
MF bit 1 84
Minimum Block Length fi el d 204
Minimum Pre-fetch field 1 84
Mode Data Length field 1 38
Mode field 1 1 6, 1 29
Mode Page Codes 1 43
Mode Page Format 1 42
Mode Parameter Block Descriptor 1 40, 1 4 1
Mode Parameter List Data Format 1 37
Mode parameters 1 37, 1 81 , 222
Mode Parameters field 1 42
MODE SELECT(1 0) Command 1 07
MODE SELECT{6) Command 1 07
MODE SENSE(1 0) Command 1 08
MODE SENSE(6) Command 1 08
MODIFY DATA POI NTER 85, 9 1 , 93
MOVE MEDIUM command 6
MPU bit 209
MRIE field 1 48
MSG signal 26
MultiP bit 1 04
NACA bit 97
ND bit 1 89
Negation Period 41 , 54-59
NO OPERATION 87, 88
Non-Cache Buffer Size fi eld 1 85
NormACA bit 1 03
Notch and Partition Page 1 89
Number of Blocks field 1 23, 1 25, 1 40, 1 41 , 1 62, 1 72
Number of Blocks in Buffer field 206
Number of Bytes in Buffer field 206
Number of Cache Segments field 1 85
Number of Cylinders field 1 92
Number of Heads field 1 92
P Cable 1 8
Page Code field 1 00 , 1 06, 1 09 , 1 1 8, 1 27, 1 28, 1 3 1 , 1 36, 1 42, 1 44, 1 46, 1 48, 1 49, 1 83 , 1 86, 1 89, 1 90,
1 92, 1 93, 226, 228, 230, 232, 233
Page Codes 1 43
Page Format 1 42
Page Length field 1 27, 1 28, 1 31 , 1 36, 1 42, 1 44, 1 46, 1 48, 1 49, 1 79, 1 83, 1 86, 1 89, 1 90, 1 92, 1 93, 226,
228, 230, 232, 233
Pages 1 43
Pages Notched field 1 90
Parameter Code field 1 32
Parameter Length field 1 32
Parameter List Length field 1 05, 1 07, 1 1 4, 1 1 9 , 1 24, 1 26, 1 29
Parameter Pointer field 1 OS
Parameter Value field 1 32
Parity 26
Partition field 202
Partition Number field 207, 209
Partition Size Descriptors field 231 , 232
Pattern field 1 58
Pattern Length field 1 58
Pattern Type field 1 58
PBdata bit 1 75
PC field 1 05, 1 06, 1 09
PC R bit 1 05
PER bit 1 9 1 , 1 94, 233
Perf bit 1 48
Peripheral Qualifier field 1 02
PEAR bit 207
PERSISTENT RESERVE I N (PAIN) Command 1 1 0
PERSISTENT RESERVE OUT (PROUT) Command 1 1 4
PF bit 1 07, 1 26
Phase change
transfer in to transfer in 49
transfer in to transfer out 5 1
transfer out to transfer in 50
transfer out to transfer out 48
Plist bit 1 66, 1 67
PMI bit 1 65
Pointers 84, 85
Power Condition Page 1 49
PPC bit 1 06
PRE-FETCH Command 1 63
Prevent field 1 1 6
PREVENT/ALLOW MEDIUM REMOVAL Command 1 1 6
Primary bus 1 2-1 8, 41
example 78
Primary defects 1 56
Primary Density Code field 2 1 3
Priority 27
Q Cable 1 8
QErr bit 1 44
Queue Algorithm Modifier field 1 44
Queue tag 90
example 80
Queuing 90, 239
example 80
RAG bit 1 45
RAENP bit 1 45
RAID 6
RAREA bit 1 78
RBO bit 229
RC bit 1 91
RCD bit 1 84
Re-Ten bit 201
READ BLOCK LI MITS Command 204
READ BU FFER Command 1 1 6
Read Buffer Empty Ratio (RBER) field 228
READ CAPACITY Command 1 65
READ Command (tape) 203
READ DEFECT DATA Command 1 66
READ ELEMENT STATUS command 6
READ LONG Command 1 68
READ POSITION Command 205
Read Retry Count field 1 9 1 , 233
READ REVERSE Command 2 1 0
READ(1 0) Command (disk) 1 64
READ(6) Command (disk) 1 64
Read-Write Error Recovery Page 1 90, 232
Ready AEN Holdoff Period field 1 45
REASSIGN BLOCKS Command 1 69
RECEIVE Command 236
RECEIVE DIAGNOSTIC RESULTS Command 1 1 8
RECOVER BUFFERED DATA Command 2 1 0
Recovery Time Limit field 1 9 1
References o n SCSI 1 , 2
reflector 2
ReiAdr bit 1 04, 1 23, 1 25, 1 53, 1 62-1 65, 1 68, 1 72-1 75
RELEASE Command (disk) 1 1 9
RELEASE RECOVERY 87, 88
RELEASE(1 0) Command 1 1 9
RELEASE (6) Command 1 1 9
Report Count field 1 48
REPORT DENSITY SUPPORT Command 21 1
initiator 31 34
I
isolation 31 351 36
I
levels 34
Maximum ID Code 33
phases 381 39
Priority Code 33
requirements 34
selection 281 381 63
Selection Response Time 63
SCAM (continued)
SNA bit 33
target 31 , 34
tolerant 3 1
Transfer Cycle 3 5 , 3 9 , 65
Scope field 1 1 3, 1 1 4
Scope Specific Address field 1 1 3, 1 1 5
SCSI BBS 2
SCSI Bulletin Board (BBS) 2
SCSI Bus I D 33
SEEK(1 0) Command 1 70
Sectors per Track field 1 87
SEEK(6) Command 1 70
Segment number field 240
SEL signal 26
Select Data Compression Algorithm field 230
Selection Abort Time 41 , 44-4 7
Selection Phase 28, 44
example 67, 80
Selection Timeout 41 , 44-4 7
Selection Timeout Delay 46, 4 7
SelfTest bit 1 26
SEN D Command 237
SEND DIAGNOSTIC Command 1 26
Sense codes 247
Sense Data field 237, 238
Sense Data Format 240
Sense Key field 241
Sense Key Specific Bytes field 241
Sense Keys 240, 243
Sequential Access Device log page codes 220
Sequential-Access commands 1 95
Sequential-Access Density Codes 222
Sequential-Access Device Mode Parameters 222
Sequential-Access page codes 224, 225
Sequential-Access sense codes 255
Service Action field 1 1 0, 1 1 4
Service Action Reservation Key field 1 1 5
SET LI MITS command 6
Set Number field 209
Setup Time 4 1 , 54-59
SEW bit 229
UMENP bit 1 45
Unit Attention Condition 267
UnitOfl bit 1 26
Use of Defect Sources 1 60
WBus1 6 bit 1 04
.YBus32 bit 1 04
1/CE bit 1 84
.teb site 2
- · 'ide data transfer 1 8, 4 1 , 90
data bus signals 26
example 78
VIDE DATA TRANSFER REQU EST 9 1 , 93
Width Exponent field 93
WP bit 1 39
WRITE AN D VERI FY Command 1 74
WRITE BUFFER Command 1 29
Vrite Buffer Full Ratio (WBFR) field 228
'RITE Command (tape) 2 1 8
.,. •rite Delay Time field 228
VRITE FILEMARKS Command 2 1 9
'RITE LONG Command 1 74
;-:rite Retention Priority field 1 84
·ite Retry Count field 1 91 , 233
!RITE SAM E Command 1 75
. RITE(1 0) Command (disk) 1 73
·'- ·liTE(6) Command (disk) 1 73
-: .•,tOK bit 2 1 3
··3 mk bit 2 1 9
IT1 0 Committee 2
OR commands 6, 1 53
Charles S p urgeon
1 5 6 pages , $ 1 9 . 9 5 , I SBN 1 - 5 73 9 8 - 0 1 2 - 9
Ethernet works with a huge v a r i ety of med i a type s : s pecificat i o n s are scattered t h ro u g hout a
m a s s of I E E E ' s 802 . x sta n d a rd s . T h e s e g u i d e l i n e s overco m e the com p l exity a n d bri n g a l l t h e
confi g u rati o n ru l e s t o g e t h e r i n a s i n g l e , conve n i ent refe rence ( i n c l u d e s 1 O O B A S E -T " F a st
Ethernet" ) . Anyone who a d m i n i sters , i n sta l l s , s u p p o rt s , or d e s i g n s Eth e rnet L A N s wi l l
a p p re c i ate t h i s pract i ca l , h a n d s-on , p rofe s s i o n a l q u i c k refe re n c e .
Understanding I / 0 S ub systems
W . David S chaderer / Andrew W. Wilson, Jr .
342 pages, $ 29 . 9 5 , ISBN 0 - 9 6 5 1 9 1 1 -0-9
A d a ptec P ress' d efi n i t i ve refe rence to conte m pora ry 1/0 systems de s i g n , fro m mother boards
to h a rd d i s k m a g n e t i c m e d i a to o p e rating syste m s . "Th i s book i s d e s p e rate l y needed . . . "
Gordon B e l l , M i cros oft C o rporat i o n . " I ntegrates m a n y co m p l ex con $ i d e ra t i o n s . . . " R o b e rt
F ra n k e n b e rg , C h a i rm a n , Nove l l C o r p . " A n exce l l e nt overv i ew . . . " G a ry Sti m a c , S e n i o r V P ,
Compaq Corp.
T h e S C S I S e r i e s h a s b e e n d e v e l o p e d s pecifica l l y to h e l p e n g i n e e rs a n d p ro g ra m m e rs working
i n the co m p l e x wor l d of S C S I . The b o o k s have b e e n authored by eng i ne e rs for e n g i n e e r s .
T h e re i s m u c h m o re t h a n j u st a n e x p l a n at i o n o f t h e sta n d a rd s . t h e re i s g u i d a nce o n how t o
i m p l em e nt p ro d u cts . The Bench R efe rences w e r e d e v e l o p e d f o r the e x p re s s p u rp o s e o f
m a k i n g i nformat i o n e a s y-to-fi n d . The E n cycl o p e d i a s prov i d e co m p re h e n s i v e d e scri p t i o n s b y
s u bj e ct that b e n efit b o t h the n e o p h yte and t h e experi enced u s e r .
The S C S I Tutor
David Deming
340 pages, $ 3 9 5 . 00 , An In-D epth Exploration of S C S I , ISBN 1 - 8 7 9 9 3 6 - 0 8 - 9
Developed by a n i n structor to i n struct e n g i ne e rs a n d p ro g ra m mers . t h e Tutor fo l l ows the same
basic o ut l i ne a s t h e S C S I -2 sta n d a rd to a s s i st m o v i n g between the two . This g u i d e can be
u s e d for s e l f- i n struct i o n to l e a rn what m a k e s S C S I tick.
Brief Table of Contents
•
Revised for SCSI-3 , incl uding Fast-20, SCAM, and proposed Fast-40/LVD!
•
Easy to read
•
Quick table of contents on the cover
•
Complete I ndex at the end of the book
•
Concise defi n itions of each element of the standard
•
Examples
•
Bus timing and electrical characteristics are graphically represented
•
Options are tabulated when 'fields interact
•
Command and data tables are expanded to full length: reduces errors in the lab
•
Compact size takes up little space on your desk or table
•
Code tables are listed both alphabetically and numerically
This book is intended as a quick reference only; for in-depth information, do refer to the SCSI-:
standards!
Every effort has been made to ensure that the SCSI Bench Reference is absolutely accurate:.
the event that any errors are inadvertently made, ENOL Publ ications is not responsible for
damage that may be caused.
Criticism of the contents of the SCSI Bench Reference , i n errors, style, or content, is appreciated
We want this to be the best possible guide for the SCSI user and developer, particularly for
use. Please report any errors or comments to:
Copyright © 1 989, 1 992, 1 996 ENOL Publications and Jeffrey D . Sta i . All rights reserved . No part
of this book may be used or reproduced in any form or by any means, or stored in a database or
retrieval system without prior written permission of ENOL Publ ications except in the case of brief
quotations embodied in critical articles or reviews. Making copies of any part of this work for any
purpose other than your own personal use is a violation of U nited States copyright laws.
JLI
PO Box 6402 1 8
ENDL
San Jose, CA 951 64-02 1 8
phone: 800-420-2677
PUBL I CATIONS . ,. , .