Motorola MVME197DP Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Pompes à eau Motorola MVME197DP. Motorola MVME197DP User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 157
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - SCSI Software User’s Manual

Single Board ComputersSCSI Software User’s Manual (SBCSCSI/D1)

Page 2 - Restricted Rights Legend

Add a Second Data Buffer to the t167 Configuration E-20Issue an INQIRY Command E-22Issue a Format Command E-23Issue Reads and Writes to a Disk Device

Page 3

splxSBCSCSI/D1 C-3CsplxNAMEsplx ÑRestore Interrupt Priority Level SYNOPSISUINT splx(level) UINT level; /* previous Interrupt Priority Le

Page 4

External RoutinesC-4 Single Board Computers SCSI Software UserÕs ManualCret_statNAMEret_stat ÑNotify User of Command Completion SYNOPSISvoid ret_stat(

Page 5 - Contents

(de)serialize_memory_accessSBCSCSI/D1 C-5C(de)serialize_memory_accessNAMEserialize_memory_access Ñ Enforce serialized access to I/O memorydeserialize_

Page 6

External RoutinesC-6 Single Board Computers SCSI Software UserÕs ManualCRETURN VALUEnoneERROR CONDITIONSnoneNOTESNo calls may be made to the SCSI Firm

Page 7

SBCSCSI/D1D-1DRETURNED ERRORSStatus FieldCommand status returned in the status field of siop_struc is subdivided into the following structure as extra

Page 8

Returned ErrorsD-2 Single Board Computers SCSI Software UserÕs ManualDSS_CM_GOOD (0x04)This is the SCSI status of CONDITION MET. This status is retur

Page 9

status_key Error CodesSBCSCSI/D1 D-3DSS_RSVCON (0x18)This is the SCSI status of RESERVATION CONFLICT. This status is returned whenever an initiator a

Page 10

Returned ErrorsD-4 Single Board Computers SCSI Software UserÕs ManualDsiop_key Error CodesFor the field siop_key, the following error codes are listed

Page 11 - List of Figures

siop_key Error CodesSBCSCSI/D1 D-5DSI_ABRTTAG (0x05)This status is returned only for target mode commands outstanding to the Firmware. It indicates t

Page 12 - List of Tables

Returned ErrorsD-6 Single Board Computers SCSI Software UserÕs ManualDSI_CLK2FAST (0x09)This error is returned during Firmware initialization. The in

Page 13

List of Figures Firmware/User Interaction Block Diagram 2-3Debug Trace Memory Structure 5-3Directory Structure: bin , src , and lib Files A-2Dir

Page 14 - INTRODUCTION

siop_key Error CodesSBCSCSI/D1 D-7DSI_BERRCMD (0x0F)This status if returned if a bus error occurs when the SIOP is attempting to access the local bus

Page 15 - Conventions

Returned ErrorsD-8 Single Board Computers SCSI Software UserÕs ManualDSI_UPC (0x12)This error is returned when the Firmware detected an unexpected pha

Page 16 - Related Documentation

siop_key Error CodesSBCSCSI/D1 D-9DSI_PVE04 (0x17)This protocol violation error is returned when a physically threaded target device does not transiti

Page 17 - Definition of SCSI

Returned ErrorsD-10 Single Board Computers SCSI Software UserÕs ManualDSI_BADPATCH (0x1E)This error is returned during Firmware initialization. The S

Page 18 - SIOP Firmware

SBCSCSI/D1E-1Et167 TEST PROGRAMIntroductionThis appendix describes t167, a test program that can be used with the SBC SCSI Software. The test program

Page 19

t167 Test ProgramE-2 Single Board Computers SCSI Software UserÕs ManualE Figure E-1. t167 Submenus and FunctionsSDLDEVELOPMENTTOOLS MENU(2) sdldtSDL

Page 20 - OVERVIEW

Menu Item DescriptionsSBCSCSI/D1 E-3EMenu Item DescriptionsMain Menut167 contains five major menu items which can be selected. In addition to these,

Page 21 - Firmware Interface

t167 Test ProgramE-4 Single Board Computers SCSI Software UserÕs ManualESCSI Driver Library Development ToolsThis submenu provides access to a number

Page 22 - SBCSCSI/D1

Menu Item DescriptionsSBCSCSI/D1 E-5EAllocate New Control Structure SetSeveral structures are used to pass parameters to the SDL and SIOP Firmware. O

Page 23

t167 Test ProgramE-6 Single Board Computers SCSI Software UserÕs ManualESDL and NCR Firmware AddressesThe entry points into the SDL and SIOP Firmware

Page 24 - SBCSCSI/D1 2-5

xiii List of Tables C Call Interface 3-168K Assembler Interface 3-288K Assembler Interface 3-2Firmware Display Frame Map 5-10Firmware Display Data Ma

Page 25 - Functional Overview

Menu Item DescriptionsSBCSCSI/D1 E-7ESCSI Driver Library Development Tools MenuThis submenu provides access to a number of functions which are useful

Page 26 - SBCSCSI/D1 2-7

t167 Test ProgramE-8 Single Board Computers SCSI Software UserÕs ManualEThe display commands can produce large amounts of output data. Listing contro

Page 27 - Interrupt Mechanism

Menu Item DescriptionsSBCSCSI/D1 E-9EIssue sdl_write CommandThe SDL is entered through the sdl_write entry point. Unless specified on the command lin

Page 28 - SBCSCSI/D1 2-9

t167 Test ProgramE-10 Single Board Computers SCSI Software UserÕs ManualEDisplay Data Buffer ContentsThe contents of the data buffer pointed to by the

Page 29 - Message Handling

Menu Item DescriptionsSBCSCSI/D1 E-11ENOTE: Command may be issued prior to the first attach. Table E-1. SDL Direct Access Commandscmd hex code arg

Page 30 - SBCSCSI/D1 2-11

t167 Test ProgramE-12 Single Board Computers SCSI Software UserÕs ManualENOTE: Command may be issued prior to the first attach. Table E-2. SDL Supp

Page 31

Menu Item DescriptionsSBCSCSI/D1 E-13ENCR Firmware Development Tools MenuThis submenu provides access to a number of functions which are useful when w

Page 32 - FIRMWARE INTERFACE

t167 Test ProgramE-14 Single Board Computers SCSI Software UserÕs ManualEThe display commands can produce large amounts of output data. Listing contr

Page 33

Menu Item DescriptionsSBCSCSI/D1 E-15EData buffer contents display example:offset is number of bytes from beginning of buffer at which buffer display

Page 34

t167 Test ProgramE-16 Single Board Computers SCSI Software UserÕs ManualEMenu ExpansionNew menus are added by creating a uniquely-named menu structure

Page 36 - SBCSCSI/D1 3-5

Adding SDL Tools Support for New DevicesSBCSCSI/D1 E-17E 3. Edit "file.c", altering all parameters required to support the new device as req

Page 37

t167 Test ProgramE-18 Single Board Computers SCSI Software UserÕs ManualEExample Use of t167This section describes the typical use of t167. Once it i

Page 38 - SBCSCSI/D1 3-7

Example Use of t167SBCSCSI/D1 E-19E2. The user MUST select menu item 2 (sdlinit) prior to issuing any other commands to the SDL. Answer with a <CR

Page 39

t167 Test ProgramE-20 Single Board Computers SCSI Software UserÕs ManualESDL Tools --> 5Control structure [0] (0):sdl_cntrl status: 0x0SDL Tools --

Page 40 - SBCSCSI/D1 3-9

Example Use of t167SBCSCSI/D1 E-21E3. At the t167 conÞguration menu, select item 2, to create a new data buffer. t167 Configuration Item Name

Page 41

t167 Test ProgramE-22 Single Board Computers SCSI Software UserÕs ManualEIssue an INQIRY Command1. To issue an SDL INQIRY command to the device, build

Page 42

Example Use of t167SBCSCSI/D1 E-23E3. Select menu item 7 to display the data buffer holding the INQIRY data: SCSI Driver Library Development Tools Ite

Page 43

t167 Test ProgramE-24 Single Board Computers SCSI Software UserÕs ManualE1. Select menu item 1 to set up the command structure for a format command.

Page 44 - NCR BUILD TOOLS

Example Use of t167SBCSCSI/D1 E-25E1. Use the q command to go from the current menu to the main t167 menu and select menu item 1, t167 cnfg. 2. In th

Page 45 - NCR Build Tools

t167 Test ProgramE-26 Single Board Computers SCSI Software UserÕs ManualE4. Issue the go (G) command to the MVME167/187 ROM Debugger and hit an h to r

Page 46

SBCSCSI/D1 1-1 1 INTRODUCTION General Information This chapter explains what SCSI is and what the SBC SCSI Software does to support SCSI-related hard

Page 47

Example Use of t167SBCSCSI/D1 E-27E7. Press the ABORT switch on the front panel and use the MVME167/187 ROM Debugger block Þll (BF) command to re-writ

Page 48

t167 Test ProgramE-28 Single Board Computers SCSI Software UserÕs ManualEUse of t167 with the NCR FirmwareUse of t167 with the NCR Firmware is describ

Page 49 - SEE ALSO

Example Use of t167SBCSCSI/D1 E-29ESend SCSI INQUIRY to the DeviceBuilding commands at the Firmware interface level requires the construction of an si

Page 50

t167 Test ProgramE-30 Single Board Computers SCSI Software UserÕs ManualE UCHAR msg_out[6] ... (0): UCHAR msg_out[7] ...

Page 51

Example Use of t167SBCSCSI/D1 E-31E3. Send the command to the Firmware by selecting menu item 3. F/W Tools --> 3Control structure [0] (0):siop_cmd

Page 52 - SPECIAL TOPICS

t167 Test ProgramE-32 Single Board Computers SCSI Software UserÕs ManualE Mode Sense ParametersThis exercise shows how to get the current device'

Page 53 - Debug Trace Memory Structure

Example Use of t167SBCSCSI/D1 E-33E2. Select menu item 6 to display the command structure. F/W Tools --> 5Control structure [0] (0):Address of sio

Page 54 - Firmware Debug Logging

t167 Test ProgramE-34 Single Board Computers SCSI Software UserÕs ManualEIssue a Read Command to the Device1. Hit the ABORT switch on the front panel

Page 55

Example Use of t167SBCSCSI/D1 E-35E3. Build the command structure for a 10-byte read. F/W Tools --> 1Control structure [0] (0): UINT user_define

Page 56

t167 Test ProgramE-36 Single Board Computers SCSI Software UserÕs ManualE4. Select menu item 5 to display the command structure. F/W Tools --> 5Co

Page 57 - 167-Bug>

Introduction 1-2 Single Board Computers SCSI Software UserÕs Manual1 Conventions The conventions used in this document are: bold for user input that

Page 58

SBCSCSI/D1GL-1Term DefinitionCDB (NOTE) Command Descriptor Block - A defined SCSI structure used to communicate commands from an initiator to a target

Page 59 - Special Topics

GlossaryGL-2 Single Board Computers SCSI Software UserÕs ManualGLOSSARYTermDefinitionSCSI (NOTE) Small Computer System Interface - An ANSI-defined int

Page 60 - Firmware Debug Log Map

IN-3IndexSymbols(de)serialize_memory_access C-5Numerics53C710 1-4, 2-1Aadd a second data buffer to the t167 con-figuration E-20adding SDL tools suppor

Page 61

IndexIN-4INDEXfirmware display 5-11data pointer or scatter/gather list pointerB-14data reference relocation 4-1debug initializationC 3-8debug loggingc

Page 62

IN-5INDEXGgeneral description of the SCSI software1-4general information 1-1glossary GL-1Hhelp E-4IIDOV 5-12INIT 5-12initializationC debug 3-8initiali

Page 63

IndexIN-6INDEXMPU code 1-4MREJ 5-13MVME167Bug 1-3MVME187Bug 1-3Nn710c68k 4-7n710c80k 4-7n710p68k 4-4n710p80k 4-4NCR 53C710 1-4, 2-1NCR build tools 4-1

Page 64

IN-7INDEXSCSI SCRIPTS data reference relocation4-1SCSI softwaregeneral description 1-4SCSI status GL-2SCSI-2 1-4, GL-2SCSIRST (command control bit 8)

Page 65

IndexIN-8INDEXSS_I_GOOD (0x10) D-2SS_QFULL (0x28) D-3SS_RSVCON (0x18) D-3status B-15, E-4status field D-1status return function pointer B-14status_key

Page 66

Related Documentation SBCSCSI/D1 1-31 Related Documentation The publications are applicable to the SBCs and may provide additional help- ful informat

Page 67 - Cache Coherency

Introduction 1-4 Single Board Computers SCSI Software UserÕs Manual1 The following publications are available from the sources indicated. ANSI Small

Page 68 - Target Mode

General Description of the SCSI Software SBCSCSI/D1 1-51 SIOP Firmware The SIOP Firmware provides these unique features and facilities: ❏ Handles al

Page 69

Introduction 1-6 Single Board Computers SCSI Software UserÕs Manual1

Page 70 - DIRECTORY STRUCTURE

Notice While reasonable efforts have been made to assure the accuracy of this document, Motorola, Inc. assumes no liability resulting from any omissi

Page 71 - 1180 9311

SBCSCSI/D1 2-1 2 OVERVIEW Introduction The following chapter is an introduction to the workings of the SIOP Firmware which is used to control the SCS

Page 72 - SBCSCSI/D1 A-3

Overview 2-2 Single Board Computers SCSI Software UserÕs Manual2 Firmware Interface The SIOP Firmware has several externally accessible routines, or

Page 73 - Above directories

Division of Functional Responsibilities SBCSCSI/D1 2-32 Division of Functional Responsibilities The Firmware and the user have definite and separate

Page 74 - STRUCTURES

Overview 2-4 Single Board Computers SCSI Software UserÕs Manual2 Primary Functions of the Firmware The Firmware is designed to manage the SCSI bus p

Page 75 - Table B-1. Command Structure

Division of Functional ResponsibilitiesSBCSCSI/D1 2-52❏ Error Recovery The Firmware supports only minimal error recovery. When an error condition is

Page 76 - Command Control

Overview2-6 Single Board Computers SCSI Software UserÕs Manual2Functional OverviewThe following sections describe the functional attributes of the Fir

Page 77

Functional OverviewSBCSCSI/D1 2-72The first interrupt is generated by the SCRIPTS to notify the MPU code that the SIOP is not busy with any SCSI bus a

Page 78 - SBCSCSI/D1 B-5

Overview2-8 Single Board Computers SCSI Software UserÕs Manual2After the command request completes, the MPU code updates some fields in the command st

Page 79

Functional OverviewSBCSCSI/D1 2-92SCSI Gross ErrorThis interrupt is generated when the SIOP detects an illegal condition in the SIOP bus control logic

Page 80 - SBCSCSI/D1 B-7

Overview2-10 Single Board Computers SCSI Software UserÕs Manual2Single Step This interrupt is generated only in a special diagnostic mode enabled by r

Page 81

Preface The Single Board Computers SCSI Software UserÕs Manual describes the SCSI Software, a building block for SCSI services. It is intended for de

Page 82

Functional OverviewSBCSCSI/D1 2-112Linked CMD CompleteA linked command complete INT instruction interrupt is generated. This holds the bus in the MSG

Page 83

Overview2-12 Single Board Computers SCSI Software UserÕs Manual2

Page 84 - Message-In Length

SBCSCSI/D13-13FIRMWARE INTERFACEIntroductionThis chapter defines the interface to the SIOP Firmware. The entry points, input parameters, and return p

Page 85 - Message-Out Length

Firmware Interface3-2 Single Board Computers SCSI Software UserÕs Manual3Table 3-2. 68K Assembler InterfaceName Input RegistersOutput Registerssiop_i

Page 86 - Data Count

siop_init()SBCSCSI/D1 3-33siop_init()NAMEsiop_init ÑInitialize the SIOP Firmware SYNOPSIS#include "scsi.h" /* SCSI specific definitions */ #

