Information technology — Intelligent Peripheral Interface — Part 3: Device generic command set for magnetic and optical disk drives

La présente partie de l'ISO/CEI 9318 décrit l'interface de niveau logique 3 (niveau générique) pour les unités de disques magnétiques et optiques. Voir l'article 6 de l'ISO/CEI 9318-1 pour une explication des niveaux. Les caractéristiques physiques, électriques et celles de la configuration ainsi que les protocoles de transmission de cette interface sont conformes à l'ISO/CEI 9318-1. L'interface est capable de gérer les vitesses de transfert de données de 0 à 10 Moctets/s, en fonction de la classe du contrôleur et du récepteur. L'objet de la présente partie de l'ISO/CEI 9318 est de faciliter le développement et l'utilisation d'une interface intelligente qui permet la connexion à un contrôleur de périphériques de plusieurs types tels que disques, bandes, communications. La présente partie de l'ISO/CEI 9318 ne remplace pas des normes existantes mais apporte un complément aux autres normes d'interface pour périphériques intelligents (IPI) (voir article 2). La présente partie de l'ISO/CEI 9318 fournit une définition d'une partie générique appareil, d'une famille de normes appelées «interface pour périphériques intelligents (IPI)», interface parallèle tous usages, à hautes performances. L'intention de IPI est d'isoler l'hôte (CPR), autant du point de vue matériel que logiciel, des changements dans les périphériques, en fournissant un jeu de commandes 1607 de «fonctions génériques» permettant la connexion de multiples types de périphériques (disques, bandes, imprimantes, communications). Pour assouplir la transition entre la méthode actuelle et l'approche générique, IPI supporte des jeux de commandes spécifiques à un appareil, comme celui-ci, pour aider à établir une passerelle entre les deux approches. Pour réaliser cet ensemble d'objectifs, la définition de IPI inclut des jeux de commandes spécifiques appareil et génériques appareil, utilisant tous les deux le même «bus» commun. Le jeu de commandes spécifiques appareil fournit : des

Technologies de l'information — Interface intelligente pour périphériques — Partie 3: Jeu de commandes génériques appareil pour les disques magnétiques et optiques

General Information

Status
Published
Publication Date
19-Dec-1990
Current Stage
9093 - International Standard confirmed
Completion Date
13-Jul-2018
Ref Project

Buy Standard

Standard
ISO/IEC 9318-3:1990 - Information technology -- Intelligent Peripheral Interface
English language
250 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL EOIIEC
STANDARD
9318-3
First edition
1990-12-15
Information technology - Intelligent Peripheral
Interface
Part 3:
Device generic command set for magnetic and optical
disk drives
Technologies de Fin formation - Interface pour les pe’riph&iques in telligents -
Partie 3: Jeu de commandes ghkiques appareil pour les disques magnktiques et
op tiques
- XZZI
= =
= =
=
=
= ZZ
q =
5
c
c =
=
E
L
f ZZ
=
iE% Reference number
-XI==
:E
ISO/IEC 9318-3 : 1990 (E)

---------------------- Page: 1 ----------------------
ISO/IEC 9318-3 : 1990 (E)
Contents
Page
xxvii
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxviii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
2 Normative reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e . . . . . . . . . . . . . . . .
3
..................................................
3 Definitions and conventions
.............................................................. 3
3.1 Definitions
5
3.2 Conventions .
................................................ 6
4 Logical interface characteristics
6
4.1 Operations .
6
4.11 Commands .
6
4.1.1.1 Command types .
6
4.1.1.2 Command stacking .
6
4.1.1.2.1 Individual .
7
4.1.1.2.2 Queued .
7
4.1.1.3 Command execution order .
4.1.2 Operation responses . 8
4.1.2.1 Interrupts . 8
9
4.1.2.2 Response types .
9
4.1.2.2.1 Command completion response .
4.1.2.2.2 Transfer Notification Response (optional) . 9
4.1.2.2.3 Asynchronous response . 9
........................................ 9
4.1.2.2.4 Imbedded data response (optional)
...................................................... 9
4.1.2.3 Response handling
................................ 10
4.1.3 Physical interface error recovery considerations
................................ 10
4.1.3.1 Recovery from unsuccessful Slave Status octet
............................ 10
4.1.3.2 Recovery from bad parity on the Slave Status octet
...................................................... 11
4.2 Operation sequences
....................................................... 11
4.2.1 Slave procedures
11
4.2.2 Basic steps .
........................................ 11
4.2.2.1 Transmit Command packet to slave
........................................................ 12
4.2.2.2 Poll interrupts
4.2.2.3 Receive Response packet from slave . 12
................................... 12
4.2.2.4 Transfer of data between master and slave
13
4.2.3 Operation sequence examples .
.......................... 13
4.2.3.1 Example of facility selection and individual commands
............................ 13
4.2.3.2 Example of facility selection and queued commands
14
4.2.3.3 Example of slave selection. .
............................ 14
4.2.3.4 Example of slave selection and slave control of Bus
15
4.3 Multiplexed data transfers (optional) .
15
4.3.1 Physical interface Pause and Continue (optional) .
15
4.3.2 Slave pause and master Continue .
16
4.3.2.1 Implicit continue .
16
4.3.2.2 Explicit continue .
16
4.3.3 Slave control of Pause and Continue .
16
4.3.4 Master control of Pause and Continue .
17
4.3.5 Uses of multiplexing .
17
4.3.5.1 One paused transfer per facility .
0 ISO/IEC 1990
All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
ISOAEC Copyright Office o Case postale 56 l CH- 1211 Geneve 20 l Switzerland
Printed in Switzerland
Device Generic Command Set for Magnetic and Optical Disk Drives
ii

