Chapter 8 Details of Usage

Page 8 - 4

 

Byte and Word Swapping

Example Pass-through Command

The information in the table below would be required to complete a parameter block that issues a Pass-through command. The example shown below uses:

Logical block size is 128 bytes per block.

Extended Write SCSI command.

Command issued to LUN 1 of Target 2.

Transferring data from VME memory address 5A9320H.

Transferring data to Logical block 8F4E9H on the device.

Parameter Block written to memory address 89FF4H. Example parameters for a Pass-through command:

Name of Parameter Block Field Value Used for Example

Comments

Command Identifier

04030201H

 

 

 

 

Target ID

02H

 

 

 

 

Address Modifier

3EH

 

 

 

 

Flags-1

86H

 

 

 

 

Flags-2

01H

 

 

 

 

VME Memory Address

005A9320H

 

 

 

 

Transfer Count

00010280H

 

 

 

 

SCSI Command Byte 0

2AH

Extended Write Command

 

 

 

SCSI Command Byte 1

40H

Logical Unit 1

 

 

 

SCSI Command Byte 2

00H

Logical Block Address (MSB)

 

 

 

SCSI Command Byte 3

08H

Logical Block Address

 

 

 

SCSI Command Byte 4

F4H

Logical Block Address

 

 

 

SCSI Command Byte 5

E9H

Logical Block Address (LSB)

 

 

 

SCSI Command Byte 6

00

Reserved

 

 

 

SCSI Command Byte 7

02H

Transfer Count (MSB)

 

 

 

SCSI Command Byte 8

05H

Transfer Count (LSB)

 

 

 

SCSI Command Byte 9

00

Control Byte

 

 

 

SCSI Command Byte 10

00

Not Used

 

 

 

SCSI Command Byte 11

00

Not Used

 

 

 

Table 110: Pass-through command Parameters

21020285 D

User’s Guide

Page 178
Image 178
Ciprico Rimfire 3880 manual Pass-through command Parameters