Page 87 - Link Pointer

Firmware Interface3-4 Single Board Computers SCSI Software UserÕs Manual3ERROR CONDITIONSA successful call to siop_init() must be executed before any

Page 88 - SCSI Queue Tag

siop_init()SBCSCSI/D1 3-53NOTES❏ The Firmware needs to be initialized only once but may be initialized many times as long as there are no outstanding

Page 89 - Work Area

Firmware Interface3-6 Single Board Computers SCSI Software UserÕs Manual3siop_cmd()NAMEsiop_cmd ÑSIOP Firmware command call SYNOPSIS#include "scs

Page 90 - Scatter/Gather List

siop_int()SBCSCSI/D1 3-73siop_int()NAMEsiop_int ÑSIOP interrupt handler SYNOPSIS#include "scsi.h" /* SCSI specific definitions */ #include &

Page 91

Firmware Interface3-8 Single Board Computers SCSI Software UserÕs Manual3sdt_tinit()NAMEsdt_tinit ÑInitialize the SCSI debug trace log SYNOPSIS#includ

Page 92

Motorola ¨ and the Motorola symbol are registered trademarks of Motorola, Inc.SYSTEM V/68, SYSTEM V/88, VERSAdos, and VMEexec are trademarks of Moto

Page 93

sdt_tinit()SBCSCSI/D1 3-93Each time the user changes the location of the siopdata structure (changes the value of siopdatap) for a call to siop_init()