---------------------- Page: 2 ----------------------
ISO/IEC 9318-3 : 1990 (E)
17
............................................
4.3.5.2 One paused transfer per slave
17
........................................
4.3.5.3 Multiple paused transfers per slave
17
......................................................
4.3.6 Anticipated pause
17
...................................................
4.3.6.1 Master stays selected
18
......................................................
4.3.6.2 Master deselects
18
...........................................
4.3.7 Unanticipated pauses by the slave
18
.........................................
4.3.8 Unanticipated pauses by the master
...................................... 18
4.3.9 Multiplexed transfer mode identification
18
4.4 Data groupings .
19
.........................................................
4.4.1 PhysicalBlocks
19
...........................................................
4.4.2 DataBlocks
19
4.4.3 Extents .
19
4.4.4 Partitions .
20
.................................................
4.4.4.1 Slave-defined partitions
....................................................... 20
4.4.4.1.1 Data partition
................................................ 20
4.4.4.1.2 Maintenance partitions
................................................ 20
4.4.4.2 Master-defined partitions
20
......................................................
4.4.4.2.1 Data partitions
20
................................................
4.4.4.2.2 Maintenance partitions
..................................................... 20
4.4.5 AIternate data areas
20
4.4.6 Physical groups .
21
................................................
4.5 Media addressing definitions
21
.....................................................
4.5.1 Absolute addressing
21
......................................................
4.5.2 Physical addressing
22
......................................................
4.5.3 Logical addressing
..................................... 22
4.5.4 Media defect management considerations
23
..............................................
4.6 Interface addressing definitions
23
.......................................................
4.6.1 Actual Addresses
23
.....................................................
4.6.2 Selection Addresses
23
....................................................
4.6.3 Command Addresses
24
........................................................
4.6.4 Facility Address
24
.............................................
4.6.5 Synonym Addresses (optional)
24
................................................
4.6.6 Alias Addresses (optional)
25
.....................................................
4.6.7 Partition parameters
25
........................................
4.6.8 Communication addresses (optional)
26
.......................................................
4.6.9 Address examples
26
................................................
4.7 Slave and facility conditions
27
.....................................................
4.7.1 Interface conditions
27
..........................................................
4.7.1.1 P-Available
27
.......................................................
4.7.1.2 Not P-Available
27
..........................................................
4.7.1.3 Operational
28
......................................................
4.7.1.4 Not Operational
28
4.7.1.5 P-Busy .
28
..........................................................
4.7.1.6 Not P-Busy
28
4.7.1.7 L-Available .
28
.......................................................
4.7.1.8 Not L-Available
28
..............................................................
4.7.1.9 L-Busy
28
.........................................................
4.7.1.10 Not L-Busy
28
......................................................
4.7.2 General conditions
28
4.7.2.1 Active .
28
4.7.2.2 Inactive .
29
4.7.2.3 Status Pending .
29
4.7.2.4 Reset .
29
........................................................
4.7.3 Operating status
.................................................. 30
4.8 Multiple ports (optional)
30
4.8.1 Slave switching .
....................................................... 31
4.8.1.1 Physical switch.
31
4.8.1.2 Logical switch .
32
4.8.1.3 Mixed switch types .
32
.......................................................
4.8.2 Facility switching
. . .
111
Device Generic Command Set for Magnetic and Optical Disk Drives

