7.4Command examples

7.4.1Single command example

A typical operation on the SCSI bus is likely to include a single READ command to a peripheral device such as the drive. This operation is described in detail starting with a request from the initiator. This example assumes that no linked commands and no malfunctions or errors occur and is illustrated in Figure 19.

The initiator has active pointers and a set of stored pointers representing active disconnected SCSI devices (a SCSI initiator port without disconnect capability does not require stored pointers). The initiator sets up the active pointers for the operation requested, arbitrates for the SCSI bus, and selects the drive. Once this pro- cess is completed, the drive assumes control of the operation.

The drive obtains the command from the initiator (in this case a READ command). The drive interprets the command and executes it. For this command, the drive reads the requested data from the Disc Media and sends this data to the initiator. After sending the read data to the initiator, the drive sends a status byte to the initiator. To end the operation, the drive sends a Command Complete message to the initiator and then goes to the Bus Free state.

Start

Bus Free

Arbitrate

Status In

Message In (command complete)

Select (no attention)

Bus Free

Command (ex. read)

End

Data In

Figure 19. Single command example

140

Parallel SCSI Interface Product Manual, Rev. A

Page 154
Image 154
Seagate Ultra 320, Ultra 160 manual Command examples, Single command example