Manuals
/
Ciprico
/
Computer Equipment
/
Network Card
Ciprico
Rimfire 3880 manual Command Operation
Models:
Rimfire 3880
1
84
230
230
Download
230 pages
41.83 Kb
81
82
83
84
85
86
87
88
<
>
Specification
Install
Error codes
Block Diagram
Default Jumper Settings
Total Commands Issued
Status Port Reset Format
Replacement Fuse
Diagnostic/Self-test 09H
Setting up Unit Options
Page 84
Image 84
Chapter 4 Command Operation
Page 4 - 26
Example ‘C’ Routines for Command List
21020285 D
User’s Guide
Page 83
Page 85
Page 84
Image 84
Page 83
Page 85
Contents
Rimfire 3880 Scsi Host Bus Adapter
Page
Page
21020285 D User’s Guide
Preface Organization
Initiator Mode Pass-through Commands Describes
Organization
Overview of the RF3880 User’s Guide
Conventions
Notational Graphic
Conventions
Graphic Representation of Parameter Block
Reference Documents
21020285 D Reference Documents
Contents
Scsi ID
Status Block Format
LUN
LUN
Table of Contents
Description of Fields Command Identifier
Diagnostic/Self-test 09H
Table of Contents
Table of Contents
Introduction Summary Specifications
Index
O d u c t O v e r v i e w
Latest Bus Specifications
About Rimfire Design
Buffering scheme
Product Overview About the Rimfire 3880 Design
Target Mode Implementation
Buffer Management
What next?
Product Overview What next?
R d w a r e E s s e n t i a l s
Introduction
Summary
Hardware Essentials Introduction
Hardware Structure Description
Intel 80186XL
QLogic FAS
Pipelined System Interface Data Buffer
Block Diagram
Hardware Essentials
Generator blocks are part of the PSI
Board Addressing
Choosing an Address Modifier
Choosing a VMEbus Address
Hardware Essentials Board Addressing
Hardware Port Addresses
Overview of the Ports
Hardware Essentials Hardware Ports General
Hardware Port Addresses
Hardware Essentials Hardware Ports General
Address Buffer Port
Hardware Essentials Address Buffer Port
Address Buffer Port Writes
Address Modifier Field
Hardware Essentials Address Buffer Port Control Field
Control Field of Address Buffer Port
Single Command Structure Address Fields
Channel Attention Port
Hardware Essentials Channel Attention Port
Channel Format
Channel Attention
Status Port Reset Format
Status Port Reset
Status Port
Hardware Essentials Status Port
Status Port Error Codes
Status Port Error Codes
Status Port General Format
Status Port General
Status Port Catastrophic Error Codes
Chapter Hardware Essentials Status Port
Reset Port
Hardware Essentials Reset Port
Descriptions of Port Usage
Hardware Essentials Descriptions of Port Usage
Hardware Essentials
R d w a r e Installation
Hardware Installation Introduction
Overview Installation Process
Hardware Installation Unpacking the Board
Step Unpacking Board
Shipping Damage Unpacking the Board
Hardware Installation Jumpers and Termination
Step Jumpers Termination
Configuration Jumpers
Default Jumper Settings
Bus Request/ Grant Jumper
Bus Request/Grant and Sysfail Jumpers
Sysfail
Jumper
Example Base Address Jumper Settings
Example
Addresses
For the Address Modifier Jumper
Replacement Fuse
Scsi bus Termination
Hardware Installation Board Insertion
General Steps
Power-up Sequence
Hardware Installation Apply power and observe LEDs
Meaning LED’s
Error Conditions
Step Configure Connect Scsi Devices
Hardware Installation Configure and Connect Scsi Devices
Selectable Options
Options
Scsi Cable Connector
Cabling
Hardware Installation
M m a n d O p e r a t i o n
Command Operation Introduction
Command Operation What the Adapter must accomplish
What the Adapter must accomplish
Base
Parameter
Block
Parameter
Command Descriptor Block
Command Operation Base Status Block
Base Status Block
Status Block Format
Base Status Block
Command Operation Base Status Block
Setting up Unit Options
Multiple Status Blocks
Single Command Structure
Format Single Command Structure
Command Operation Single Command Structure
Parameter Block
Command Operation Single Command Structure Interrupt
Bit-meanings of Interrupt Field
Using a Single Command Structure
Command Operation Using a Single Command Structure
Some Example Single Commands
Example Start Command List Board-control
Command Operation Some Example Single Commands
Command Identifier = 822F4H
Command = 01H
Interrupt = 0300H
21020285 D User’s Guide
Example 2Inquiry Pass-through Command
Example Pass-through command PB
Command Operation
Command Operation Some Example Single Commands
Command List Structure
Format Command List Structure
Description of the Fields
Number of Parameter Blocks
Number of Status Blocks
Parameter Block Space
Status Block Space
Creating Command List Structure
Command Operation Creating the Command List Structure
Using a Command List Structure
Command Guidelines
Command Operation Using a Command List Structure
Index Guidelines
Adding a Parameter Block Removing a Status Block
Example ‘C’ Routines for Command List
Command Operation Example ‘C’ Routines for Command List
Stcdone
Command Operation Example ‘C’ Routines for Command List
Command Operation
I t i a t o r t h r o u g h D e P a s s C o m m a n d s
Initiator Mode Pass-through Commands Introduction
Introduction Summary
Command Format
Initiator Pass- through Parameter Block Format
Target ID
Address Modifier
Bit-meanings of Flags-1 Field
Setting DBV DAT and DIR Bits Using Table Values
Example DAT and DIR bit settings
DIR and DAT Settings, Vendor-unique
Table of DAT DIR Automatic Settings
DAT and DIR Automatic Settings
4EH
Initiator Mode Pass-through Commands
Flags-2
Bit-meanings of Flag-2 Field
Meaning of TAG Opts Bits
Scsi Command Descriptor Block
VME Memory Address
Transfer Count
Message Format
Pass-through Message Parameter Block
Message Code
Description of Fields
Scsi Pass-through Status Block
Bit-meanings of Flags Field
Error
Scsi Status Field during Unexpected Scsi Phase
Bit-meanings of Scsi Status Field
Meaning of Status Byte Code
Three signals. This is described below
Meaning of Status Byte Unexpected Phase
Default Ordering of Sense Bytes
Up to 32 Sequential Sense Bytes
Ordering of 1st 16 Sequential Sense Bytes
Example of Selected Sense Bytes
Initiator Mode Pass-through Commands
R g e t t h r o u g h D e P a s s C o m m a n d s
Target Mode Pass-through Commands Introduction
What is Target Mode?
Target Mode Pass-through Commands Overview of Target Mode
Target Mode Pass-through Commands
Adapter must have a means of handling Scsi protocol issues
What must the adapter accomplish in Target Mode?
Overview Special Target Mode Commands
New commands
Target Mode Enable Command
Target Mode Disable Command
Command Descriptor Block Group Codes
Scsi Command Descriptor Block Groups
Command Operation
Sequence Events Enabling Target Mode
Target Mode Pass-through Commands Command Operation
Sequence Events Receiving a Command From an Initiator
Sequence of Events Responding to an Initiator
Target Selection Data Structure
Target Selection Data Structure
Meaning of Flags Field
Meaning of Scsi Flags Field
Command Descriptor Block Length
Identify Message Received
Initiator Identifier
Message Bytes Received
Semaphore Field
Target Mode Response Command
Target Mode Response Parameter Block
Initiator ID
⇒ Target Mode Response command
Meaning of Response Control Flags Field
Message Byte
Status or 1st Message Byte
Target Mode Response Command Status Block
First TM Response Command Status Block
Second TM Response Command Status Block
Meaning of Status Block Flags Field
Meaning of Command Status Flags Field
Target Mode Error Sequence Codes
Message Byte Received
A r d c o n t r o l C o m m a n d s
Board-control Commands Introduction
Using the Reference
Board-control Commands Using the Reference
Board-control Commands General Status Block
General Status Block
General Status Block Format
General Status Block
List of Commands
Board-control Commands List of Commands
Board-control Commands
Board-control Commands Start Command List 01H
Start Command List Parameter Block
Command List Memory Address
Adapter ID
Board-control Commands Start Command List 01H Interrupt
Command Code
Board-control Commands Stop Command List 02H
Stop Command List Parameter Block
Board-control Commands Identify 05H
Identify Command Parameter Block
Identify 05H
Identify Command Status Block
Identify Command Status Block
Engineering Revision
Firmware Revision
Board-control Commands Identify 05H Option Flags
Option Flags Field Identify Status Block
Adapter Scsi ID Bits
Day, Month, Year
Board-control Commands Board Statistics 06H
Board Statistics Command Parameter Block
Board Statistics 06H
Board-control Commands Board Statistics 06H Options
Options Field
Total Commands Processed
Total Scsi Commands issued to an ID
Target Mode Selection Count
Statistics Data Structure
Command Format Description of Fields
Board-control Commands General Options 07H
General Options Command Parameter Block
General Options 07H
Bus Throttle
Bus Throttle Field Values
Select Flags
Select Flags Byte
Command code for this command is 07H
Board-control Commands Unit Options 08H
Unit Options Command Parameter Block
Unit Options 08H
Unit Scsi ID
Board-control Commands Unit Options 08H Disconnect Time-out
Retry Limit
Retry Control
Retry Control
Select Time-out
Unit Flags
Unit Flags
Initiator Mode
Sense Count
Selected Sense Bytes
Example Use of Selected Sense Bytes Fields
Example Selection of Sense Bytes
Diagnostic/ Self-test 09H
Board-control Commands Diagnostic/Self-test 09H
Diagnostic/Self-test Parameter Block
Diagnostics Command Test Flags Field
Command code for this operation is 09H
Diagnostic Command Status Block
Flags Byte
Bit-meanings of Flags Byte in Status Block
Target Mode Enable 0AH
Board-control Commands Target Mode Enable 0AH
Target Mode Enable Parameter Block
Pointer to the Target Selection Data Structure
Meaning of Selection Interrupt Field
Target Mode Disable 0BH
Board-control Commands Target Mode Disable 0BH
Target Mode Disable Parameter Block
Meaning of Flags-1 Field
Board-control Commands Abort 0DH
Command Identifier of CMD to be Aborted
Abort 0DH
Abort Parameter Block
Scsi Hard Reset 10H
Board-control Commands Scsi Hard Reset 10H
Scsi Hard Reset Parameter Block
Board-control Commands Board Information 15H
Board Information 15H
Board-control Commands Board Information 15H Options
Board Information Data Structure
Board Information Options Field
Board Information Data Structure
Board Information Select Flags Field
Board-control Commands Board Information 15H Bus Throttle
Board-control Commands Board Information 15H Option Flags
RST Reset Jumper
Board-control Commands Board Information 15H Termination
Scsi Cfig Block
Adapter Base Model #
Per Target Retry Limit
Per Target Sense Count
Per Target Device Flags
Bit-meanings of Device Flags Field
Per Target Synch Period
Per Target Width
Per Target Selected Sense Bytes
Board-control Commands Extended Board Statistics 16H
Extended Board Statistics 16H
Extended Board Statistics Parameter Block
Board-control Commands Extended Board Statistics 16H Options
Extended Board Options Field
Total Commands Issued
Number of Scsi Parity Errors
Per Scsi Target Number of Commands
Extended Statistics Data Structure
Board-control Commands
Per Scsi Target Queue Full Count
Per Scsi Target Maximum Queued
Board-control Commands Extended Unit Options 18H
Extended Unit Options 18H
Extended Unit Options Parameter Block
Extended Unit Options Data Structure Description of Fields
Extended Unit Options Data Structure
Bit-meanings of Retry Control Field
Board-control Commands Extended Unit Options 18H Unit Flags
Unit Flags of Extended Unit Options
Board-control Commands Extended Unit Options 18H
Selected Sense Bytes
T a i l s o f U s a g e
Details of Usage Introduction
Need for Swapping
Details of Usage Byte and Word Swapping
Example of Memory Differences
Variations in Intel and Motorola Memory
Pass-through command Parameters
Intel Ordering
Motorola Ordering
Command Structure Swapping
RF3880 Swapping Options
Intel Ordered Parameter Block
Data Swapping
Sharing Tapes
Dual Initiators
How to Use
Tagged
Queuing
Tagged
Details of Usage Tagged Queuing Choose a tag message
Meaning of Flags-2 Field
RF3880 sends the tag message
Usage
Queue Tag Numbers
Queue Full Status
Message Reject
Target Mode Usage Scsi Protocol Handling
Scsi Bus Reset Handling
Selection Queue
Target Mode Disable Command Handling
Abort Command Handling Synchronous Data Transfer Requests
Wide Data Transfer Requests
Parity error conditions
Message parity errors
Initiator-detected Error messages
Target Routines
Disconnect Privilege
Message Handling
Message Bytes Received from the Initiator
21020285 D User’s Guide
User’s Guide 21020285 D
Details of Usage
Error codes
Status Block Error Codes
Appendix a Error Codes Introduction
Codes Reported in Status Block and Status Port
Appendix a Error Codes Summary
Error Codes
Appendix a Error Codes
2BH
A1H
Status Port Error Codes
Catastrophic Error Codes
Appendix a Error Codes Status Port Error Codes
Self-test Error Codes Diagnostic Command
Self-test Status Port Error Codes
8CH
B l e s a n d C o n n e c t o r s
Appendix B Cables and Connectors Introduction
Connector
Appendix B Cables and Connectors Scsi Connector
Cable Connector Pin-outs for the RF3886
Maximum Cable Length
VMEbus Connector Pinouts
Appendix B Cables and Connectors VMEbus Connector Pinouts
P1 Connector
P2 Connector
Retry
Appendix B Cables and Connectors
Specification s
Appendix C Specifications Introduction
Specifications
Appendix C Specifications
Specifications for the Rf3880
Appendix C Specifications 21020285 D User’s Guide
Fault s
Appendix D Defaults Introduction
Hardware Defaults
Appendix D Defaults Hardware Defaults
Hardware Defaults Jumpers
Defaults for Hardware Ports
Defaults
Appendix D Defaults
Command Defaults
TAG
Appendix D Defaults
S i g n D i f f e r e n c e s
Appendix E Design Differences Introduction
Features no longer Supported
Appendix E Design Differences Features no longer Supported
Scatter/Gather Operations
Byte and Word Swapping of Data
Status Port Error Codes and Test Flags
Appendix E Design Differences Implementation Differences
Width of Data Transfers on the VMEbus
Extended Scsi ID’s
Block Mode Transfers
Scsi Data Widths
How to Maximize Performance
Odd-byte Addressing
D e
Index
User’s Guide 21020285 D
PSI
Scsi ID
Index
Page
21020285 D