---------------------- Page: 3 ----------------------
ISO/IEC 9318-3 : 1990 (E)
4.8.3 Slave static switching
33
....................................................
4.8.3.1 Disablingaslaveport
.................................................. 33
4.8.3.2 Enabling a slave port
33
...................................................
4.8.4 Facility static switching
33
...................................................
4.8.4.1 Disabling a facility 34
.....................................................
4.8.4.1.1 Disabling a facility at a slave port
34
........................................
4.8.4.1.2 Disabling a facility at a facility port
34
.......................................
4.8.4.2 Enabling a facility
34
.....................................................
4.8.4.2.1 Enablingafacilityataslaveport
........................................
34
4.8.4.2.2 Enabling a facility at a facility port
....................................... 35
4.8.5 Slave dynamic switching
35
..................................................
4.8.5.1 NeutralMode .
35
4.8.5.2 Switched Mode
35
.......................................................
4.8.5.3 Implicitly switched
35
.....................................................
4.8.5.4 Explicitly switched
36
.....................................................
4.8.6 Facility dynamic switch
36
...................................................
...................................................
4.8.6.1 Facilityneutralmode
36
4.8.6.1.1 Facility neutral mode at the slave port
.................................... 36
4.8.6.1.2 Facility neutral mode at the facility port
................................... 36
4.8.6.2 Facility switched mode
36
..................................................
4.8.6.2.1 Facility switched mode at a slave port
37
.....................................
4.8.6.2.2 Facility switched mode at a facility port
37
....................................
4.8.6.3 Implicitly switched facilities
37
..............................................
4.8.6.3.1 Implicitly switched facilities at a slave port
37
.................................
4.8.6.3.2 Implicitly switched facility at a facility port
37
.................................
4.8.6.4 Explicitly switched facilities
37
..............................................
4.8.6.4.1 Explicitly switched facilities at a slave port
................................. 38
4.8.6.4.2 Explicitly switched facilities at a facility port
................................ 38
4.8.7 Allegiances
38
............................................................
4.8.7.1 Multiple allegiances
38
....................................................
4.8.7.2 Explicit group allegiance
38
................................................
4.8.8 Alternate port notification of changes
....................................... 38
4.9 Reset
................................................................. 38
4.9.1 External reset
38
..........................................................
4.9.2 Internal reset
39
..........................................................
4.10 Bus octets
39
.............................................................
4.10.1 Facility selection & request facility interrupts octets
............................ 39
4.10.2 Bus Control octet
39
......................................................
4.10.3 Bus Acknowledge octet
39
..................................................
4.10.4 Master Status octet
40
.....................................................
4.10.4.1 Bit definitions
40
.......................................................
4.10.4.2 Valid combinations
40
...................................................
4.10.5 Slave Status octet
41
......................................................
4.10.5.1 Bit definitions
41
.......................................................
4.10.5.2 Valid combinations
42
...................................................
4.10.6 Request interrupts octet
42
.................................................
4.10.7 Selective Reset Control octet
42
.............................................
4.11 ATTENTION IN signal
43
..................................................
4.12 Information transfers
43
4.12.1 Packet transfer conventions ’ : : : : : : : : : : : : : : : : : : : : : : : : : l ’ l l ’ ’ l ’ ’ * ’ ’ l l ’ ’ l ’ l ’ ’
43
4.12.2 Bit significance conventions
: : : : : : : : : : : : : : : : : : : 44
.......................... ..
4.12.3 Octet significance conventions
: : 44
...........................................
4.12.4 Command and Response packet conventions
44
.................................
4.12.5 Data transfer conventions
45
................................................
5 Message packet structure
46
....................................................
5.1 Conventions
............................................................
46
5.1.1 General organization
.................................................... 46
5.1.2 Parameters
46
............................................................
5.1.2.1 Parameter documentation
46
...............................................
iv
Device Generic Command Set for Magnetic and Optical Disk Drives

