Information technology — Intelligent Peripheral Interface — Part 2: Device specific command set for magnetic disk drives

Describes the Logical Level 2 (device level) Interface for disk drives, the physical, electrical and configuration characteristics of which are in accordance with ISO/IEC 9318-1. Is to facilitate the development and utilization of a device level interface which permits the interconnection of disk slave peripherals to a controller. Complements other Intelligent Peripheral Interface standards.

Technologies de l'information — Interface intelligente pour périphériques — Partie 2: Jeu de commandes spécifiques appareil pour les unités disques magnétiques

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-2:1990 - Information technology -- Intelligent Peripheral Interface
English language
64 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL
ISWIEC
STANDARD
9318-2
First edition
1990-12-15
Information technology - Intelligent Peripheral
Interface
Part 2:
Device specific command set for magnetic disk drives
Technologies de l’infoamation - Interface pour les p&iph&iques intelligents -
Par-tie 2: Jeu de commandes spkcifiques appareil pour les unit& disques
magnb tiques
Reference number
ISO/IEC 9318-Z : 1990 (E)

---------------------- Page: 1 ----------------------
ISO/IEC 931.8-2 : 1990 (E)
Contents
Pa Ire
u
1
1 scope .
....................................................................
3
2 Normative references
..............................................................
4
3 Definitions and conventions
4
3.1 Definitions .
5
3.2 Conventions .
.....................................................................
6
4 General description
................................................................
6
4.1 Application environment
...........................................................
6
4.2 Logical Interface characteristics
6
.......................................................................
4.2.1 SlaveControl
..................................................................
6
4.2.2 Information transfer
.......................................................................
6
4.2.3 Data transfers
6
.....................................................................
4.2.4 Format Control
6
4.3 Responsibility .
6
............................................................................
4.3.1 Master
7
4.3.2 Slave .
...........................................................
7
S Physical Interface Considerations
...................................................................
7
5.1 Information transfer
7
5.1.1 OctetMode .
7
......................................................................
5.1.2 TransferMode
...............................................................
7
51.3 Termination of transfers
7
......................................................................
51.4 Data streaming
s
5.2 Bus Octets .
...............................................................
s
5.2.1 Unsupported Bus Octets
...................................................................
s
5.2.2 Bus Control Octet
..................................................................
s
.a 5 .d. 7 3 Master Status Octet
...................................................................
9
52.4 Slave Status Octet
..............................................................
9
5.2.5 Request Interrupts Octet
..................................................................
9
5.251 Types of Interrupts
................................................ 9
5.2.5.1.1 Class 1 Command Completion Interrupt
..............................................................
10
5.2.5.1.2 Class 2 RPS Interrupt
......................................................
10
5.25.1.3 Class 3 Status Pending Interrupt
...............................................................
10
52.6 Address Octet Response
.................................................................
10
5.2.7 Selective Reset Octet
......................................................................
11
5.2.S Selection Octet
.........................................................
11
52.9 Request Transfer Settings Octet
..........................................................
11
5.2.10 Slave Transfer Settings Octet
.........................................................
11
52.11. Request Slave Interrupts Octet
................................................................
12
5.2.12 Slave Interrupts Octet
.................................................................
12
5.3 ATTENTION IN signal
13
........................................................................
6 SlaveFunctions
13
.........................................................................
6.1 DiskFormat
.........................................................
13
6.1.1 Format 1 -Fixed Block Format
.............................................................
13
6.l.l.l Fixed Block Hard Sector
..............................................................
13
6.1.1.2 Fixed Block Soft Sector
....................................................... 13
6.1.2 Format 2 - Variable Block Format
13
.....................................................................
6.1.3 FormatControl
@ 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.
ISO/IEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
Device specific command set for ma~nct ic disk drives
ii