Page 94 - Pointer to Relocation Table

Firmware Interface3-10 Single Board Computers SCSI Software UserÕs Manual3sdt_alloc()NAMEsdt_alloc ÑAllocate a SCSI debug trace entry SYNOPSIS#include

Page 95

sfw_getrev()SBCSCSI/D1 3-113sfw_getrev()NAMEsfw_getrev Ñ Return Firmware Revision StringSYNOPSIS#include "scsi.h" /* SCSI specific definitio

Page 96 - Ending Address

Firmware Interface3-12 Single Board Computers SCSI Software UserÕs Manual3NOTESA max_size of 32 bytes should be adequate for all available data. If yo

Page 97

SBCSCSI/D14-14NCR BUILD TOOLSIntroductionThe NCR build tools are a set of utilities provided to compile NCR SCSI SCRIPTS source modules. The utilitie

Page 98 - EXTERNAL ROUTINES

NCR Build Tools4-2 Single Board Computers SCSI Software UserÕs Manual4Example Usage of the NCR Build UtilitiesWhat follows is an extract from a Makefi

Page 99

Example Usage of the NCR Build UtilitiesSBCSCSI/D1 4-34Note With the following explanations, refer to the numberedcolumns to the left of the Ò.n.oÓ ma

Page 100 - ERROR CONDITIONS