---------------------- Page: 4 ----------------------
ISO/IEC 9318-3 : 1990 (E)
...................................................... 47
5.1.2.2 Parameter length
........................................................
47
5.1.2.3 Parameter ID
................................ 47
5.1.3 Message packet representation in the document
...............................................
48
5.2 Operation Command packets
............................................... 48
5.2.1 Fields in Command packets
........................................................ 48
5.2.1.1 Packet Length
............................................ 48
5.2.1.2 Command Reference Number
........................................................ 48
5.2.1.3 Slave Address
....................................................... 49
5.2.1.4 Facility Address
49
5.2.1.5 Opcode .
........................................................ 50
5.2.1.6 Modifier octet
.......................................................... 50
5.2.1.7 Parameters
............................................ 50
5.2.2 Basic Command Message packet
....................................
52
5.2.3 Command packet parameter requirements
...............................................
52
5.2.3.1 Control Command packet
...............................................
52
5.2.3.2 Position Command packet
................................ 52
5.2.3.3 Transfer and Other Transfer Command packet
............................ 52
5.2.3.4 Combination Transfer Command packet (optional)
.............................................
52
5.2.3.5 Diagnostic Command packet
............................................ 52
5.2.4 Transferring parameters as data
.............................................................
52
5.2.4.1 Writing
.............................................................
52
5.2.4.2 Reading
............................................................ 53
5.2.4.3 Example
...........................................................
53
5.2.4.3.1 General
............................................................
54
5.2.4.3.2 Specific
.........................................
54
5.3 Operation Response Message packets
...............................................
54
5.3.1 Fields In Response packets
........................................................
54
5.3.1.1 Packet Length
............................................
54
5.3.1.2 Command Reference Number
.........................................................
54
5.3.1.3 Slave address
.......................................................
54
5.3.1.4 Facility address
55
.............................................................
5.3.1.5 Opcode
55
............................................................
5.3.1.6 Modifier
.......................................................
55
5.3.1.7 Response Type
.........................................................
55
5.3.1.8 Major Status
..........................................................
55
5.3.1.9 Parameters
...................................................
56
5.3.2 Basic Response packet
.....................................
56
5.3.3 Response packet parameter requirements
................................................
56
5.3.3.1 Control Response packet
...............................................
56
5.3.3.2 Position Response packet
................................
56
5.3.3.3 Transfer and Other Transfer Response packet
.............................
56
5.3.3.4 Combination Transfer Response packet (optional)
..............................................
56
5.3.3.5 Diagnostic Response packet
........................................... 56
5.3.3.6 Asynchronous Response packet
.....................................
57
5.3.3.7 Transfer Notification packet (optional)
.................................. 57
5.3.3.8 Imbedded Data Response packet (optional)
58
5.4 Status .
..........................................................
58
5.4.1 Major Status
58
.............................................................
5.4.2 Substatus
.......................................... 59
5.4.2.1 Intervention Required (ID=‘x4’)
.....................................................
59
5.4.2.1.1 Not P-Available
.........................................................
59
5.4.2.1.2 Not Ready
..............................................
59
5.4.2.1.3 Not P-Available transition
..................................................
59
5.4.2.1.4 Not Ready transition
..................................................
59
5.4.2.1.5 Physical Link failure
........................................
59
5.4.2.1.6 Attribute Table may be corrupted
......................................................
60
5.4.2.1.7 Addressee Busy
........................................
60
5.4.2.2 Alternate Port exception (ID=‘x5’)
................................................
60
5.4.2.2.1 Priority Reserve issued
...................................................
60
5.4.2.2.2 Attributes updated
V
Device Generic Command Set for Magnetic and Optical Disk Drives

