Date: September 5, 1990 X3T9.2/90-048R5
To: X3T9.2 Committee (SCSI)
From: George Penokie (IBM)
Subject: 16/32 bit P/Q and L cable stand alone document
Section 3 Issues
-Redefine SCSI address and SCSI ID terms
Section 4 Issues
-Termination of the cable
-The maximum number of devices should be made to be 16 if the
P cable is used.
-The maximum number of devices should be made to be 32 if the
P/Q cable is used.
-The maximum number of devices should be made to be 32 if the
L cable is used.
-Disallow B connector devices from connecting to P, P/Q, or L
type devices.
-Add in the Q cable changes.
-Make the Q cable have the same pin positions for data lines as
the P cable. This is to make dual porting easier.
-Add in the L cable changes.
-Make the L cable have the same pin positions for data and control lines
as the P cable. This is to make dual porting easier.
-Show examples of A cable to P cable, A cable to L cable, and P cable to L
cable convertors.
Section 5 Issues
-Some wording changes in section 5.1.2 ARBITRATION Phase are
required to indicate there are now 32 devices allowed on the bus.
|-Add into setion 5.1.3 SELECTION phase and 5.1.4 RESELECTION phase wording to
| describe how to handle parity detection on devices with more than 8 SCSI
| ID's.
-Some changes in section 5.1.5.3 Wide Data Transfer are required
to indicate there is another cabling option.
-Add in the Q cable changes
-Add in the L cable changes
-Added a table to show the legal combination of ACKQREQQ, Addr32, Addr16,
Wbus32, and Wbus16 bits from the Inquiry Data Format table.
Section 7 Issues
-The copy commands segment Descriptor does not have room for a 5
bit source address and a 5 bit destination address.
-Make a new set of Descriptors to handle a larger number of
addresses.
-Make a new ASC and ASCQ to handle unsupported SCSI addresses
-Remove the new ASC and ASCQ. Unsupported SCSI addresses should
be handled like any other parameter type error.
-Add into the Inquiry data the 16/32 bit addressing information
and the ACKB/REQB information.
Section 8, 9, 10, 12, 13, 14, 15, and 16 Issues
-The Release command and Reserve command do not have room for a 5
bit third party device ID
-Make 10 byte commands for both the Release and Reserve
commands
Section 3 changes recommended to implement a single 68 pin connector
Current Cables
A Cable - 50 conductors. The SCSI-1/SCSI-2 8-bit cable.
B Cable - 68 conductors. A second cable to expand the data path
to 16 or 32 bits.
Proposed Cables
P Cable - 68 conductors. A 16-bit single-cable with the signals
from the A cable on the center 50 pins.
It is expected that one can mix A and P
devices with an appropriate adapter.
Q Cable - 68 conductors. This cable extends the P cable to 32
bits. The pin assignments are the same
as for the P cable, but the control
signals, except REQ and ACK, are not
used.
L Cable - 110 conductors. A 32-bit single-cable with the signals
from the P cable on the center 68 pins.
It is expected that one can mix A, P,
and L devices with appropriate
adapters.
3.1. Glossary
SCSI address. The Hexadecimal Representation of the unique
address (0-31) assigned to an SCSI device. This address would
normally be assigned and set in the SCSI device during system
installation.
SCSI ID. The bit-significant representation of the SCSI address
referring to one of the signal lines DB(31-0).
4. Physical Characteristics
This section contains the physical definition of alternative cabling methods
for 16 bit and 32 bit data paths on SCSI-2 devices. The connectors, cables,
signals, terminators, and bus timing values needed to implement the interface
are covered.
4.1. Physical Description
SCSI devices are daisy-chained together using a common 110-conductor L cable
or a common 68-conductor P cable and, optionally, a 68-conductor Q cable. Both
ends of each cable are terminated. All signals are common between all SCSI
devices on the P cable and the L cable. Various width SCSI devices may be
mixed.
Physical devices with L cable connectors shall connect the low data byte
(DB0-DB7,P) to the L connector. The three high data bytes
(DB8-DB15,P1,DB16-DB24,P2,DB25-DB32) may be connected to the L connector.
Physical devices with P cable connectors shall connect the low data byte
(DB0-DB7,P) to the P connector. The high data byte (DB8-DB15,P1) may be
connected to the P connector.
Two driver/receiver alternatives are specified:
(1) Single-ended drivers and receivers, which allow a maximum cable length
of six meters (primarily for connection within a cabinet).
(2) Differential drivers and receivers, which allow a maximum cable length
of 25 meters (primarily for connection outside of a cabinet).
The A/B cable, P/Q, and L cable alternatives are mutually exclusive within a
system. Physical devices with A cable connectors may be attached to P cables
or L cables.
IMPLEMENTORS NOTE: Two of the RESERVED lines (A cable contact numbers 23
and 24) and the OPEN line (A cable contact number 25) on the A cable have
been converted to TERM POWER lines on the P cable (P cable contact numbers
33, 34, and 35) and on the L cable (L cable contact numbers 53, 54, and 55).
The other two RESERVED lines (A cable contact numbers 27 and 28) have been
converted to TERM POWER lines on the L cable (L cable contact numbers 57
and 58).
Example of a A cable to P cable adapter:
A Cable P Cable
23| |33
Reserved----------|-- |----|-----------Term Power
24| | |34
Reserved----------|-- |----|-----------Term Power
25| | |35
Open--------------|-- |----|-----------Term Power
26| | |36
Term Power--------|----|----|-----------Term Power
27| |37
Reserved----------|---------|-----------Reserved
28| |38
Reserved----------|---------|-----------Reserved
| |
Example of a A cable to L cable adapter:
A Cable L Cable
23| |53
Reserved----------|-- |----|-----------Term Power
24| | |54
Reserved----------|-- |----|-----------Term Power
25| | |55
Open--------------|-- |----|-----------Term Power
26| | |56
Term Power--------|----|----|-----------Term Power
27| | |57
Reserved----------|-- |----|-----------Term Power
28| | |58
Reserved----------|-- |----|-----------Term Power
| |
Example of a P cable to L cable adapter:
P Cable L Cable
33| |53
Term Power--------|---------|-----------Term Power
34| |54
Term Power--------|---------|-----------Term Power
35| |55
Term Power--------|---------|-----------Term Power
36| |56
Term Power--------|----|----|-----------Term Power
37| | |57
Reserved----------|-- |----|-----------Term Power
38| | |58
Reserved----------|-- |----|-----------Term Power
| |
Physical devices with B cable connectors shall not be attached to P, P/Q, or L
cables. Physical devices with P, P/Q or L cable connectors shall not be
attached to A or A/B cables.
The single-ended and differential alternatives are mutually exclusive within
a system.
IMPLEMENTORS NOTE: Use of single-ended drivers and receivers with the fast
synchronous data transfer option is not recommended.
4.2. Cable Requirements
An ideal impedance match with cable terminators implies a cable
characteristic impedance of 132 ohms (singled-ended option) or 122 ohms
(differential option). The cable characteristic impedance shall be no less
than 90 ohms and no greater than 140 ohms. It is recommended that the cable
characteristic impedance be greater than 100 ohms for all cable types. See
4.2.3 for cable requirements when implementing the fast synchronous data
transfer option.
A minimum conductor size of 0.08042 square mm (28 AWG) should be used to
minimize noise effects and ensure proper distribution of terminator power.
IMPLEMENTORS NOTES:
(1) To minimize discontinuities and signal reflections, cables of different
impedances should not be used in the same bus. Implementations may require
trade-offs in shielding effectiveness, cable length, the number of loads,
transfer rates, and cost to achieve satisfactory system operation.
(2) To minimize discontinuities due to local impedance variation, a flat
cable should be spaced at least 1.27 mm (0.050 in) from other cables, any
other conductor, or the cable itself when the cable is folded.
(3) Regulatory agencies may require use of larger wire size.
4.2.1. Single-Ended Cable
A 68-conductor flat cable or 34-signal twisted-pair cable shall be used for
the P cable and the Q cable if the wide SCSI option is implemented. A
110-conductor flat cable or 55-signal twisted-pair cable shall be used for the
L cable. The maximum cumulative cable length shall be 6.0 meters. If
twisted-pair cables are used, then twisted pairs in the cable shall be wired to
physically opposing contacts in the connector.
A stub length of no more than 0.1 meters is allowed off the mainline
interconnection within any connected equipment or from any connected point.
IMPLEMENTORS NOTE: Stub clustering should be avoided. Stubs should be
spaced at least 0.3 meters apart.
SCSI bus termination shall be at each end of the cable and may be internal
to the SCSI devices that are at the ends of the cable.
4.2.2. Differential Cable
A 68-conductor flat cable or 34-signal twisted-pair cable shall be used for
the P cable and the Q cable if the wide SCSI option is implemented. A
110-conductor flat cable or 55-signal twisted-pair cable shall be used for the
L cable. The maximum cumulative cable length shall be 25 meters. If
twisted-pair cables are used, then twisted pairs in the cable shall be wired to
physically opposing contacts in the connector.
A stub length of no more than 0.2 meters is allowed off the mainline
interconnection within any connected equipment or from any connected point.
SCSI bus termination shall be at each end of the cable and may be internal
to the SCSI devices that are at the ends of the cable.
IMPLEMENTORS NOTE: The use of twisted pair cable (either twisted-flat or
discrete wire twisted pairs) is strongly recommended. Without twisted
pairs, even at slow data rates and very short distances, crosstalk between
adjacent signals causes spurious pulses with differential signals.
4.2.3. Cable Requirements for Fast Synchronous Data Transfer
In systems which use the fast synchronous data transfer option (see 4.8),
the P, Q and L cables should meet the conductor size recommendation in 4.2.
The cable should have an overall shield suitable for termination in a shielded
connector.
In such systems, the cables shall have the following electrical
characteristics:
Characteristic Impedance: 90 to 132 ohms
Signal Attenuation: 0.095 dB maximum per meter at 5 MHz
Pair-to-Pair Propagation Delay Delta: 0.20 ns maximum per meter
DC Resistance: 0.230 ohms maximum per meter at 20 degrees C
4.3. Connector Requirements
Two types of connectors are defined: nonshielded and shielded. The
nonshielded connectors are typically used for in-cabinet applications.
Shielded connectors are typically used for external applications where
electromagnetic compatibility (EMC) and electrostatic discharge (ESD)
protection may be required. Either type of connector may be used with the
single-ended or differential drivers.
4.3.1. Nonshielded Connector Requirements
One nonshielded connector is specified for the P and Q cables. One
nonshielded connector is specified for the L cable.
4.3.1.1. Nonshielded Connector - P Cable, Q Cable, and L Cable
The nonshielded high-density SCSI device connector for the P and Q cables
(Figure 4-1) shall be a 68-conductor connector consisting of two rows of 34
female contacts with adjacent contacts 1.27 mm (0.05 in) apart. The
nonshielded high-density SCSI device connector for the L (Figure 4-1) shall be
a 110-conductor connector consisting of two rows of 55 female contacts with
adjacent contacts 1.27 mm (0.05 in) apart. The nonmating portion of the
connector is shown for reference reference only.
The nonshielded high-density cable connector for the P and Q cables (Figure
4-2) shall be a 68-conductor connector consisting of two rows of 34 male
contacts with adjacent contacts 1.27 mm (0.05 in) apart. The nonshielded
high-density cable connector for the L (Figure 4-2) shall be a 110-conductor
connector consisting of two rows of 55 male contacts with adjacent contacts
1.27 mm (0.05 in) apart. The nonmating portion of the connector is shown for
reference only.
4.3.2. Shielded Connector Requirements
One shielded connector is specified for the P and Q cables. One shielded
connector is specified of the L cable. The connector shielding system should
provide a dc resistance of less than 10 milliohms from the cable shield at its
termination point to the SCSI device enclosure.
In order to support daisy-chain connections, SCSI devices that use shielded
connectors should provide two shielded device connectors on the device
enclosure. These two connectors may be wired "one-to-one" with a stub to the
SCSI device's drivers and receivers provided the maximum stub length is not
violated. Alternatively, two cables may be run from the two shielded
connectors to the drivers and receivers so that the maximum stub length is not
violated. The length of the cable within the device enclosure is included
when calculating the total cable length of the SCSI bus.
4.3.2.1. Shielded Connector - P Cable, Q Cable, and L Cable
The shielded high-density SCSI device connector for the P and Q cables
(Figure 4-3) is a 68-conductor connector consisting of two rows of 34 female
contacts with adjacent contacts 1.27 mm (0.05 in) apart. adjacent contacts
1.27 mm (0.05 in) apart. The shielded high-density SCSI device connector for
the L (Figure 4-3) is a 110-conductor connector consisting of two rows of 55
female contacts with adjacent contacts 1.27 mm (0.05 in) apart. The nonmating
portion of the connector is shown for reference only.
The shielded high-density cable connector for the P and Q cables (Figure 4-4)
is a 68-conductor connector consisting of two rows of 34 male contacts with
adjacent contacts 1.27 mm (0.05 in) apart. The shielded high-density cable
connector for the L (Figure 4-4) is a 110-conductor connector consisting of two
rows of 55 male contacts with adjacent contacts 1.27 mm (0.05 in) apart. The
nonmating portion of the connector is shown for reference only.
Figure 4-1: 68/110-Contact Nonshielded High-Density SCSI Device Connector
(P Cable/Q Cable/L Cable)
Figure 4-2: 68/110-Contact Nonshielded High-Density Cable Connector
(P Cable/Q Cable/L Cable)
Figure 4-3: 68/110-Contact Shielded High-density SCSI Device Connector
(P Cable/Q Cable/L Cable)
Figure 4-4: 68/110-Contact Shielded High-density Cable Connector
(P Cable/Q Cable/L Cable)
4.3.3. Connector Contact Assignments
The connector contact assignments are defined in Tables 4-1 through 4-5.
Table 4-1 defines which of the other four tables to use and which set of
contact assignments to use.
Table 4-1: Cross-Reference to Connector Contact Assignments
==============================================================================
Driver/ Contact
Receiver Connector Assignment Contact
Connector Type Type Cable Figure Table Set
------------------------------------------------------------------------------
Nonshielded Alternative 1 Single-Ended P 4-1 & 4-2 4-2
Nonshielded Alternative 1 Single-Ended Q 4-1 & 4-2 4-3
Nonshielded Alternative 1 Single-Ended L 4-1 & 4-2 4-4
Nonshielded Alternative 1 Differential P 4-1 & 4-2 4-5
Nonshielded Alternative 1 Differential Q 4-1 & 4-2 4-6
Nonshielded Alternative 1 Differential L 4-1 & 4-2 4-7
Shielded Alternative 1 Single-Ended P 4-3 & 4-4 4-2
Shielded Alternative 1 Single-Ended Q 4-3 & 4-4 4-3
Shielded Alternative 1 Single-Ended L 4-3 & 4-4 4-4
Shielded Alternative 1 Differential P 4-3 & 4-4 4-5
Shielded Alternative 1 Differential Q 4-3 & 4-4 4-6
Shielded Alternative 1 Differential L 4-3 & 4-4 4-7
==============================================================================
Table 4-2: Single-Ended Contact Assignments - P cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
GROUND 1 1 | 2 35 -DB(12)
GROUND 2 3 | 4 36 -DB(13)
GROUND 3 5 | 6 37 -DB(14)
GROUND 4 7 | 8 38 -DB(15)
GROUND 5 9 | 10 39 -DB(P1)
GROUND 6 11 | 12 40 -DB(0)
GROUND 7 13 | 14 41 -DB(1)
GROUND 8 15 | 16 42 -DB(2)
GROUND 9 17 | 18 43 -DB(3)
GROUND 10 19 | 20 44 -DB(4)
GROUND 11 21 | 22 45 -DB(5)
GROUND 12 23 | 24 46 -DB(6)
GROUND 13 25 | 26 47 -DB(7)
GROUND 14 27 | 28 48 -DB(P)
GROUND 15 29 | 30 49 GROUND
GROUND 16 31 | 32 50 GROUND
TERMPWR 17 33 | 34 51 TERMPWR
TERMPWR 18 35 | 36 52 TERMPWR
RESERVED 19 37 | 38 53 RESERVED
GROUND 20 39 | 40 54 GROUND
GROUND 21 41 | 42 55 -ATN
GROUND 22 43 | 44 56 GROUND
GROUND 23 45 | 46 57 -BSY
GROUND 24 47 | 48 58 -ACK
GROUND 25 49 | 50 59 -RST
GROUND 26 51 | 52 60 -MSG
GROUND 27 53 | 54 61 -SEL
GROUND 28 55 | 56 62 -C/D
GROUND 29 57 | 58 63 -REQ
GROUND 30 59 | 60 64 -I/O
GROUND 31 61 | 62 65 -DB(8)
GROUND 32 63 | 64 66 -DB(9)
GROUND 33 65 | 66 67 -DB(10)
GROUND 34 67 | 68 68 -DB(11)
==============================================================================
NOTES:
(1) The minus sign next to a signal indicates active low.
(2) The conductor number refers to the conductor position when
using 0.025- inch centerline flat ribbon cable. Other cable types
may be used to implement equivalent contact assignments.
(3) 8 bit devices which connected to the P-cable shall leave the
following signals open:
-DB(12) -DB(13) -DB(14) -DB(15) -DB(P1) -DB(8) -DB(9) -DB(10) -DB(11)
All other signals shall be connected as defined.
Table 4-3: Single-Ended Contact Assignments - Q cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
GROUND 1 1 | 2 35 -DB(28)
GROUND 2 3 | 4 36 -DB(29)
GROUND 3 5 | 6 37 -DB(30)
GROUND 4 7 | 8 38 -DB(31)
GROUND 5 9 | 10 39 -DB(P3)
GROUND 6 11 | 12 40 -DB(16)
GROUND 7 13 | 14 41 -DB(17)
GROUND 8 15 | 16 42 -DB(18)
GROUND 9 17 | 18 43 -DB(19)
GROUND 10 19 | 20 44 -DB(20)
GROUND 11 21 | 22 45 -DB(21)
GROUND 12 23 | 24 46 -DB(22)
GROUND 13 25 | 26 47 -DB(23)
GROUND 14 27 | 28 48 -DB(P2)
GROUND 15 29 | 30 49 GROUND
GROUND 16 31 | 32 50 GROUND
TERMPWRQ 17 33 | 34 51 TERMPWRQ
TERMPWRQ 18 35 | 36 52 TERMPWRQ
RESERVED 19 37 | 38 53 RESERVED
GROUND 20 39 | 40 54 GROUND
GROUND 21 41 | 42 55 TERMINATED
GROUND 22 43 | 44 56 GROUND
GROUND 23 45 | 46 57 TERMINATED
GROUND 24 47 | 48 58 -ACKQ
GROUND 25 49 | 50 59 TERMINATED
GROUND 26 51 | 52 60 TERMINATED
GROUND 27 53 | 54 61 TERMINATED
GROUND 28 55 | 56 62 TERMINATED
GROUND 29 57 | 58 63 -REQQ
GROUND 30 59 | 60 64 TERMINATED
GROUND 31 61 | 62 65 -DB(24)
GROUND 32 63 | 64 66 -DB(25)
GROUND 33 65 | 66 67 -DB(26)
GROUND 34 67 | 68 68 -DB(27)
==============================================================================
NOTES:
(1) The minus sign next to a signal indicates active low.
(2) The conductor number refers to the conductor position when
using 0.025- inch centerline flat ribbon cable. Other cable types
may be used to implement equivalent contact assignments.
Table 4-4: Single-Ended Contact Assignments - L cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
TERMPWR 1 1 | 2 56 TERMPWR
GROUND 2 3 | 4 57 -DB(24)
GROUND 3 5 | 6 58 -DB(25)
GROUND 4 7 | 8 59 -DB(26)
GROUND 5 9 | 10 60 -DB(27)
GROUND 6 11 | 12 61 -DB(28)
GROUND 7 13 | 14 62 -DB(29)
GROUND 8 15 | 16 63 -DB(30)
GROUND 9 17 | 18 64 -DB(31)
GROUND 10 19 | 20 65 -DB(P3)
GROUND 11 21 | 22 66 -DB(12)
GROUND 12 23 | 24 67 -DB(13)
GROUND 13 25 | 26 68 -DB(14)
GROUND 14 27 | 28 69 -DB(15)
GROUND 15 29 | 30 70 -DB(P1)
GROUND 16 31 | 32 71 -DB(0)
GROUND 17 33 | 34 72 -DB(1)
GROUND 18 35 | 36 73 -DB(2)
GROUND 19 37 | 38 74 -DB(3)
GROUND 20 39 | 40 75 -DB(4)
GROUND 21 41 | 42 76 -DB(5)
GROUND 22 43 | 44 77 -DB(6)
GROUND 23 45 | 46 78 -DB(7)
GROUND 24 47 | 48 79 -DB(P)
GROUND 25 49 | 50 80 GROUND
GROUND 26 51 | 52 81 GROUND
TERMPWR 27 53 | 54 82 TERMPWR
TERMPWR 28 55 | 56 83 TERMPWR
TERMPWR 29 57 | 58 84 TERMPWR
GROUND 30 59 | 60 85 GROUND
GROUND 31 61 | 62 86 -ATN
GROUND 32 63 | 64 87 GROUND
GROUND 33 65 | 66 88 -BSY
GROUND 34 67 | 68 89 -ACK
GROUND 35 69 | 70 90 -RST
GROUND 36 71 | 72 91 -MSG
GROUND 37 73 | 74 92 -SEL
GROUND 38 75 | 76 93 -C/D
GROUND 39 77 | 78 94 -REQ
GROUND 40 79 | 70 95 -I/O
GROUND 41 81 | 82 96 -DB(8)
GROUND 42 83 | 84 97 -DB(9)
GROUND 43 85 | 86 98 -DB(10)
GROUND 44 87 | 88 99 -DB(11)
GROUND 45 89 | 90 100 GROUND
GROUND 46 91 | 92 101 -DB(16)
GROUND 47 93 | 94 102 -DB(17)
GROUND 48 95 | 96 103 -DB(18)
GROUND 49 97 | 98 104 -DB(19)
GROUND 50 99 | 100 105 -DB(20)
GROUND 51 101 | 102 106 -DB(21)
GROUND 52 103 | 104 107 -DB(22)
GROUND 53 105 | 106 108 -DB(23)
GROUND 54 107 | 108 109 -DB(P2)
TERMPWR 55 109 | 110 110 TERMPWR
==============================================================================
NOTES:
(1) The minus sign next to a signal indicates active low.
(2) The conductor number refers to the conductor position when
using 0.025- inch centerline flat ribbon cable. Other cable types
may be used to implement equivalent contact assignments.
(3) 8 bit devices which connect to the L-cable shall leave the
following signals open:
-DB(12) -DB(13) -DB(14) -DB(15) -DB(P1) -DB(8) -DB(9) -DB(10) -DB(11)
-DB(20) -DB(21) -DB(22) -DB(23) -DB(P2) -DB(16) -DB(17) -DB(18) -DB(19)
-DB(28) -DB(29) -DB(30) -DB(31) -DB(P3) -DB(24) -DB(25) -DB(26) -DB(27)
All other signals shall be connected as defined.
(4) 16 bit devices which connect to the L-cable shall leave the
following signals open:
-DB(20) -DB(21) -DB(22) -DB(23) -DB(P2) -DB(16) -DB(17) -DB(18) -DB(19)
-DB(28) -DB(29) -DB(30) -DB(31) -DB(P3) -DB(24) -DB(25) -DB(26) -DB(27)
All other signals shall be connected as defined.
Table 4-5: Differential Contact Assignments - P cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
+DB(12) 1 1 | 2 35 -DB(12)
+DB(13) 2 3 | 4 36 -DB(13)
+DB(14) 3 5 | 6 37 -DB(14)
+DB(15) 4 7 | 8 38 -DB(15)
+DB(P1) 5 9 | 10 39 -DB(P1)
GROUND 6 11 | 12 40 GROUND
+DB(0) 7 13 | 14 41 -DB(0)
+DB(1) 8 15 | 16 42 -DB(1)
+DB(2) 9 17 | 18 43 -DB(2)
+DB(3) 10 19 | 20 44 -DB(3)
+DB(4) 11 21 | 22 45 -DB(4)
+DB(5) 12 23 | 24 46 -DB(5)
+DB(6) 13 25 | 26 47 -DB(6)
+DB(7) 14 27 | 28 48 -DB(7)
+DB(P) 15 29 | 30 49 -DB(P)
DIFFSENS 16 31 | 32 50 GROUND
TERMPWR 17 33 | 34 51 TERMPWR
TERMPWR 18 35 | 36 52 TERMPWR
RESERVED 19 37 | 38 53 RESERVED
+ATN 20 39 | 40 54 -ATN
GROUND 21 41 | 42 55 GROUND
+BSY 22 43 | 44 56 -BSY
+ACK 23 45 | 46 57 -ACK
+RST 24 47 | 48 58 -RST
+MSG 25 49 | 50 59 -MSG
+SEL 26 51 | 52 60 -SEL
+C/D 27 53 | 54 61 -C/D
+REQ 28 55 | 56 62 -REQ
+I/O 29 57 | 58 63 -I/O
GROUND 30 59 | 60 64 GROUND
+DB(8) 31 61 | 62 65 -DB(8)
+DB(9) 32 63 | 64 66 -DB(9)
+DB(10) 33 65 | 66 67 -DB(10)
+DB(11) 34 67 | 68 68 -DB(11)
==============================================================================
NOTES:
(1) The conductor number refers to the conductor position
when using 0.025- inch centerline flat ribbon cable. Other cable
types may be used to implement equivalent contact assignments.
(2) 8 bit devices which connected to the P-cable shall leave the
following signals open:
-DB(12) -DB(13) -DB(14) -DB(15) -DB(P1) -DB(8) -DB(9) -DB(10) -DB(11)
+DB(12) +DB(13) +DB(14) +DB(15) +DB(P1) +DB(8) +DB(9) +DB(10) +DB(11)
All other signals shall be connected as defined.
Table 4-6: Differential Contact Assignments - Q cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
+DB(28) 1 1 | 2 35 -DB(28)
+DB(29) 2 3 | 4 36 -DB(29)
+DB(30) 3 5 | 6 37 -DB(30)
+DB(31) 4 7 | 8 38 -DB(31)
+DB(P3) 5 9 | 10 39 -DB(P3)
GROUND 6 11 | 12 40 GROUND
+DB(16) 7 13 | 14 41 -DB(16)
+DB(17) 8 15 | 16 42 -DB(17)
+DB(18) 9 17 | 18 43 -DB(18)
+DB(19) 10 19 | 20 44 -DB(19)
+DB(20) 11 21 | 22 45 -DB(20)
+DB(21) 12 23 | 24 46 -DB(21)
+DB(22) 13 25 | 26 47 -DB(22)
+DB(23) 14 27 | 28 48 -DB(23)
+DB(P2) 15 29 | 30 49 -DB(P2)
DIFFSENS 16 31 | 32 50 GROUND
TERMPWRQ 17 33 | 34 51 TERMPWRQ
TERMPWRQ 18 35 | 36 52 TERMPWRQ
RESERVED 19 37 | 38 53 RESERVED
TERMINATED 20 39 | 40 54 TERMINATED
GROUND 21 41 | 42 55 GROUND
TERMINATED 22 43 | 44 56 TERMINATED
+ACKQ 23 45 | 46 57 -ACKQ
TERMINATED 24 47 | 48 58 TERMINATED
TERMINATED 25 49 | 50 59 TERMINATED
TERMINATED 26 51 | 52 60 TERMINATED
TERMINATED 27 53 | 54 61 TERMINATED
+REQQ 28 55 | 56 62 -REQQ
TERMINATED 29 57 | 58 63 TERMINATED
GROUND 30 59 | 60 64 GROUND
+DB(24) 31 61 | 62 65 -DB(24)
+DB(25) 32 63 | 64 66 -DB(25)
+DB(26) 33 65 | 66 67 -DB(26)
+DB(27) 34 67 | 68 68 -DB(27)
==============================================================================
NOTES:
(1) The minus sign next to a signal indicates active low.
(2) The conductor number refers to the conductor position when
using 0.025- inch centerline flat ribbon cable. Other cable types
may be used to implement equivalent contact assignments.
Table 4-7: Differential Contact Assignments - L cable
==============================================================================
Connector Cable Connector
Signal Contact Conductor Contact Signal
Name Number Number Number Name
------------------------------------------------------------------------------
TERMPWR 1 1 | 2 56 TERMPWR
+DB(24) 2 3 | 4 57 -DB(24)
+DB(25) 3 5 | 6 58 -DB(25)
+DB(26) 4 7 | 8 59 -DB(26)
+DB(27) 5 9 | 10 60 -DB(27)
+DB(28) 6 11 | 12 61 -DB(28)
+DB(29) 7 13 | 14 62 -DB(29)
+DB(30) 8 15 | 16 63 -DB(30)
+DB(31) 9 17 | 18 64 -DB(31)
+DB(P3) 10 19 | 20 65 -DB(P3)
+DB(12) 11 21 | 22 66 -DB(12)
+DB(13) 12 23 | 24 67 -DB(13)
+DB(14) 13 25 | 26 68 -DB(14)
+DB(15) 14 27 | 28 69 -DB(15)
+DB(P1) 15 29 | 30 70 -DB(P1)
GROUND 16 31 | 32 71 GROUND
+DB(0) 17 33 | 34 72 -DB(0)
+DB(1) 18 35 | 36 73 -DB(1)
+DB(2) 19 37 | 38 74 -DB(2)
+DB(3) 20 39 | 40 75 -DB(3)
+DB(4) 21 41 | 42 76 -DB(4)
+DB(5) 22 43 | 44 77 -DB(5)
+DB(6) 23 45 | 46 78 -DB(6)
+DB(7) 24 47 | 48 79 -DB(7)
+DB(P) 25 49 | 50 80 -DB(P)
DIFFSENS 26 51 | 52 81 GROUND
TERMPWR 27 53 | 54 82 TERMPWR
TERMPWR 28 55 | 56 83 TERMPWR
TERMPWR 29 57 | 58 84 TERMPWR
+ATN 30 59 | 60 85 -ATN
GROUND 31 61 | 62 86 GROUND
+BSY 32 63 | 64 87 -BSY
+ACK 33 65 | 66 88 -ACK
+RST 34 67 | 68 89 -RST
+MSG 35 69 | 70 90 -MSG
+SEL 36 71 | 72 91 -SEL
+C/D 37 73 | 74 92 -C/D
+REQ 38 75 | 76 93 -REQ
+I/O 39 77 | 78 94 -I/O
GROUND 40 79 | 70 95 GROUND
+DB(8) 41 81 | 82 96 -DB(8)
+DB(9) 42 83 | 84 97 -DB(9)
+DB(10) 43 85 | 86 98 -DB(10)
+DB(11) 44 87 | 88 99 -DB(11)
GROUND 45 89 | 90 100 GROUND
+DB(16) 46 91 | 92 101 -DB(16)
+DB(17) 47 93 | 94 102 -DB(17)
+DB(18) 48 95 | 96 103 -DB(18)
+DB(19) 49 97 | 98 104 -DB(19)
+DB(20) 50 99 | 100 105 -DB(20)
+DB(21) 51 101 | 102 106 -DB(21)
+DB(22) 52 103 | 104 107 -DB(22)
+DB(23) 53 105 | 106 108 -DB(23)
+DB(P2) 54 107 | 108 109 -DB(P2)
TERMPWR 55 109 | 110 110 TERMPWR
==============================================================================
NOTES:
(1) The minus sign next to a signal indicates active low.
(2) The conductor number refers to the conductor position when
using 0.025- inch centerline flat ribbon cable. Other cable types
may be used to implement equivalent contact assignments.
(3) 8 bit devices which connect to the L-cable shall leave the
following signals open:
-DB(12) -DB(13) -DB(14) -DB(15) -DB(P1) -DB(8) -DB(9) -DB(10) -DB(11)
+DB(12) +DB(13) +DB(14) +DB(15) +DB(P1) +DB(8) +DB(9) +DB(10) +DB(11)
-DB(20) -DB(21) -DB(22) -DB(23) -DB(P2) -DB(16) -DB(17) -DB(18) -DB(19)
+DB(20) +DB(21) +DB(22) +DB(23) +DB(P2) +DB(16) +DB(17) +DB(18) +DB(19)
-DB(28) -DB(29) -DB(30) -DB(31) -DB(P3) -DB(24) -DB(25) -DB(26) -DB(27)
+DB(28) +DB(29) +DB(30) +DB(31) +DB(P3) +DB(24) +DB(25) +DB(26) +DB(27)
All other signals shall be connected as defined.
(4) 16 bit devices which connect to the L-cable shall leave the
following signals open:
-DB(20) -DB(21) -DB(22) -DB(23) -DB(P2) -DB(16) -DB(17) -DB(18) -DB(19)
+DB(20) +DB(21) +DB(22) +DB(23) +DB(P2) +DB(16) +DB(17) +DB(18) +DB(19)
-DB(28) -DB(29) -DB(30) -DB(31) -DB(P3) -DB(24) -DB(25) -DB(26) -DB(27)
+DB(28) +DB(29) +DB(30) +DB(31) +DB(P3) +DB(24) +DB(25) +DB(26) +DB(27)
All other signals shall be connected as defined.
4.4. Electrical Description
For the measurements in this section, SCSI bus termination is assumed to be
external to the SCSI device. See 4.4.1 for the terminating requirements for
the RESERVED lines. SCSI devices may have the provision for allowing optional
internal termination.
4.4.1. Single-Ended Alternative
All signals not defined as RESERVED, GROUND, OPEN, or TERMPWR shall be
terminated at both ends of the cable. The implementer may choose one of the
following two methods to terminate each end (see Figure 4-5):
(1) The termination of each signal shall consist of 220 ohms (+_5%) to the
TERMPWR line and 330 ohms (+_5%) to ground. Using resistors with +_1%
tolerance improves noise margins.
(2) The termination of each signal shall meet these requirements:
(a) The terminators shall each supply a characteristic impedance between
100 and 132 ohms.
(b) The terminators shall be powered by the TERMPWR line and may receive
additional power from other sources but shall not require such additional
power for proper operation (see 4.4.3).
(c) The current available to any signal line driver shall not exceed
48 milliamps when the driver asserts the line and pulls it to 0.5 volts dc.
Only 44.8 mA of this current shall be available from the two terminators.
(d) The voltage on all released signal lines shall be at least 2.5 volts
dc when the TERMPWR line is within specified values (see 4.4.3).
(e) These conditions shall be met with any legal configuration of targets
and initiators as long as at least one device is supplying TERMPWR.
The first termination method above is the same as in SCSI-1. The second
termination method is recommended for better signal quality.
4.4.1.1. Output Characteristics
All signals shall use open-collector or three-state drivers. Each signal
driven by an SCSI device shall have the following output characteristics when
measured at the SCSI device's connector:
VOL (Low-level output voltage) = 0.0 to 0.5 volts dc at 48 mA sinking
(signal assertion)
VOH (High-level output voltage) = 2.5 to 5.25 volts dc (signal negation)
4.4.1.2. Input Characteristics
SCSI devices with power on shall meet the following electrical
characteristics on each signal (including both receivers and passive drivers):
VIL (Low-level input voltage) = 0.0 to 0.8 volts dc (signal true)
VIH (High-level input voltage) = 2.0 to 5.25 volts dc (signal false)
IIL (Low-level input current) = -0.4 to 0.0 mA at VI = 0.5 volts dc
IIH (High-level input current) = 0.0 to 0.1 mA at VI = 2.7 volts dc
Minimum input hysteresis = 0.2 volts dc
Maximum input capacitance = 25 pF (measured at the device connector closest
to the stub, if any, within the device)
It is recommended that SCSI devices with power off also meet the above IIL
and IIH electrical characteristics on each signal.
To achieve maximum noise immunity and to assure proper operation with
complex cable configurations, it is recommended that the nominal switching
threshold be approximately 1.4 volts.
4.4.2. Differential Alternative
All signals consist of two lines denoted +SIGNAL and -SIGNAL. A signal is
true when +SIGNAL is more positive than -SIGNAL, and a signal is false when
-SIGNAL is more positive than +SIGNAL. All assigned signals of the P, Q, and L
cables described in 4.6 shall be terminated at each end of the cable with a
terminator network as shown in Figure 4-6. Resistor tolerances in the
terminator network shall be +_5% or less.
The DIFFSENS signal of the connector is used as an active high enable for
the differential drivers. If a single-ended device or terminator is
inadvertently connected, this signal is grounded, disabling the differential
drivers (see Figure 4-4 and Figure 4-5).
4.4.2.1. Output Characteristics
Each signal driven by an SCSI device shall have the following output
characteristics when measured at the SCSI device's connector:
VOL (Low-level output voltage) = 1.7 V maximum at IOL (Low-level output
current) = 55 mA.
VOH (High-level output voltage) = 2.7 V minimum at IOH (High-level output
current) = -55 mA.
VOD (Differential output voltage) = 1.0 V minimum with common-mode voltage
ranges from -7 to +12 volts dc.
VOL and VOH shall be as measured between the output terminal and the SCSI
device's logic ground reference.
The output characteristics shall additionally conform to ISO 8482.
4.4.2.2. Input Characteristics
SCSI devices shall meet the following electrical characteristics on each
signal (including both receivers and passive drivers):
II (Input current on either input) = +_ 2.0 mA maximum.
Maximum input capacitance = 25 pF.
The II requirement shall be met with the input voltage varying between -7
and +12 volts dc, with power on or off, and with the hysteresis equaling 35
millivolts, minimum.
The input characteristics shall additionally conform to ISO 8482.
4.4.3. Terminator Power
SCSI initiators shall supply terminator power to the TERMPWR contact(s) and,
if it implements the wide SCSI option, to the TERMPWRQ contacts. This power
shall be supplied through a diode or similar semiconductor that prevents
backflow of power to the SCSI device. Targets and SCSI devices that become
temporary initiators (e.g., targets which implement the COPY command or
asynchronous event notification) are not required to supply terminator power.
Any SCSI device may supply terminator power. Interface error rates are lower
if the termination voltage is maintained at the extreme ends of the cable.
All terminators independent of location shall be powered from the TERMPWR
and TERMPWRQ contact(s). The use of keyed connectors is recommended in SCSI
devices that provide terminator power to prevent accidental grounding or
misconnection of terminator power.
IMPLEMENTORS NOTE: Regulatory agencies may require limiting maximum (short
circuit) current to the terminator power lines. Recommended current
limiting is 2 amperes for TERMPWR on the P cable and 2 amperes for TERMPWRQ
on the Q cable. Recommended current limiting is 3 amperes for TERMPWR on
the L cable. For systems utilizing multiple initiators, the initiators may
be configured with option straps or current limiting devices. Maximum
available current should not exceed 5 amperes.
SCSI devices shall sink no more than 1.0 mA from TERMPWR and no more than
1.0 mA from TERMPWRQ except to power an optional internal terminator.
Single-ended SCSI devices providing terminator power on cable P and cable Q
shall have the following characteristics:
VTerm = 4.25 to 5.25 volts dc
1500 mA minimum source drive capability
Single-ended SCSI devices providing terminator power on cable L shall have
the following characteristics:
VTerm = 4.25 to 5.25 volts dc
2400 mA minimum source drive capability
Differential SCSI devices providing terminator power on cable P and cable Q
shall have the following characteristics:
VTerm = 4.0 to 5.25 volts dc
1000 mA minimum source drive capability
Differential SCSI devices providing terminator power on cable L shall have
the following characteristics:
VTerm = 4.0 to 5.25 volts dc
1600 mA minimum source drive capability
IMPLEMENTORS NOTE: It is recommended that the terminator power lines be
decoupled at each terminator with at least a 2.2 microfarad high-frequency
capacitor to improve signal quality.
Alternative 1 Termination
Alternative 2 Termination
Figure 4-5: Termination for Single-Ended Devices
Figure 4-6: Termination for Differential Devices
Figure 4-7: Differential Driver Protection Circuit
4.4.4. RESERVED Lines
The lines labeled RESERVED shall be open on all SCSI devices.
The lines labeled RESERVED shall be connected to ground in the bus terminator
assemblies or in the end devices on the SCSI cable. The RESERVED lines shall
be open in the other SCSI devices.
4.5. SCSI Bus
Communication on the SCSI bus is allowed between only two SCSI devices at
any given time. There is a maximum of 16 SCSI devices on a P cabled system
and 32 SCSI devices on a P/Q and L cabled systems. Each SCSI device
has an SCSI ID bit assigned as shown in Figure 4-8. Three sample system
configurations are shown in Figure 4-9.
When two SCSI devices communicate on the SCSI bus, one acts as an initiator
and the other acts as a target. The initiator originates an operation and the
target performs the operation. An SCSI device usually has a fixed role as an
initiator or target, but some devices may be able to assume either role.
An initiator may address up to 32 peripheral devices that are connected to a
target on a P/Q and L cabled system. Three sample system configurations are
shown in Figure 4-8.
SCSI ID bits for P, P/Q, and L peripheral devices:
DB(7) DB(6) DB(5) DB(4) DB(3) DB(2) DB(1) DB(0)
Lowest
SCSI ID SCSI ID
P Cable 7 0 15 8
P/Q Cable 7 0 15 8 23 16 31 24
L Cable 7 0 15 8 23 16 31 24
IMPLEMENTORS NOTE: It is recommended that new implementations wait for the
SEL signal to become true before releasing the BSY signal and SCSI ID bit
when arbitration is lost.
(5) The SCSI device that wins arbitration shall wait at least a bus clear
delay plus a bus settle delay after asserting the SEL signal before changing
any signals.
NOTE: The SCSI ID bit is a single bit on the DATA BUS that corresponds to
the SCSI device's unique SCSI address. All other DATA BUS bits shall be
released by the SCSI device. Parity is not valid during the ARBITRATION
phase. During the ARBITRATION phase, DB(PX) may be released or asserted, but
shall not be actively driven false.
5.1.3. SELECTION Phase
The SELECTION phase allows an initiator to select a target for the purpose
of initiating some target function (e.g., READ or WRITE command). During the
SELECTION phase the I/O signal is negated so that this phase can be
distinguished from the RESELECTION phase.
The SCSI device that won the arbitration has both the BSY and SEL signals
asserted and has delayed at least a bus clear delay plus a bus settle delay
before ending the ARBITRATION phase. The SCSI device that won the arbitration
becomes an initiator by not asserting the I/O signal.
The initiator shall set the DATA BUS to a value which is the OR of its SCSI
ID bit and the target's SCSI ID bit and it shall assert the ATN signal
(indicating that a MESSAGE OUT phase is to follow the SELECTION phase). The
initiator shall then wait at least two deskew delays and release the BSY
signal. The initiator shall then wait at least a bus settle delay before
looking for a response from the target.
The target shall determine that it is selected when the SEL signal and its
SCSI ID bit are true and the BSY and I/O signals are false for at least a bus
settle delay. The selected target may examine the DATA BUS in order to
determine the SCSI ID of the selecting initiator. The selected target shall
then assert the BSY signal within a selection abort time of its most recent
detection of being selected; this is required for correct operation of the
selection time-out procedure.
| The SCSI device shall check parity as follows:
| (a) DB(7-0,P) shall be checked for odd parity
| (b) DB(15-8,P1) shall only be checked for odd parity if there is at least
|one SCSI ID bit active on bits DB(15-8)
| (c) DB(23-16,P2) shall only be checked for odd parity if there is at least
|one SCSI ID bit active on bits DB(23-16)
| (d) DB(31-24,P3) shall only be checked for odd parity if there is at least
|one SCSI ID bit active on bits DB(31-24).
|
| The SCSI device shall not respond to SELECTION or RESELECTION phases if one
|or more of the following occur:
| (a) No SCSI ID bits are true on any of the DATA BUS bytes
| (b) Bad parity is detected on one or more DATA BUS bytes
| (c) More that two SCSI ID bits are true on the DATA BUS
| (d) In the case of SELECTION phase, no SCSI ID bits are true on bits
|DB(7-0) and there are less than two SCSI ID bits true on the remaining bits
|of the DATA BUS. In the case of RESELECTION phase, there are other than two
|SCSI ID bits true on the DATA BUS.
| IMPLEMENTORS NOTE: If a target chooses to support the single-initiator
| option or the selection-without-asserting-ATN options of SCSI-1, it may
| respond as described in the SCSI-1 standard.
No less than two deskew delays after the initiator detects the BSY signal is
true, it shall release the SEL signal and may change the DATA BUS. The target
shall wait until the SEL signal is false before asserting the REQ signal to
enter an information transfer phase.
5.1.3.1. SELECTION Time-out Procedure
Two optional selection time-out procedures are specified for clearing the
SCSI bus if the initiator waits a minimum of a selection time-out delay and
there has been no BSY signal response from the target:
(1) Optionally, the initiator shall assert the RST signal (see 5.2.2).
(2) Optionally, the initiator shall continue asserting the SEL and ATN
signals and shall release the DATA BUS. If the initiator has not detected the
BSY signal to be true after at least a selection abort time plus two deskew
delays, the initiator shall release the SEL and ATN signals allowing the SCSI
bus to go to the BUS FREE phase. SCSI devices shall ensure that when
responding to selection that the selection was still valid within a selection
abort time of their assertion of the BSY signal. Failure to comply with this
requirement could result in an improper selection (two targets connected to
the same initiator, wrong target connected to an initiator, or a target
connected to no initiator).
5.1.4. RESELECTION Phase
RESELECTION is an optional phase that allows a target to reconnect to an
initiator for the purpose of continuing some operation that was previously
started by the initiator but was suspended by the target, (i.e., the target
disconnected by allowing a BUS FREE phase to occur before the operation was
complete).
5.1.4.1. RESELECTION
Upon completing the ARBITRATION phase, the winning SCSI device has both the
BSY and SEL signals asserted and has delayed at least a bus clear delay plus a
bus settle delay. The winning SCSI device becomes a target by asserting the
I/O signal. The winning SCSI device shall also set the DATA BUS to a value
that is the logical OR of its SCSI ID bit and the initiator's SCSI ID bit.
The target shall wait at least two deskew delays and release the BSY signal.
The target shall then wait at least a bus settle delay before looking for a
response from the initiator.
The initiator shall determine that it is reselected when the SEL and I/O
signals and its SCSI ID bit are true and the BSY signal is false for at least
a bus settle delay. The reselected initiator may examine the DATA BUS in
order to determine the SCSI ID of the reselecting target. The reselected
initiator shall then assert the BSY signal within a selection abort time of
its most recent detection of being reselected; this is required for correct
operation of the time-out procedure. The initiator shall not respond to a
|RESELECTION phase if bad parity is detected or other than two SCSI ID bits are
|true as described in 5.1.3.
After the target detects the BSY signal is true, it shall also assert the
BSY signal and wait at least two deskew delays and then release the SEL
signal. The target may then change the I/O signal and the DATA BUS. After
the reselected initiator detects the SEL signal is false, it shall release the
BSY signal. The target shall continue asserting the BSY signal until it
relinquishes the SCSI bus.
NOTE: When the target is asserting the BSY signal, a transmission line
phenomenon known as a "wired-OR glitch" may cause the BSY signal to appear
false for up to a round-trip propagation delay following the release of the
BSY signal by the initiator. This is the reason why the BUS FREE phase is
recognized only after both the BSY and SEL signals are continuously false
for a minimum of a bus settle delay. Cables longer than 25 meters should
not be used even if the chosen driver, receiver, and cable provide adequate
noise margins, because they increase the duration of the glitch and could
cause SCSI devices to inadvertently detect the BUS FREE phase.
5.1.4.2. RESELECTION Time-out Procedure
Two optional RESELECTION time-out procedures are specified for clearing the
SCSI bus during a RESELECTION phase if the target waits a minimum of a
selection time-out delay and there has been no BSY signal response from the
initiator:
(1) Optionally, the target shall assert the RST signal (see 5.2.2).
(2) Optionally, the target shall continue asserting the SEL and I/O signals
and shall release all DATA BUS signals. If the target has not detected the
BSY signal to be true after at least a selection abort time plus two deskew
delays, the target shall release the SEL and I/O signals allowing the SCSI bus
to go to the BUS FREE phase. SCSI devices that respond to the RESELECTION
phase shall ensure that the reselection was still valid within a selection
abort time of their assertion of the BSY signal. Failure to comply with this
requirement could result in an improper reselection (two initiators connected
to the same target or the wrong initiator connected to a target).
5.1.5. Information Transfer Phases
NOTE: The COMMAND, DATA, STATUS, and MESSAGE phases are all grouped
together as the information transfer phases because they are all used to
transfer data or control information via the DATA BUS. The actual content
of the information is beyond the scope of this section.
The C/D, I/O, and MSG signals are used to distinguish between the different
information transfer phases (see Table 5-1). The target drives these three
signals and therefore controls all changes from one phase to another. The
initiator can request a MESSAGE OUT phase by asserting the ATN signal, while
the target can cause the BUS FREE phase by releasing the MSG, C/D, I/O, and
BSY signals.
The information transfer phases use one or more REQ/ACK handshakes to
control the information transfer. Each REQ/ACK handshake allows the transfer
of one byte of information. During the information transfer phases the BSY
signal shall remain true and the SEL signal shall remain false. Additionally,
during the information transfer phases, the target shall continuously envelope
the REQ/ACK handshake(s) with the C/D, I/O, and MSG signals in such a manner
that these control signals are valid for a bus settle delay before the
assertion of the REQ signal of the first handshake and remain valid until
after the negation of the ACK signal at the end of the handshake of the last
transfer of the phase.
IMPLEMENTORS NOTES:
(1) After the negation of the ACK signal of the last transfer of the phase,
the target may prepare for a new phase by asserting or negating the C/D,
I/O, and MSG signals. These signals may be changed together or
individually. They may be changed in any order and may be changed more than
once. It is desirable that each line change only once. A new phase does
not begin until the REQ signal is asserted for the first byte of the new
phase.
(2) A phase is defined as ending when the C/D, I/O, or MSG signals change
after the negation of the ACK signal. The time between the end of a phase
and the assertion of the REQ signal beginning a new phase is undefined. An
initiator is allowed to anticipate a new phase based on the previous phase,
the expected new phase, and early information provided by changes in the
C/D, I/O, and MSG signals. However, the anticipated phase is not valid
until the REQ signal is asserted at the beginning of a the next phase.
Table 5-1: Information Transfer Phases
==============================================================================
Signal
-----------
MSG C/D I/O Phase Name Direction Of Transfer Comment
------------------------------------------------------------------------------
0 0 0 DATA OUT Initiator to target \ Data
0 0 1 DATA IN Initiator from target / Phase
0 1 0 COMMAND Initiator to target
0 1 1 STATUS Initiator from target
1 0 0 *
1 0 1 *
1 1 0 MESSAGE OUT Initiator to target \ Message
1 1 1 MESSAGE IN Initiator from target / Phase
==============================================================================
Key: 0 = False, 1 = True, * = Reserved for future standardization.
5.1.5.3. Wide Data Transfer
Wide data transfer is optional and may be used in the DATA phase only if a
nonzero wide data transfer agreement is in effect. The messages determine the
use of wide mode by both SCSI devices and establish a data path width to be
used during the DATA phase.
Wide data transfers of 16- or 32-bits may be established. Although not
mandatory, it is recommended that targets and initiators that support 32-bit
wide transfers also support 16-bit wide transfers as well. All SCSI devices
shall support 8-bit data transfers.
During 16-bit wide data transfers, the first and second logical data bytes
for each data phase shall be transferred across the DB(7-0,P) and DB(15-8,P2)
signals, respectively, on the P cable or the L cable. Subsequent pairs of data
bytes are likewise transferred in parallel across the P cable or the L
cable(see Figure 5-1).
During 32-bit wide data transfers on a P/Q cabled system, the first and
second logical data bytes for each data phase shall be transferred across the
DB(7-0,P) and DB(15-8,P2) signals, respectively, on the P cable, and the third
and fourth logical data bytes shall be transferred across the DB(23-16,P2) and
DB(31-24,P3) signals, respectively, on the Q cable. Subsequent pairs of data
bytes are likewise transferred in parallel across the P and Q cables (see
Figure 5-1).
During 32-bit wide data transfers on a L cabled system, the first, second,
third, and fourth logical data bytes for each data phase shall be transferred
across the DB(7-0,P), DB(15-8,P2), DB(23-16,P2), and DB(31-24,P3) signals,
respectively, on the L cable. Subsequent pairs of data bytes are likewise
transferred in parallel across the L cable (see Figure 5-1).
When transferring bytes W, X, Y and Z across the three bus widths,
they are transferred as shown below:
Hand- 8-bit 16-bit 32-bit
shake ______ _____ _______ ______
# P Cable P cable / Q Cable \/ P Cable \
+-------+ +-------+-------+ +-------+-------+-------+-------+
1 | W | | X | W | | Z | Y | X | W |
+-------+ +-------+-------+ +-------+-------+-------+-------+
2 | X | | Z | Y | 31...24 23...16 15....8 7.....0
+-------+ +-------+-------+ Bit Number
3 | Y | 15....8 7.....0
+-------+ 32-bit
4 | Z | Bit Number ______ _____ _______ ______
+-------+ / L Cable \
7.....0 +-------+-------+-------+-------+
| Z | Y | X | W |
Bit Number +-------+-------+-------+-------+
31...24 23...16 15....8 7.....0
Bit Number
NOTE: This figure does not represent how these bytes are stored in
the initiator's memory, which may be different.
Figure 5-1: Wide SCSI Byte Ordering
If the last data byte transferred for a command does not fall on the DB(15-
8,P1) signals for a 16-bit wide transfer or the DB(31-24,P3) signals for a 32-
bit wide transfer, then the values of the remaining higher-numbered bits are
undefined. However, parity bits for these undefined bytes shall be valid for
whatever data is placed on the bus.
On a P/Q cabled system to ensure proper data integrity, certain sequence
requirements shall be met between the REQ/ACK handshakes on the P cable and the
REQQ/ACKQ handshakes on the Q cable:
(1) The REQQ and ACKQ signals shall only be asserted during data phases
while a nonzero wide data transfer agreement is in effect. These signals
shall not be asserted during other phases.
(2) The same information transfer mode (asynchronous or synchronous) shall
be used for both the P cable and the Q cable. If synchronous data transfer
mode is in effect, the same REQ/ACK offset and transfer period shall be used
for both cables.
(3) The information transfer procedures defined in the ANSI SCSI-2 Standard
X3.131-1990 sections 5.1.5.1 Asynchronous Information Transfer and 5.1.5.2
Synchronous Data Transfer for the P cable (the REQ, ACK, and DB(15-0,P,P1)
signals) shall also apply to the Q cable (the REQQ, ACKQ, and DB(31-16,P2,P3)
signals). The only means available for a target to manage the timing
relationship between the signals on the two cables is its management of the REQ
and REQQ signals. Similarly, the only means for the initiator to manage the
timing between the two cables is its management of the ACK and ACKQ signals.
(4) The target shall ensure that the number of REQ/ACK handshakes and the
number of REQQ/ACKQ handshakes in a data phase are equal before it changes to
another phase. The target shall not change the phase until the ACK and ACKQ
signals have both become false for the last REQ/ACK handshake and the last
REQQ/ACKQ handshake.
IMPLEMENTORS NOTE: If any violations of these rules are detected by the
target, the target may attempt to end the data phase and return CHECK
CONDITION status. If it is impossible to correctly terminate the data
phase, the target may abnormally terminate the I/O process by an unexpected
disconnect. If any violations of these rules are detected by the initiator,
the initiator may attempt to send an INITIATOR DETECTED ERROR message to the
target. If the initiator is unable to terminate the I/O process normally,
it may generate the reset condition.
7. All Device Types
7.2. Commands for All Device Types
The operation codes for commands that apply to all device types are listed
in Table 7-1.
Table 7-1: Commands for All Device Types
==============================================================================
Operation
Command Name Code Type Section
------------------------------------------------------------------------------
CHANGE DEFINITION 40h O 7.2.1
COMPARE 39h O 7.2.2
COPY 18h O 7.2.3
COPY AND VERIFY 3Ah O 7.2.4
INQUIRY 12h M 7.2.5
LOG SELECT 4Ch O 7.2.6
LOG SENSE 4Dh O 7.2.7
MODE SELECT(6) 15h Z 7.2.8
MODE SELECT(10) 55h Z 7.2.9
MODE SENSE(6) 1Ah Z 7.2.10
MODE SENSE(10) 5Ah Z 7.2.11
READ BUFFER 3Ch O 7.2.12
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
REQUEST SENSE 03h M 7.2.14
SEND DIAGNOSTIC 1Dh O 7.2.15
TEST UNIT READY 00h M 7.2.16
WRITE BUFFER 3Bh O 7.2.17
==============================================================================
Key: M = Command implementation is mandatory.
O = Command implementation is optional.
Z = Command implementation is device type specific.
7.2.3. COPY Command
Table 7-5: COPY Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (18h) |
-----+--------------------------+-----------------------------------+--------+
1 | Logical Unit Number | Reserved | Pad |
-----+--------------------------+-----------------------------------+--------+
2 | (MSB) |
- - -+- - Parameter List Length - -|
4 | (LSB) |
-----+-----------------------------------------------------------------------+
5 | Control |
==============================================================================
The COPY command (Table 7-5) provides a means to copy data from one logical
unit to another or the same logical unit. The logical unit that receives and
performs the COPY command is called the copy manager. The copy manager is
responsible for copying data from a logical unit (source device) to a logical
unit (destination device). These logical units may reside on different SCSI
devices or the same SCSI device (in fact all three may be the same logical
unit). Some SCSI devices that implement this command may not support copies
to or from another SCSI device, or may not support third party copies (i.e.,
both the source and the destination logical units reside on other SCSI
devices).
The pad bit (7.2.3.7) is used in conjunction with the Cat bit (7.2.3.7) in
the segment descriptors to define what action should be taken when a segment
of the copy does not fit exactly into an integer number of destination blocks.
The parameter list length field specifies the length in bytes of the
parameters that shall be sent during the DATA OUT phase of the command. A
parameter list length of zero indicates that no data shall be transferred.
This condition shall not be considered as an error.
The COPY parameter list (Table 7-6) begins with a four-byte header that
contains the COPY function code and priority. Following the header is one or
more segment descriptors.
Table 7-6: COPY Parameter List
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | COPY Function Code | Priority |
-----+--------------------------------------------+--------------------------+
1 | Vendor Specific |
-----+-----------------------------------------------------------------------+
2 | Reserved |
-----+-----------------------------------------------------------------------+
3 | Reserved |
==============================================================================
| Segment Descriptor(s) |
==============================================================================
0 - | Segment Descriptor 0 |
xx | (See specific table for length.) |
-----+-----------------------------------------------------------------------+
| . |
| . |
| . |
-----+-----------------------------------------------------------------------+
0 - | Segment Descriptor n |
xx | (See specific table for length.) |
==============================================================================
The COPY function code field defines a specific format for the segment
descriptors. The COPY function codes are defined in Table 7-7. A target need
not support all function codes for its device type.
The priority field of the COPY parameter list establishes the relative
priority of this COPY command to other commands being executed by the same
target. All other commands are assumed to have a priority of 1. Priority 0
is the highest priority with increasing values indicating lower priorities.
The segment descriptor formats are determined by the COPY function code.
The segment descriptor format used for write-once devices, CD-ROM devices, and
optical-memory devices shall be the same as for direct-access devices. The
segment descriptor format used for printer devices, communications, and
processor devices, shall be the same as for sequential-access devices. Thus a
COPY from a write-once device to a printer device uses the same segment
descriptor format as for a COPY from a direct-access device to a sequential-
access device (see Table 7-7). The segment descriptor formats are described
in Tables 7-8 through 7-11. A maximum of 256 segment descriptors are
permitted. The segment descriptors are identified by ascending numbers
beginning with zero.
Table 7-7: COPY Function Codes
==============================================================================
Peripheral Device Type COPY Segment
---------------------- Function Descriptor
Source Destination Code Table Comments
------------------------------------------------------------------------------
Direct-Access Sequential-Access 0 7-8
(0,4,5,7) (1,2,3,9)
Sequential-Access Direct-Access 1 7-8
(1,3,9) (0,4,7)
Direct-Access Direct-Access 2 7-9
(0,4,5,7) (0,4,7)
Sequential-Access Sequential-Access 3 7-10
(1,3,9) (1,2,3,9)
Sequential-Access Sequential-Access 4 7-11 Image Copy
(1) (1)
Direct-Access Sequential-Access 5 7-new1 32 address
(0,4,5,7) (1,2,3,9)
Sequential-Access Direct-Access 6 7-new1 32 address
(1,3,9) (0,4,7)
Direct-Access Direct-Access 7 7-new2 32 address
(0,4,5,7) (0,4,7)
Sequential-Access Sequential-Access 8 7-new3 32 address
(1,3,9) (1,2,3,9)
Sequential-Access Sequential-Access 9 7-new4 Image Copy;
(1) (1) 32 address
==============================================================================
The numbers in parenthesis are the peripheral device type codes (see Table
7-17).
COPY function code: 00h Direct-access to sequential-access
01h Sequential-access to writable direct-access
02h Direct-access to writable direct-access
03h Sequential-access to sequential-access
04h Sequential-access image copy
05h Direct-access to sequential-access
06h Sequential-access to writable direct-access
07h Direct-access to writable direct-access
08h Sequential-access to sequential-access
09h Sequential-access image copy
0Ah - 0Fh Reserved
10h - 1Fh Vendor specific
For the COMPARE command the destination direct-access device does not have
to be a writable device.
7.2.3.1. Errors Detected by the Managing SCSI Device
Two classes of exception conditions may occur during execution of a COPY
command. The first class consists of those exception conditions detected by
the SCSI device that received the COPY command and is managing the execution
of the command. These conditions include parity errors while transferring the
COPY command and status byte, invalid parameters in the COPY command, invalid
segment descriptors, and inability of the SCSI device controlling the COPY
functions to continue operating. In the event of such an exception condition,
the SCSI device managing the COPY shall:
(1) Terminate the COPY command with CHECK CONDITION status.
(2) The valid bit in the sense data shall be set to one. The segment number
shall contain the number of the segment descriptor being processed at the time
the exception condition is detected. The sense key shall contain the sense
key code describing the exception condition (i.e., not COPY ABORTED). The
information field shall contain the difference between the number of blocks
field in the segment descriptor being processed at the time of the failure and
the number of blocks successfully copied. This number is the residue of
unprocessed blocks remaining for the segment descriptor.
7.2.3.2. Errors Detected by a Target
The second class of errors consists of exception conditions detected by the
SCSI device transferring data at the request of the SCSI device managing the
transfer. The SCSI device managing the COPY command detects exception
conditions by receiving CHECK CONDITION status from one of the SCSI devices it
is managing. It then shall recover the sense data associated with the
exception condition.
The SCSI device managing the COPY command may also be the source or
destination SCSI device (or both). It shall distinguish between a failure of
the management of the COPY and a failure of the data transfer being requested.
It shall then create the appropriate sense data internally.
After recovering the sense data associated with the detected error, the SCSI
device managing the COPY command shall:
(1) Terminate the COPY command with CHECK CONDITION status.
(2) The valid bit in the sense data shall be set to one. The segment number
shall contain the number of the segment descriptor being processed at the time
the exception condition is detected. The sense key shall be set to COPY
ABORTED. The information field shall contain the difference between the
number of blocks field in the segment descriptor being processed at the time
of the failure and the number of blocks successfully copied. This number is
the residue of unprocessed blocks remaining for the segment descriptor.
The first byte of the command-specific information field shall specify the
starting byte number, relative to the first byte of sense data, of an area
that contains (unchanged) the source logical unit's status byte and sense
data. A zero value indicates that no status byte or sense data is being
returned for the source logical unit.
The second byte of the command-specific information field shall specify the
starting byte number, relative to the first byte of sense data, of an area
that contains (unchanged) the destination logical unit's status byte and sense
data. A zero value indicates that no status byte or sense data is being
returned for the destination logical unit.
7.2.3.3. COPY Function Code 00h, 01h, 05h, and 06h
The format for the segment descriptors for COPY transfers between direct-
access and sequential-access devices is specified in Table 7-8 and Table
7-new1. These formats are required for COPY function codes 00h or 01h and
COPY function codes 05h and 06h, respectively. The segment descriptor may be
repeated up to 256 times within the parameter list length specified in the
command descriptor block.
Table 7-8: Segment Descriptor for COPY Function Codes 00h and 01h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address |Reserved| Cat | Source LUN |
-----+--------------------------+--------+--------+--------------------------+
1 | Destination Address | Reserved | Destination LUN |
-----+--------------------------+-----------------+--------------------------+
2 | (MSB) |
- - -+--- Sequential-Access Device Block Length ---+
3 | (LSB) |
-----+-----------------------------------------------------------------------+
4 | (MSB) |
- - -+- - Direct-Access Device Number of Blocks - -|
7 | (LSB) |
-----+-----------------------------------------------------------------------+
8 | (MSB) |
- - -+- - Direct-Access Device Logical Block Address - -|
11 | (LSB) |
==============================================================================
Table 7-new1: Segment Descriptor for Function Codes 05h and 06h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address |
-----+--------+-----------------------------------+--------------------------+
1 | CAT | Reserved | Source LUN |
-----+--------+-----------------------------------+--------------------------+
2 | Destination Address |
-----+--------------------------------------------+--------------------------+
3 | Reserved | Destination LUN |
-----+--------------------------------------------+--------------------------+
4 | Reserved |
-----+-----------------------------------------------------------------------+
5 | (MSB) |
- - -+--- Sequential-Access Device Block Length ---+
7 | (LSB) |
-----+-----------------------------------------------------------------------+
8 | (MSB) |
- - -+- - Direct-Access Device Number of Blocks - -|
11 | (LSB) |
-----+-----------------------------------------------------------------------+
12 | (MSB) |
- - -+- - Direct-Access Device Logical Block Address - -|
15 | (LSB) |
==============================================================================
The source address and source LUN fields specify the SCSI bus ID and logical
unit of the device to copy the data from for this segment of the COPY command.
The destination address and destination LUN fields specify the SCSI bus ID and
logical unit to copy the data to for this segment of the COPY command. Some
SCSI devices may not support third-party COPY in which the copying SCSI device
is not the source or destination device. Some SCSI devices only support COPY
within the SCSI device and not to other SCSI devices. If an unsupported COPY
operation is requested, the command shall be terminated with CHECK CONDITION
status and the sense key shall be set to ILLEGAL REQUEST with an additional
sense code of INVALID FIELD IN PARAMETER LIST (see 7.2.3.1).
A catenate (Cat) bit (optional) of one indicates that the COPY manager shall
catenate the last source block of a segment with the first source block of the
next segment if the last source block does not end exactly at the end of the
destination block. The definition of a cat bit of zero depends on the setting
of the pad bit in the command descriptor block (see 7.2.3.7).
The sequential-access device block-length field specifies the block length
to be used on the sequential-access logical unit during this segment of the
COPY command. If the SCSI device managing the COPY knows this block length is
not supported, the command shall be terminated with CHECK CONDITION status and
the sense key shall be set to ILLEGAL REQUEST with an additional sense code of
INVALID FIELD IN PARAMETER LIST . If the block length is found to be invalid
while executing a read or write operation to the sequential-access device, the
command shall be terminated with CHECK CONDITION status and the sense key
shall be set to COPY ABORTED (see 7.2.3.2).
The direct-access device number of blocks field specifies the number of
blocks in the current segment to be copied. A value of zero indicates that no
blocks shall be transferred in this segment.
The direct-access device logical block address field specifies the starting
logical block address on the logical unit for this segment.
7.2.3.4. COPY Function Code 02hand 07h
The format for the segment descriptors for COPY transfers among direct-
access devices is specified in Table 7-9 and Table 7-new2. These formats are
required for COPY function code 02h and COPY function code 07h, respectively.
The segment descriptor may be repeated up to 256 times within the parameter
list length specified in the command descriptor block.
Table 7-9: Segment Descriptor for COPY Function Code 02h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address | DC | Cat | Source LUN |
-----+--------------------------+--------+--------+--------------------------+
1 | Destination Address | Reserved | Destination LUN |
-----+--------------------------+-----------------+--------------------------+
2 | Reserved |
-----+-----------------------------------------------------------------------+
3 | Reserved |
-----+-----------------------------------------------------------------------+
4 | (MSB) |
- - -+- - Number of Blocks - -|
7 | (LSB) |
-----+-----------------------------------------------------------------------+
8 | (MSB) |
- - -+- - Source Logical Block Address - -|
11 | (LSB) |
-----+-----------------------------------------------------------------------+
12 | (MSB) |
- - -+- - Destination Logical Block Address - -|
15 | (LSB) |
==============================================================================
Table 7-new2: Segment Descriptor for COPY Function Code 07h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address |
-----+--------+-----------------------------------+--------------------------+
1 | CAT | Reserved | Source LUN |
-----+--------+-----------------------------------+--------------------------+
2 | Destination Address |
-----+--------+-----------------------------------+--------------------------+
3 | DC | Reserved | Destination LUN |
-----+--------+-----------------------------------+--------------------------+
4 | (MSB) |
- - -+- - Number of Blocks - -|
7 | (LSB) |
-----+-----------------------------------------------------------------------+
8 | (MSB) |
- - -+- - Source Logical Block Address - -|
11 | (LSB) |
-----+-----------------------------------------------------------------------+
12 | (MSB) |
- - -+- - Destination Logical Block Address - -|
15 | (LSB) |
==============================================================================
See 7.2.3.3 for definitions of the source address, the source LUN, the
destination address, the destination LUN, and CAT fields.
A destination count (DC) bit of zero indicates that the number of blocks
field refers to the source logical unit. A DC bit of one indicates that the
number of blocks field refers to the destination logical unit.
The number of blocks field specifies the number of blocks to be transferred
to or from (depending on the DC bit) the device during this segment. A value
of zero indicates that no blocks shall be transferred.
The source logical block address field specifies the starting logical block
address on the source device.
The destination logical block address field specifies the starting logical
block address on the destination device.
7.2.3.5. COPY Function Code 03h and 08h
The format for the segment descriptors for COPY transfers among sequential-
access devices is specified by Table 7-10 and Table 7-new3. These formats are
required for COPY function code 03h and COPY function code 08h, respectively.
The segment descriptor may be repeated up to 256 times within the parameter
list length specified in the command descriptor block.
Table 7-10: Segment Descriptor for COPY Function Code 03h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address | DC | Cat | Source LUN |
-----+--------------------------+--------+--------+--------------------------+
1 | Destination Address | Reserved | Destination LUN |
-----+--------------------------+-----------------+--------------------------+
2 | Reserved |
-----+-----------------------------------------------------------------------+
3 | Reserved |
-----+-----------------------------------------------------------------------+
4 | (MSB) |
- - -+--- Source Block Length ---+
5 | (LSB) |
-----+-----------------------------------------------------------------------+
6 | (MSB) |
- - -+--- Destination Block Length ---+
7 | (LSB) |
-----+-----------------------------------------------------------------------+
8 | (MSB) |
- - -+- - Number of Blocks - -|
11 | (LSB) |
==============================================================================
Table 7-new3: Segment Descriptor for COPY Function Code 08h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address |
-----+--------+-----------------------------------+--------------------------+
1 | CAT | Reserved | Source LUN |
-----+--------+-----------------------------------+--------------------------+
2 | Destination Address |
-----+--------+-----------------------------------+--------------------------+
3 | DC | Reserved | Destination LUN |
-----+--------+-----------------------------------+--------------------------+
4 | Reserved |
-----+-----------------------------------------------------------------------+
4 | Reserved |
-----+-----------------------------------------------------------------------+
6 | (MSB) |
- - -+--- Source Block Length ---+
8 | (LSB) |
-----+-----------------------------------------------------------------------+
9 | (MSB) |
- - -+--- Destination Block Length ---+
11 | (LSB) |
-----+-----------------------------------------------------------------------+
12 | (MSB) |
- - -+- - Number of Blocks - -|
15 | (LSB) |
==============================================================================
See 7.2.3.3 for definitions of the source address, the source LUN, the
destination address, the destination LUN, and CAT fields.
A destination count (DC) bit of zero indicates that the number of blocks
field refers to the source logical unit. A DC bit of one indicates that the
number of blocks field refers to the destination logical unit.
The source block length field specifies the block-length of the source
device for this segment of the COPY. A zero in this field indicates variable
block-length. For non-zero values, this field shall match the logical unit's
actual block-length.
If block-length mismatches are detected prior to the beginning of the read
operation by the SCSI device managing the COPY, the command shall be
terminated with CHECK CONDITION status. The sense key shall be set to ILLEGAL
REQUEST and the additional sense code shall be set to INVALID FIELD IN
PARAMETER LIST (see 7.2.3.1).
If the mismatches are detected during the read operation by the COPY
manager, the command shall be terminated with CHECK CONDITION status. The
sense key shall be set to COPY ABORTED (see 7.2.3.2). and the additional
sense code shall be set to INVALID FIELD IN PARAMETER LIST.
The destination block-length field specifies the block length to be used on
the destination logical unit during the COPY. Destination block length
mismatches are handled in an analogous manner as source block length
mismatches.
The number of blocks field specifies the number of blocks to be transferred
to or from (depending on the DC bit) the device during this segment. A value
of zero indicates that no blocks shall be transferred.
7.2.3.6. COPY Function Code 04h and 09h
The format for the segment descriptors for image COPY transfers between
sequential-access devices is specified in Table 7-11 and Table 7-new4. These
formats are required for COPY function code 04h and COPY function code 09h,
respectively. The segment descriptor may be repeated up to 256 times within
the parameter list length specified in the command descriptor block.
Table 7-11: Segment Descriptor for COPY Function Code 04h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address | Reserved | Source LUN |
-----+--------------------------+-----------------+--------------------------+
1 | Destination Address | Reserved | Destination LUN |
-----+--------------------------+-----------------+--------------------------+
2 | Count |
-----+-----------------------------------------------------------------------+
3 | |
- - -+- - Reserved - -|
7 | |
-----+-----------------------------------------------------------------------+
8 | |
- - -+- - Vendor Specific - -|
11 | |
==============================================================================
Table 7-new4: Segment Descriptor for COPY Function Code 09h
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Source Address |
-----+--------------------------------------------+--------------------------+
1 | Reserved | Source LUN |
-----+--------------------------------------------+--------------------------+
2 | Destination Address |
-----+--------------------------------------------+--------------------------+
3 | Reserved | Destination LUN |
-----+--------------------------------------------+--------------------------+
4 | (MSB) |
- - -+- - Count - -|
5 | (LSB) |
-----+-----------------------------------------------------------------------+
6 | |
- - -+- - Reserved - -|
7 | |
-----+-----------------------------------------------------------------------+
8 | |
- - -+- - Vendor Specific - -|
11 | |
==============================================================================
See 7.2.3.3 for definitions of the source address, the source LUN, the
destination address, the destination LUN, and CAT fields.
The image mode COPY command copies an exact image of the source device
medium to the destination device medium, beginning at their current positions.
The copy function terminates when the source device:
(1) encounters an end-of-partition as defined by the source device
(2) encounters an end-of-data as defined by the source device (i.e., BLANK
CHECK sense key)
(3) has copied the number of consecutive filemarks specified in the count
field from the source device to the destination device
(4) has copied the number of consecutive setmarks specified in the count
field from the source device to the destination device, if the RSmk bit in the
device configuration page (see 9.3.3.1) is one.
A count field of zero indicates that the COPY command shall not terminate
due to any number of consecutive filemarks or setmarks. Other error or
exception conditions (e.g., early-warning end-of-partition on the destination
device) may cause the COPY command to terminate prior to completion. In such
cases, it is not possible to calculate a residue, so the information fi