---------------------- Page: 2 ----------------------
ISO/IEC 9318-2 :1990 (E)
14
6.2 Format Specification
...................................................................
14
6.2.1 Format initialization
..................................................................
14
6.2.2 Manufacturer’s Format Specification
......................................................
15
6.2.3 Fixed Block mode
....................................................................
15
6.2.3.1 Fixed Block Format Specification .
15
6.2.3.1.1 Number of octets .
15
6.2.3.1.2 Format Type Code
................................................................
1S
6.2.3.1.3 Flag Octet
.......................................................................
16
6.2.3.1.4 Number of sectors per track .
16
6.2.3.1.5 Number of physical octets per sector .
16
6.2.3.1.6 Number of octets to be skipped during header verify .
16
6.2.3.1.7 Number of fields per sector
..........................................................
16
6.2.3.1.8 Number of octets per field
...........................................................
16
6.2.3.1.9 Master Turnaround Delay
...........................................................
17
6.2.4 Variable Block Mode
.................................................................
17
6.2.4.1 Variable Block Format Specification
....................................................
17
6.2.4.1.1 Number of octets
..................................................................
17
6.2.4.1.2 Format Type code
.................................................................
17
6.2.4.1.3 Flag Octet .
17
6.2.4.1.4 Cell length
......................................................................
1.7
6.2.4.1.5 RPS Divisions per track
.............................................................
18
6.2.4.1.6 Index Mark Gap length
.............................................................
1S
6.2.4.1.7 Home Field Data Segment length .
18
6.2.4.1.8 Home Field Gap length .
1s
6.2.4.1.9 Home Field Skin Length
............................................................
IS
6.2.4.1.10 Home Field reiries 1 . . . . . . . . . . . . .
18
6.2.4.1.11 Header Field Data Segment length .
18
6.2.4.1.12 Header Field Gap length
...........................................................
18
6.2.4.1.13 Data Field Gap length .
15
6.2.4.1.14 Defect Skip Segment length
.........................................................
19
......................................................................
6.3 Slavcconditions
20
6.4 Dual Port (optional) .
21)
6.4.1 Port Enable/Disable
..................................................................
20
6.4.2 Slave Accessibility mode
...............................................................
21
6.4.2.1 Switching .
21
6.4.2.2 Switch mechanism .
21
............................................
64.3 Notification of alternate port cxccption condition
21
6.4.4 Attention .
22
6.5 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
6.5.1 External Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
6.5.2 Internal Reset .
22
6.6 Head Control .
22
................................................
6.7 Rotational Position Sensing (RPS) (optional)
22
6.7.1 RPS Target Sector Address .
22
.......................................................................
6.7.2 RPS Interrupt
22
6.S Slave ECC (optional) .
23
6.9 Power Sequencing (optional) .
24
..........................................................................
7 Bus Controls
24
............................................................
7.1 Command/Response Controls
25
..............................................................
7.1.1 Load Slave Function (01)
25
........................................................
7.1.1.1 Reserved for future use (00-OF)
25
7.1.1.2 Disable Alternate Port (10) (optional) .
25
7.1.1.3 Enable Alternate Port (11) (optional) .
25
...........................................................
7.1.1.4 Disable Port (12) (optional)
25
........................................................
7.1.1.5 Priority Reserve (13) (optional)
25
..............................................................
7.1.1.6 Reserve (14) (optional)
25
..............................................................
7.1.1.7 Release (15) (optional)
25
....................................
7.1.1.8 Notify alternate port of format completion (16) (optional)
. . .
111
Device specific command set for magnetic disk drives

