Manuals
/
Emerson
/
Computer Equipment
/
Computer Hardware
Emerson
MVME147
manual
A-22
Models:
MVME147
1
170
170
Download
170 pages
32.5 Kb
163
164
165
166
167
168
169
170
SCSI Bus Reset Packet
Command Table
Phase
Recover Buffer Data Packet
Features
TARGET Enable Custom Packet
Page 170
Image 170
A
COMMON COMMAND SET AND DISK OPERATION
A-22
Page 169
Page 170
Page 170
Image 170
Page 169
Page 170
Contents
Introduction
Features
GENERAL INFORMATION
Modes of Operation
MVME147 SCSI Firmware Entry Points
The SCSI firmware initializes these vectors
Equipment Supported
CONTROLLE
DEVICE
Devices Supported Under Common Command Set
DOCUMENT TITLE
Related Documentation
MOTOROLA
PUBLICATION NUMBER
Manual Terminology
GENERAL INFORMATION
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
Page
PHASE
CODE
Initiator Role Custom Packet
+$00
+$68
status Note
ASYNC
the firmware status
xxxxxxxx
xxxxxxxx
Page
CUSTOM SCSI PACKETS
Initiator Role Custom Packet
CUSTOM SCSI PACKETS
TARGET Enable Custom Packet
TARGET Enable Custom Packet
NOTES
Status from SCSI
TARGET Enable Custom Packet
TARGET Sequence Custom Packet
TARGET Sequence Custom Packet
CUSTOM SCSI PACKETS
TARGET Sequence Custom Packet WORDS $04 and $06
CUSTOM SCSI PACKETS
TARGET Sequence Custom Packet
CUSTOM SCSI PACKETS
RETRY COUNT. Not used by the TARGET role firmware
CUSTOM SCSI PACKETS
Control Flags
PACKET RETURN STATUS
Packet Return Status
SCSI
The command was retried retry count times
Bit 3 FM Filemark Bit 4 COMMAND RETRY
1 = Retries were performed Bit 5 COMMAND RE
Packet Return Status Bit 2 EOM End of media
PACKET RETURN STATUS
Codes
Table 3-1.Packet Status Codes
Intermediate Return
MEANING
Final Return Codes
Table 3-2.Packet Status Codes cont’d
SCSI Bus Reset Packet section in Chapter
Controller-Dependent
Request-Sense-Data Error-Class7 Codes
Table 3-3.Packet Status Codes cont’d
SCSI Status Returned in Status Phase
Table 3-4.Packet Status Codes cont’d
Request-Sense-Data Error-Class0 through 6 Codes
Table 3-5.Packet Status Codes cont’d
Page
PACKET RETURN STATUS
SCSI FIRMWARE INTERRUPT STRUCTURE
SCSI Firmware Interrupt Structure
SCSI FIRMWARE INTERRUPT STRUCTURE
SCSI ACTV
WRITING A DRIVER
SCSI_CMD
SCSI_INT
Interface Rules for the SCSI Firmware
Passing Commands to the SCSI Firmware
Building the Packet
Figure 5-1.SCSI Disk Driver Interface to VERSAdos
Interface Rules for Multiple Callers
WRITING A DRIVER
Care must be taken not to modify the contents of
WRITING A DRIVER
Interface Rules for the SCSI Firmware FUNNEL
WRITING A DRIVER
Interface Rules for the SCSI Firmware
WRITING A DRIVER
MOVE.W 2A2,D0
THE CODE BELOW HANDLES FINAL RETURN CODES
Interface Rules for a Single Caller
WRITING A DRIVER
TARGET ROLE ROUTINES
MVME147 SCSI Firmware Background
SCSI Versus SASI Rules
Custom Sequence Packet
Command Table
Script
Enabling TARGET Role
Enabling TARGET Role
Servicing the TARGET Requests
Servicing the TARGET Requests
TARGET ROLE ROUTINES
Servicing the TARGET Requests
TARGET ROLE ROUTINES
Servicing the TARGET Requests
TARGET ROLE ROUTINES
FUNCTION CODE
SCSI PACKETS
Table 7-1.SCSI Functions
DESCRIPTION
SCSI Functions cont’d
Read/Write Packet
Table
DISK and TAPE
Controller logical unit
in SG table, if zero
Old Packet Supported for Compatibility
+$12
in SG table, if zero
1 = link to next entryFor example $5 is
DMA Scatter/Gather Table Entry
|function code 3 bits
DMA MEMORY ADDRESS 32-BIT
COMMAND
COMMAND
Attach/Detach Packet all devices
CONTROLLER
Attach/Detach Packet all devices
SCSI PACKETS
+$1E
FM encoding, single
Controller type refer
xxxxxxxx
attributes byte offset
+$20
Single track density
Drive type 0 =
3½, 5¼,
Example for floppy
3½, 5¼
250K B/S Data
+$04
Minimum read
QIC-24
if this is set to 0, the
+$00
Reserved
Interrupt level
+$00
+$9E $00
Format Packet
Assign Alternate Sector Packet SCSI
+$0E
Assign Alternate Sector Packet SCSI
DEFECT LIST TYPE
0 Note 3,
Head Bytes from Index MSW Note
SCSI Bus Reset Packet
Controller logical unit
SCSI Controller Reset Packet
Erase Packet
+$12
Rewind Packet
Device logical unit
Read Block Limits Packet
SCSI PACKETS
where n = number of blocks or filemarks to Space
Status from SCSI
The table below shows the write filemarks packet
Write Filemarks Packet
Write Filemarks Packet
Controller logical unit
Verify CRC Packet
The controller must be in general or read mode
Tape Mode Select/Sense Packet
Tape Mode Select/Sense Packet
Number of tracks on
Inquiry Packet
+$00
Reserved
+$1A
Load/Unload Packet
+$14
Recover Buffer Data Packet
+$0C
Request Sense Data Packet
Controller logical unit
Check Status Packet
Open Packet
Open Packet
SCSI PACKETS
BYTE
COMMON COMMAND SET AND DISK OPERATION
BYTE OFFSET
BYTE OFFSET
ENTRY NUMBER
COMMON COMMAND SET AND DISK OPERATION
Send mode select command
COMMON COMMAND SET AND DISK OPERATION
FORMAT BITS
DEFECT LIST
DEFECT LIST TYPE
Mode Select Header
Block Descriptor
COMMON COMMAND SET AND DISK OPERATION
BYTE OFFSET
Block Descriptor
BYTE OFFSET
Mode Select Header
BYTE OFFSET
NOTES
BYTE OFFSET
BYTE OFFSET
VALUE
VALUE
Mode Select Command CDB
BYTE OFFSET
COMMENTS
Mode Select Header
COMMON COMMAND SET AND DISK OPERATION
BYTE OFFSET
Block Descriptor
Page code
BYTE OFFSET
BYTE OFFSET
BYTE OFFSET
TYPE
ATTRIBUTE FLAGS
MEDIA
ALL SECTORS
MEDIA
COMMON COMMAND SET AND DISK OPERATION
ATTRIBUTE FLAGS
TYPE
NOTES
Pin 2 and Pin 34 Definition for Low Density
PIN 34 CONTROL
Pin 2 and Pin 34 Definition for High Density
PIN 2 CONTROL
COMMENTS
A-22
Top
Page
Image
Contents