---------------------- Page: 5 ----------------------
ISO/IEC 9318-3 : 1990 (E)
5.4.2.2.3 Initialization completed
60
................................................
5.4.2.2.4 Format completed
60
....................................................
5.4.2.2.5 Facility switched to another port
60
.........................................
5.4.2.2.6 Slave Diagnostic in progress
............................................ 61
5.4.2.2.7 Slave Diagnostic terminated
............................................ 61
5.4.2.3 Machine Exception (ID=‘x6’)
............................................ 61
5.4.2.3.1 Addressee no longer busy
61
..............................................
5.4.2.3.2 P-Available transition
................................................. 62
5.4.2.3.3 Ready transition
62
.....................................................
5.4.2.3.4 Operation timeout 62
...................................................
5.4.2.3.5 Physical Interface check 62
...............................................
5.4.2.3.6 Slave-Initiated reset
.................................................. 62
5.4.2.3.7 Environmental error 62
..................................................
5.4.2.3.8 Power fail alert 62
......................................................
5.4.2.3.9 Data Check (on raw data)
62
..............................................
5.4.2.3.10 Uncorrectable Data Check (on perfect data)
............................... 62
5.4.2.3.11 Fatal error
......................................................... 62
5.4.2.3.12 Hardware write protected
............................................. 63
5.4.2.3.13 Queue full
......................................................... 63
5.4.2.3.14 Command failure 63
5.4.2.3.15 Read access violation. : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :
63
5.4.2.3.16 Write access violation 63
................................................
5.4.2.3.17 Data overrun
....................................................... 63
5.4.2.3.18 Reallocation space exhausted 63
...........................................
5.4.2.3.19 End of media detected
63
................................................
5.4.2.3.20 End of extent detected
63
...............................................
5.4.2.3.21 Unexpected master action
63
.............................................
5.4.2.3.22 Error Log full 64
......................................................
5.4.2.3.23 Defect Directory full
64
.................................................
5.4.2.3.24 Logical link failure
64
..................................................
5.4.2.3.25 Position lost 64
.......................................................
5.4.2.4 Command Exception (ID=‘x7’) 64
...........................................
5.4.2.4.1 Invalid Packet length
65
..................................................
5.4.2.4.2 Invalid Command Reference Number 65
.....................................
5.4.2.4.3 Invalid Slave Address
65
.................................................
5.4.2.4.4 Invalid Facility Address
65
................................................
5.4.2.4.5 Invalid selection address
65
...............................................
5.4.2.4.6 Invalid Opcode
65
......................................................
5.4.2.4.7 Invalid Modifier
65
.....................................................
5.4.2.4.8 Invalid Extent
65
.......................................................
5.4.2.4.9 Out of context 65
......................................................
5.4.2.4.10 Invalid parameter(s)
65
.................................................
5.4.2.4.11 Missing parameter(s) 66
.................................................
5.4.2.4.12 Reserved value not equal to zero
66
........................................
5.4.2.4.13 Invalid combination 66
..................................................
5.4.2.4.14 Not at initial position
66
................................................
5.4.2.5 Command Aborted (ID=‘x8’) 66
............................................
5.4.2.5.1 Command Aborted
66
...................................................
5.4.2.5.2 Command sequence terminated 66
..........................................
5.4.2.5.3 Unexecuted command from terminated sequence
67
.............................
5.4.2.5.4 Command chain terminated
67
5.4.2.5.5 Unexecuted command from terminat.d’dha~n l : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : l
67
.
5.4.2.5.6 Command order terminated
67
5.4.2.5.7 Unexecuted command from termi&&d&ler l : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :
67
5.4.2.6 Conditional Success (ID=?&‘)
68
...........................................
5.4.2.6.1 Logging data appended
68
................................................
5.4.2.6.2 ABORT received: No Command Active 69
...................................
5.4.2.6.3 ABORT received: Status Pending
69
........................................
5.4.2.6.4 ABORT received: Not Operational 69
.......................................
5.4.2.6.5 Anticipated error 69
....................................................
vi
Device Generic Command Set for Magnetic and Optical Disk Drives

---------------------- Page: 6 ----------------------
ISO/IEC 9318-3 : 1990 (E)
69
.................................................
5.4.2.6.6 Anticipated data error
69
.................................................
5.4.2.6.7 Reallocation required
69
..............................................
5.4.2.6.8 Reallocation discontinuity
...................................... 69
5.4.2.6.9 Defect Directory threshold exceeded
69
................................................
5.4.2.6.10 Error retry performed
69
................................................
5.4.2.6.11 Data retry performed.
70
...............................................
5.4.2.6.12 Motion retry performed
............................................ 70
5.4.2.6.13 Data correction performed
70
.........................................................
5.4.2.6.14 Soft error
...................................... 70
5.4.2.6.15 Release of an unreserved addressee
.................................... 70
5.4.2.6.16 Request Diagnostic Control command
70
...................................................
5.4.2.6.17 Error Log request
70
..............................................
5.4.2.6.18 Non-Interchange volume
70
..................................................
5.4.2.6.19 Retention required
70
.........................................
5.4.2.6.20 End of Media Warning (EMW)
............................................. 71
5.4.2.6.21 Statistics update requested
71
...........................................
5.4.2.6.22 Parameter update requested
71
.........................................
5.4.2.6.23 Asynchronous event occurrence
71
............................................
5.4.2.6.24 Master-Terminated transfer
71
..................................................
5.4.2.7 Incomplete (ID=‘xA’)
71
.............................................
5.4.2.7.1 Command may be resumed
............................................. 72
5.4.2.7.2 COPY source space empty
............................................. 72
5.4.2.7.3 Response packet truncated
................................................ 72
5.4.2.7.4 Select Subservient slave
................................................. 72
5.4.2.7.5 Connect unsuccessful
............................................... 72
5.4.2.7.6 Disconnect unsuccessful
....................................... 72
5.4.2.7.7 Connect Identifier already assigned
................................................... 72
5.4.2.7.8 Link not connected
...................................... 72
5.4.2.7.9 Beginning of Media (BOM) detected
......................................... 72
5.4.2.7.10 End of Media Warning (EMW)
............................................... 72
5.4.2.7.11 End of extent detected
............................................... 73
5.4.2.7.12 Block length difference
................................................... 73
5.4.2.7.13 Unrecorded media
................................................ 73
5.4.2.7.14 Data length difference
73
5.4.2.7.15 Block not found .
73
5.4.2.8 Successful .
.................................... 73
5.4.2.9 Messag
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.