---------------------- Page: 3 ----------------------
ISO/IEC 9318-2 : 1990 (E)
26
7.1.1.9 Reserved for future use (17). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
7.1.1.10 Disable successful Command Completion Interrupt (Class 1) attention (18) .
26
7.1.1.11 Enable successful Command Completion Interrupt (Class 1) attention (19) .
26
7.1.1.12 Disable RPS Interrupt (Class 2) attention (1A)
...........................................
26
7.1.1.13 Enable RPS Interrupt (Class 2) attention (1B) .
26
7.1.1.14 Disable Status Pending Interrupt (Class 3) attention (1C) .
7.1.1.15 Enable Status Pending Interrupt (Class 3) attention (1D) . 26
7.1.1.16 Disable “No Longer Busy” attention (1E) (optional) 26
........................................
26
7.1.1.17 Enable “No Longer Busy” attention (1F) (optional) .
26
7.1.1.1s No operation(20) .
26
7.1.1.19 Reserved for future use (21)
..........................................................
26
7.1.1.20 Spin Up (22) (optional)
.............................................................
26
7.1.1.21 Spin Down (23) (optional)
...........................................................
7.1.1.22 Load Heads (24) (optional) 27
..........................................................
7.1.1.23 Unload Heads (25) (optional) 27
........................................................
7.1.1.24 Lock Carriage (26) (optional) 27
.........................................................
27
7.1.1.25 Unlock Carriage (27) (optional)
.......................................................
7.1.1.26 Recalibrate (28) 27
...................................................................
7.1.1.27 Execute Internal Diagnostic (29) 27
......................................................
27
.
7.1.1.28 Reserved for future use (2A) . .
27
7.1.1.29 Perform Sector Marking (2B) (optional) .
27
7.1.1.30 Disable Slave ECC (2C) (optional) .
27
7.1.1.31 Enable Slave ECC (2D) (optional) .
27
7.1.1.32 Reserved for future use (2E-40) .
27
7.1.1.33 Reset Offset (41)
..................................................................
28
7.1.1.34 Set Positive Offset 1 (42) .
2S
7.1.1.35 Set Negative Offset 1 (43) .
28
7.1.1.36 Set Positive Offset 2 (44) .
28
7.1.1.37 Set Negative Offset 2 (45) .
2s
7.1.1.38 Set Positive Offset 3 (46) .
28
7.1.1.39 Set Negative Offset 3 (47) .
28
7.1.1.40 Set Normal Strobe (48) .
28
7.1.1.41 Set Early Strobe (49) .
2s
7.1.1.42 Set Late Strobe(4A) .
29
7.1.1.43 Reserved for future use (4B-7F) .
29
7.1.1.44 Perform Slave Specific Function n (Sn) (optional) .
29
7.1.1.45 Reserved for future use (90-FF) .
29
7.1.2 Load Format Specification (02) .
29
.....................................................
7.1.3 Load Slave-Specific Information (03)
29
............................................................
7.1.4 Load Cylinder Address (04)
29
7.1.5 Load Head Address (05) .
29
.....................................................
7.1.6 Load RPS Target Sector Address (06)
30
7.1.6.1 RPS Target Sector Address .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.1.6.2 RPS PulFe Width Extension . . . . . . . . . . . . . .
30
7.1.6.3 RPS Pulse Width (Format 1 option) .
30
7.1.6.4 RPS Pulse Width Skew (Format 1 option) .
31
7.1.7 Load Position (07) .
31
7.1.8 Read Configuration (41) .
32
...............................................................
7.1.S.l Number ovf Octets ‘. .‘.
32
7.1.8.2 Device Class Code .
32
7.1.5.3 SlaveTypeFlag Code .
32
7.lS.4 Capability Flag Octet .
32
7.1.s.5 Feature Flag Octet .
33
7.1.8.6 Address of Last Data Cylinder .
33
7.1.8.7 Address of Last Defect List Cylinder .
33
7.1.s.s Number of Heads Per Cylinder .
33
7.1.8.9 Number of Fixed Sectors per Track .
33
7.1.8.10 Number of Octets per Track .
33
...........................................................
7.1.8.11 Single-Cylinder Seek Time
Device specific conmx~nd set for tmgtwlic disk drives
iv