NCR Build Tools4-4 Single Board Computers SCSI Software UserÕs Manual4n710p68k (n710p80k)NAMEn710p68k (n710p80k) ÑPreprocessor for NCR SCSI SCRIPTS fi

Page 101

n710p68k (n710p80k)SBCSCSI/D1 4-54The script_ptr[] array contains pointers to the starting location of each SCRIPTS declared with a PROC n710c68k (n71

Page 102 - (de)serialize_memory_access

NCR Build Tools4-6 Single Board Computers SCSI Software UserÕs Manual4All SCRIPTS instructions must be contained within a single source module. The i

Page 103

Contents General Information 1-1Organization of This Manual 1-1Conventions 1-2Related Documentation 1-3DeÞnition of SCSI 1-4General Description of th

Page 104 - RETURNED ERRORS

n710c68k (n710c80k)SBCSCSI/D1 4-74n710c68k (n710c80k)NAMEn710c68k (n710c80k) ÑCompiler for NCR SCSI SCRIPTS files SYNOPSISn710c68k file [options] [out

Page 105 - SS_CM_GOOD (0x04)

NCR Build Tools4-8 Single Board Computers SCSI Software UserÕs Manual4-o outfile This option determines if a C-compilable data file is generated and i

Page 106 - SS_QFULL (0x28)

SBCSCSI/D15-15SPECIAL TOPICSIntroductionThis chapter covers topics which most users will not use in the normal course of SCSI operation. It is provid

Page 107 - SI_ABRT (0x04)

Special Topics5-2 Single Board Computers SCSI Software UserÕs Manual5After logging is enabled, a user calls sdt_alloc() to get a pointer to the next e

Page 108 - SI_DATAUR (0x08)

Firmware Debug LoggingSBCSCSI/D1 5-35Figure 5-1. Debug Trace Memory Structure sdt_tvalue.end -> High MemoryFirst Log Entry |

Page 109

Special Topics5-4 Single Board Computers SCSI Software UserÕs Manual5ExampleThis section shows, through example, how to enable debug logging, how to r

Page 110 - SI_UDC (0x11)

Firmware Debug LoggingSBCSCSI/D1 5-554. Clear the debug trace memory area using the BF command. 167-Bug>bf 400000 800000 0 Effective address: 0040

Page 111 - SI_BUSHUNG (0x13)

Special Topics5-6 Single Board Computers SCSI Software UserÕs Manual5The following procedure was adhered to in the above code. 1. If the global value

Page 112 - SBCSCSI/D1 D-9

Firmware Debug LoggingSBCSCSI/D1 5-75have been extra bytes in which a trace entry would not fit. sdt_alloc() uses this field to determine the bounds

Page 113 - SI_BADPARAM (0x21)

Special Topics5-8 Single Board Computers SCSI Software UserÕs Manual5167-Bug> 007FD1A0 4E43 5220 5245 534C 8100 0000 0000 0000 NCR RESL...

Page 114 - Overview

Debug Trace Memory Structure 5-2Example 5-4User Level Setup 5-4Code Level Setup 5-5Debug Trace Display 5-6Firmware Debug Log Map 5-9Firmware Debug Lo

Page 115 - 1183 9308

Firmware Debug LoggingSBCSCSI/D1 5-95Firmware Debug Log MapThe following section explains the fields within a Firmware trace entry. The generic trace

Page 116 - Menu Item Descriptions

Special Topics5-10 Single Board Computers SCSI Software UserÕs Manual5The mapping table below shows the relative placement of all structures and struc

Page 117

Firmware Debug LoggingSBCSCSI/D1 5-115The mapping table below shows which fields are valid for the given Firmware debug logging entry point. The entr

Page 118

Special Topics5-12 Single Board Computers SCSI Software UserÕs Manual5DISCstructures logged- ncr_siop, siop_cns, siop_struc description- The SCRIPTS r

Page 119

Firmware Debug LoggingSBCSCSI/D1 5-135LCMPstructures logged- ncr_siop, siop_cns, siop_struc description- The SCRIPTS received a linked command complet

Page 120

Special Topics5-14 Single Board Computers SCSI Software UserÕs Manual5RESLstructures logged- ncr_siop, siop_cns, siop_struc description- A valid resel

Page 121 - <control_structure>

Use of the Firmware After Use by the SBC ROM DebuggerSBCSCSI/D1 5-155XMSGstructures logged- ncr_siop, siop_cns, siop_struc description- The SCRIPTS re

Page 122

Special Topics5-16 Single Board Computers SCSI Software UserÕs Manual5Cache CoherencyThe user is responsible for making sure all of the memory used by

Page 123

Target ModeSBCSCSI/D1 5-175Target Mode(THIS INFORMATION WILL BE AVAILABLE ONLY IN A FUTURE RELEASE.)

Page 124

Special Topics5-18 Single Board Computers SCSI Software UserÕs Manual5

Page 125

Bit 16 -- DEVRST B-5Bit 15 -- MIBUF B-6Bit 14 -- MOBUF B-6Bit 13 -- NO_ATN B-6Bit 10 -- SIOPADD B-7Bit 9 -- SIOPINT B-7Bit 8 -- SCSIRST B-7Bit 7 -- T

Page 126

SBCSCSI/D1A-1ADIRECTORY STRUCTUREMiscellaneous files used for the SCSI Software for the compiler and preprocessor binaries are mentioned in Chapter 4.

Page 127

Directory StructureA-2 Single Board Computers SCSI Software UserÕs ManualAFigure A-1. Directory Structure: bin, src, and lib FilesFigure A-2. Direc

Page 128

SBCSCSI/D1 A-3AFigure A-3. Directory Structure: sdl Files (sheet 1 of 2)devices/archive.ccontinued onnext sheetsbc_scsi/1181 9308sdl/ (NOTE)ccsdev.c

Page 129 - Menu Expansion

Directory StructureA-4 Single Board Computers SCSI Software UserÕs ManualAFigure A-3. Directory Structure: sdl Files (sheet 2 of 2)dadatch.ccontinue

Page 130

SBCSCSI/D1B-1BSIOP FIRMWARESTRUCTURESIntroductionThis appendix lists all of the structures which are external to or defined by the SIOP Firmware and w

Page 131 - Example Use of t167

SIOP Firmware StructuresB-2 Single Board Computers SCSI Software UserÕs ManualB Table B-1. Command StructureByte Offset (hex) Parameter00 User ID04 C

Page 132 - SBCSCSI/D1 E-19

siop_struc (Command Structure)SBCSCSI/D1 B-3BUser IDThe user ID field is for user command logging. This field is not examined by the Firmware nor is

Page 133

SIOP Firmware StructuresB-4 Single Board Computers SCSI Software UserÕs ManualBBit 30 -- TARGETIf the INTATR bit is not set and the TARGET bit is set

Page 134 - SBCSCSI/D1 E-21

siop_struc (Command Structure)SBCSCSI/D1 B-5BAnother use of this bit is when sending a request sense command in response to a CHECK status received fo

Page 135

SIOP Firmware StructuresB-6 Single Board Computers SCSI Software UserÕs ManualBBit 15 -- MIBUFinitiator mode If set, defines the message-in buffer poi

Page 136 - SBCSCSI/D1 E-23

splhi C-2splx C-3ret_stat C-4(de)serialize_memory_access C-5Status Field D-1status_key Error Codes D-1SS_GOOD (0x00) D-1SS_CHECK (0x02) D-1SS_CM_GOOD

Page 137

siop_struc (Command Structure)SBCSCSI/D1 B-7BBit 10 -- SIOPADDconfig mode If set, the Firmware sets the SCSI address at which the SIOP resides. The u

Page 138 - SBCSCSI/D1 E-25

SIOP Firmware StructuresB-8 Single Board Computers SCSI Software UserÕs ManualBBit 6 -- LINKinitiator modeIf set, command in the CDB has the link bit

Page 139

siop_struc (Command Structure)SBCSCSI/D1 B-9BBit 0 -- SYNCinitiator modeIf set, the Firmware initiates negotiations for synchronous data transfers. T

Page 140 - SBCSCSI/D1 E-27

SIOP Firmware StructuresB-10 Single Board Computers SCSI Software UserÕs ManualBDevice Address or SIOP Interrupt Levelinitiator modeThe user initializ

Page 141 - SCSI address (7):

siop_struc (Command Structure)SBCSCSI/D1 B-11BCDB Length or Queue Depthinitiator modeThe CDB length field contains the length of the CDB, in bytes, th

Page 142

SIOP Firmware StructuresB-12 Single Board Computers SCSI Software UserÕs ManualBMessage-In Buffer PointerThis field may be modified by the Firmware.

Page 143

siop_struc (Command Structure)SBCSCSI/D1 B-13BMessage-Out Buffer PointerThis field may be modified by the Firmware. initiator mode If the MOBUF bit i

Page 144 - SBCSCSI/D1 E-31

SIOP Firmware StructuresB-14 Single Board Computers SCSI Software UserÕs ManualBData Pointer or Scatter/Gather List PointerThis field may be modified

Page 145

siop_struc (Command Structure)SBCSCSI/D1 B-15BStatusinitiator modeThe status field contains status concerning the target device, Firmware, and SCSI bu

Page 146 - SBCSCSI/D1 E-33

SIOP Firmware StructuresB-16 Single Board Computers SCSI Software UserÕs ManualBWork Areainitiator modeThe work area fields are used by the Firmware t

Page 147

Overview E-1Menu Item Descriptions E-3Main Menu E-3t167 Configuration E-3SCSI Driver Library Development Tools E-4NCR Firmware Development Tools E-4S

Page 148

Scatter/Gather ListSBCSCSI/D1 B-17BScatter/Gather ListThe scatter/gather list is initialized by the user and allocated to the Firmware with the comman

Page 149

SIOP Firmware StructuresB-18 Single Board Computers SCSI Software UserÕs ManualBsiop_init (Firmware Initialization Structure)This is the data structur

Page 150 - Glossary

siop_init (Firmware Initialization Structure)SBCSCSI/D1 B-19BThe following table lists the SCLK rate on Motorola VMEmodules: snoopmodeThe SIOP has sno

Page 151

SIOP Firmware StructuresB-20 Single Board Computers SCSI Software UserÕs ManualBscript_ptrThe user initializes this field to the globally defined valu

Page 152

Initialization Structure (depreciated version)SBCSCSI/D1 B-21BInitialization Structure (depreciated version)The INITPARS structure is archaic. It is

Page 153

SIOP Firmware StructuresB-22 Single Board Computers SCSI Software UserÕs ManualBPointer to Script Pointer ArraySame definition as in the INIT_TYPE_1 s

Page 154

sdt_tinit (Debug Logging Initialization Structure)SBCSCSI/D1 B-23Bsdt_tinit (Debug Logging Initialization Structure)Some of the initialization values

Page 155

SIOP Firmware StructuresB-24 Single Board Computers SCSI Software UserÕs ManualB

Page 156

SBCSCSI/D1C-1CEXTERNAL ROUTINESIntroductionThe SCSI Software requires services to be provided external to the SCSI Software itself. These services mu

Page 157

External RoutinesC-2 Single Board Computers SCSI Software UserÕs ManualCsplhiNAMEsplhi ÑMask interrupts SYNOPSISUINT splhi() DESCRIPTIONThe splhi rout

Commentaires sur ces manuels

Pas de commentaire