---------------------- Page: 4 ----------------------
ISO/IEC 9318-2 :1990 (E)
33
7.1.S.12 Average SeekTime .
7.1.8.13 Maximum SeekTime . 33
33
7.1.8.14 RotationalTime. .
7.1.s.15 Head Switching Time . 33
33
7.1.8.16 Write-to-Read Recovery Time .
7.1.S.17 Manufacturer Identification . 33
7.1.S.18 Manufacturer Model Number . 33
7.1.8.19 Manufacturer Revision Number . 34
7.1.8.20 Manufacturer Unit ID Number . 34
7.1.S.21 Manufacturer Switch Settings . 34
7.1.8.22 Manufacturer Defined Parameter . 34
7.1.9 Read Format Specification (42) . 34
7.1.10 Read Slave Specific Information (43) . 34
34
....................................................................
7.1.11 Read Status (44)
35
..................................................
7.1.12 Read Correction Vectors (45) (optional)
...................................................... 35
7.1.13 Read Current Sector Address (46)
35
7.1.14 Read Current Position (47) .
7.1.15 Read Extended Status (48) . 35
.............................................................. 36
7.2 Fixed Block Data Controls
................................................................... 36
7.2.1 Definitions and use
7.2.1.1 . 36
Fixed Block data control types
............................................................... 36
7.2.1.2 Head Advance Control
............................................................. 36
7.2.1.3 Orientation with the disk
36
7.2.1.4 Target Sector .
............................................................. 36
7.2.1.5 Sector data control reject
........................................................ 37
7.2.1.6 Fixed Block data control coding
37
.........................................................
7.2.2 Sector Data Controls (optional)
............................................................... 37
7.2.2.1 Verify Header (S4, 94)
38
.............................................
7.2.2.2 Verify Header and Write Data Field 1 (S5, 95)
38
.............................................
7.2.2.3 Verify Header and Write Data Field 2 (86, 96)
38
.......................................
7.2.2.4 Verify Header and Write Data Fields 1 and 2 (S7, 97)
............................................................... 315
7.2.2.5 Write Header (SS, 98)
38
..................................................
7.2.2.6 Write Header and Data Field 1 (89, 99)
3s
.................................................
7.2.2.7 Write Header and Data Field 2 (SA, 9A)
3s
............................................
7.2.2.8 Write Header and Data Fields 1 and 2 (SB, 9B)
........................................... 38
7.2.2.9 Write Header at Target Sector Address (SC, 9C)
38
.........................................
7.2.2.10 Write Header and Data Field 1 at target (SD, 9D)
......................................... 3S
7.2.2.11 Write Header and Data Field 2 at Target (SE, 9E)
39
....................................
7.2.2.12 Write Header and Data Fields 1 and 2 at Target (SF, 9F)
39
..............................................................
7.2.2.13 Skip Header (C4, D4)
39
.............................................
7.2.2.14 Skip Header and Read Data Field 1 (CS, D5)
39
.............................................
7.2.2.15 Skip Header and Read Data Field 2 (CG, D6)
39
.......................................
7.2.2.16 Skip Header and Read Data Fields 1 and 2 (C7, D7)
39
..............................................................
7.2.2.17 Read Header (CS, DS)
39
.................................................
7.2.2.13 Read Header and Data Field 1 (C9, D9)
39
................................................
7.2.2.19 Read Header and Data Field 2 (CA, DA)
........................................... 39
7.2.2.20 Read Header and Data Fields 1 and 2 (CB, DB)
39
......................................................
7.2.2.21 Read Header at Target (CC, DC)
........................................ 39
7.2.2.22 Read Header and Data Field 1 at Tarp (CD, DD)
........................................ 40
7.2.2.23 Read Header and Data Field 2 at Target (CE, DE)
................................... 40
7.2.2.24 Read Header and Data Fields 1 and 2 at Target (CF, DF)
.......................................................... 40
7.2.3 Field Data Controls (optional)
..................................................................... 40
7.2.3.1 Skip Field (SO)
................................................................ 40
7.2.3.2 Skip Two Fields (CO)
40
.................................................................
7.2.3.3 Write Field (Sl, 91)
40
7.2.3.4 Skip Field and Write Field (82, 92) .
40
7.2.3.5 Write Two Fields (83,93) .
................................................................ 40
7.2.3.6 Read Field (Cl, Dl)
40
.....................................................
7.2.3.7 Skip Field and Read Field (C2, D2)
V
Device specific command set for magnetic disk drives

---------------------- Page: 5 ----------------------
ISO/LEC 9318-2 :1990 (E)
7.2.3.8 Read Two Fields (C3, D3) 40
............................................................
7.2.4 Special data controls - Step Head (90) . 40
7.3 Variable Block Data Controls (optional)
.................................................... 41
7.3.1 Variable block data control coding . 41
7.3.2 Format Home Field (AO)
.............................................................. 41
7.3.3 Format Header Field (Al)
............................................................. 41
7.3.4 Format Data Field (A2) . 42
7.3.5 Format Data Field - Short Skip (A3) . 42
7.3.6 Format Skip from Index (A4) . 42
7.3.7 FormatSkip(A5) . 42
7.3.S Write Home Field (A8) . 42
7.3.9 Write Header Field (A9) .
43
7.3.10 Write Data Field (AA) . 43
7.3.11 Write Data Field - Short Skip (AB) .
43
7.3.12 Defect Skip (AC) . 43
7.3.13 Read Home Field (EO) .
43
7.3.1.4 Read Header Field (El) . 43
7.3.15 Read Data Field (E2) . 44
7.3.16 Read Data Field - Short Skip (E3) . 44
S Status . 45
S.l SlaveStatus . 45
45
8.1.1 Successful Information Transfer .
8.1.2 Bus Parity Error . 45
S.1.3 Odd Octet Transfer . 45
45
8.1.4 Time-Dependent Operation .
S.1.5 Operation Ending Status . 46
S.l.S.1 Data Exceptions . 46
8.1.51.1 MissedAM . 46
S-1.5.1.2 Missed Sync Byte . 46
8.1.5.1.3 ECC Error (optional) . 46
S.1.5.l.4 Verifv Header Miscompare . 46
S.l.5.2 Unsolicited Exception . 46
S.l.S.3 Operation Exception . 46
8.2 Status Response . 46
......................................................... 4S
S.2.1 Exception Status Octet (octet 0)
......................................................... 4s
S.2.1.1 Status Response (octet 0 bit 7)
S-2.1.2 Unsolicited Exception (octet 0 bit 6) . 4S
S.2.1.3 Bus Control Exception (octet 0 bit 5) . 4S
S.2.1.4 Read Fault (octet 0 bit 4) . 4s
48
8.2.1.5 Write Fault (octet 0 bit 3) .
8.2.1.6 Seek Fault (octet 0 bit 2) . 4s
S-2.1.7 Spindle Fault (octet 0 bit 1) . 4s
8.2.1.S Execution Fault (octet 0 bit 0) . 48
S-2.2 Unsolicited Exception Status (octet 1) . 4s
48
S-2.2.1 Reset Complete (octet 1 bit 7) .
8.2.2.2 Alternate Port Priority Select (octet 1 bit 6) . 4s
S.2.2.3 Alternate Port Format Change (octet 1 bit 5) . 49
S.2.2.4 Alternate Port Format Complete (octet 1 hit 4) . 49
S-2.2.5 Reserved for future use (octet 1 bit 3) . 49
.................................................... 49
8.2.2.6 Not Ready Transition (octet 1 bit 2)
49
S-2.2.7 Ready Transition (octet 1 bit 1) .
S-2.2.8 Media Change (octet 1 bit 0) . 49
.................................................... -I9
8.2.3 Bus Control Exception Status (octet 2)
8.2.3.1 Invalid Bus Control (octet 2 bit 7) . 49
8.2.3.2 Invalid Parameter (octet 2 bit 6) . 49
................................... 49
8.2.3.3 Unsupported Bus Control or Function Code (octet 2 bit 5)
S.2.3.4 Bus Control or Function Code Context (octet 2 bit 4) . 49
S.2.3.5 Data Control Late (octet 2 bit 3) . 49
I>evice specific conmand set for magnetic disk dr-ivcs
vi

---------------------- Page: 6 ----------------------
ISO/lEC 9318-2 A990 (E)
................................................... 49
8.2.3.6 Reserved for future use (octet 2 bit 2)
..................................
...

Questions, Comments and Discussion

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