在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例Clojure → scsi-3协议

scsi-3协议

Clojure

下载此实例
  • 开发语言:Others
  • 实例大小:0.67M
  • 下载次数:2
  • 浏览次数:33
  • 发布时间:2022-10-19
  • 实例类别:Clojure
  • 发 布 人:zhuyb
  • 文件格式:.pdf
  • 所需积分:2
 相关标签: Sisc协议

实例介绍

【实例简介】scsi-3协议

【实例截图】

【核心代码】

Table of contents
1.0 Interface requirements............................................................................................................ 1
1.1 How to use this interface manual.................................................................................. 1
1.2 General interface description........................................................................................ 1
1.3 Physical interface characteristics.................................................................................. 3
1.4 Summary of SCSI commands and messages .............................................................. 4
2.0 SCSI bus .................................................................................................................................. 7
2.1 SCSI bus signals .......................................................................................................... 8
2.1.1 Drive select ...................................................................................................... 9
2.1.2 Signal values ................................................................................................... 9
2.1.3 OR-Tied signals ............................................................................................... 9
2.1.4 Signal sources ................................................................................................. 9
2.2 SCSI bus timing............................................................................................................ 10
2.2.1 Arbitration delay (2.4 µs).................................................................................. 10
2.2.2 Assertion period (90 ns).................................................................................. 10
2.2.3 Bus Clear delay (800 ns) ................................................................................ 11
2.2.4 Bus Free delay (800 ns) ................................................................................. 11
2.2.5 Bus Set delay (1.8 µs) .................................................................................... 11
2.2.6 Bus Settle delay (400 ns)................................................................................ 11
2.2.7 Cable Skew delay (10 ns) ............................................................................... 11
2.2.8 Data Release delay (400 ns) ........................................................................... 11
2.2.9 Deskew delay (45 ns) ..................................................................................... 11
2.2.10 Disconnection delay (200 µs).......................................................................... 11
2.2.11 Hold time (45 ns) ............................................................................................ 11
2.2.12 Negation period (90 ns) .................................................................................. 11
2.2.13 Reset Hold time (25 µs) .................................................................................. 12
2.2.14 Selection Abort time (200 µs).......................................................................... 12
2.2.15 Selection Timeout delay (250 ms)................................................................... 12
2.2.16 Transfer Period (negotiated by SDTR message) ............................................. 12
2.3 Fast synchronous transfer option timing....................................................................... 12
2.3.1 Fast Assertion period (30 ns).......................................................................... 12
2.3.2 Fast Cable Skew delay (5 ns)......................................................................... 12
2.3.3 Fast Deskew delay (20 ns) ............................................................................. 12
2.3.4 Fast Hold time (10 ns) .................................................................................... 12
2.3.5 Fast Negation period (30 ns) .......................................................................... 12
3.0 Logical characteristics ........................................................................................................... 13
3.1 SCSI bus phases.......................................................................................................... 13
3.1.1 Bus Free phase ............................................................................................... 13
3.1.2 Arbitration phase.............................................................................................. 14
3.1.3 Selection phase ............................................................................................... 14
3.1.4 Reselection phase ........................................................................................... 16
3.1.5 Information Transfer phases ............................................................................ 17
3.1.6 Command phase ............................................................................................. 19
3.1.7 Data phase ...................................................................................................... 19
3.1.8 Status phase (see Section 4.3)........................................................................ 19
3.1.9 Message phase ............................................................................................... 20
3.1.10 Signal Restrictions Between phase ................................................................. 20
 Product Manual - Disc Drive SCSI-2/SCSI-3 Interface (Vol. 2; Ver. 2), Rev. H
___________________________________________________________________________________________________________
viii
Table of contents continued
3.2 SCSI bus conditions ..................................................................................................... 21
3.2.1 Attention conditions (see Unit Attention Condition, 4.6) ................................... 21
3.2.2 Reset condition ................................................................................................ 22
3.2.3 Contingent Allegiance condition ....................................................................... 22
3.3 SCSI bus phase sequences ......................................................................................... 22
3.3.1 Nonarbitrating system...................................................................................... 22
3.3.2 Arbitrating systems .......................................................................................... 22
3.3.3 All systems ...................................................................................................... 23
3.4 SCSI pointers ............................................................................................................... 24
3.4.1 Current pointers ............................................................................................... 25
3.4.2 Saved pointers................................................................................................. 25
3.5 Message system specification ...................................................................................... 25
3.5.1 General message protocol............................................................................... 26
3.5.2 Messages - general ......................................................................................... 26
3.5.3 Message details............................................................................................... 28
3.5.3.1 One and Two Byte message............................................................ 28
3.5.3.2 Extended message .......................................................(01h) ......... 36
3.6 Message exception conditions handling ....................................................................... 42
3.7 S.M.A.R.T. system........................................................................................................ 45
4.0 SCSI commands ...................................................................................................................... 47
4.1 Command implementation requirements ...................................................................... 47
4.1.1 Reserved ......................................................................................................... 47
4.2 Command descriptor block (CDB) ................................................................................ 47
4.2.1 Operation code ................................................................................................ 48
4.2.2 Logical Unit Number (LUN).............................................................................. 49
4.2.3 Logical Block Address...................................................................................... 50
4.2.4 Relative Address Bit......................................................................................... 50
4.2.5 Transfer Length ............................................................................................... 50
4.2.6 Control Byte ..................................................................................................... 51
4.3 Status ........................................................................................................................... 51
4.4 Command examples..................................................................................................... 53
4.4.1 Single Command example............................................................................... 53
4.4.2 Disconnect example ........................................................................................ 55
4.5 Timing examples........................................................................................................... 57
4.6 Unit attention condition ................................................................................................. 72
4.7 Queued I/O processes.................................................................................................. 73
4.7.1 Untagged queuing............................................................................................ 73
4.7.2 Tagged queuing ............................................................................................... 73
4.8 Parameter Rounding..................................................................................................... 75
4.9 Command Processing considerations and exception conditions .................................. 75
4.9.1 Programmable Operating definition ................................................................. 75
4.9.2 Incorrect initiator connection ............................................................................ 76
4.9.3 Selection of an Invalid Logical unit................................................................... 76
5.0 Command descriptions .......................................................................................................... 77
5.1 Command descriptions for all device types .................................................................. 77
5.1.1 Group 0 commands for all device types .......................................................... 77
5.1.1.1 Test Unit Ready ............................................................(00h) ......... 77
5.1.1.2 Request Sense command ............................................(03h) ......... 78
5.1.1.2.1 Deferred errors ................................................................ 86
5.1.1.3 Inquiry command ..........................................................(12h) ......... 87
5.1.1.3.1 Vital product data pages .................................................. 91
5.1.1.4 Copy command ............................................................(18h) ......... 100
5.1.1.5 Receive Diagnostic results command...........................(1Ch)......... 100
5.1.1.6 Send Diagnostic command ...........................................(1Dh)......... 105
Product Manual - Disc Drive SCSI-2/SCSI-3 Interface (Vol. 2; Ver. 2), Rev. H
___________________________________________________________________________________________________________
ix
Table of contents continued
5.1.2 Group 1 commands for all device types ........................................................ 108
5.1.2.1 Compare command ......................................................(39h) ....... 108
5.1.2.2 Copy and verify command ............................................(3Ah) ....... 108
5.1.2.3 Write Buffer command ..............................................(3Bh) ....... 108
5.1.2.3.1 Combined Header and Data mode ...............(000b) ..... 109
5.1.2.3.2 Write Data Only mode ..................................(010b) ..... 110
5.1.2.3.3 Download Microcode mode ..........................(100b) ..... 110
5.1.2.3.4 Download and Save Microcode mode ..........(101b) ..... 110
5.1.2.3.5 Download Microcode with offsets .................(110b)...... 111
5.1.2.3.6 Download Microcode with offsets and
save mode ....................................................(111b) ...... 112
5.1.2.4 Read Buffer command ..............................................(3Ch)....... 113
5.1.2.4.1 Read Combined Descriptor Header
and Data mode .............................................(000b) ..... 113
5.1.2.4.2 Read data ...................................................................... 114
5.1.2.4.3 Read Buffer Descriptor mode .......................(011b)...... 114
5.1.3 Group 2 Commands for All Device Types ...................................................... 115
5.1.3.1 Change Definition command.........................................(40h) ....... 115
5.1.3.2 Log Select command ....................................................(4Ch)....... 117
5.1.3.2.1 Write, Read and Verify Error Counter pages
(code 02, 03, 05h) ........ 123
5.1.3.2.2 Non-Medium Error page ...............................(code 06h) 125
5.1.3.2.3 Cache Statistics page...................................(code 37h) 125
5.1.3.3 Log Sense command....................................................(4Dh)....... 126
5.1.3.4 Other Group 2 commands ............................................................. 128
5.1.4 Groups 3 through 5 commands for all device types....................................... 128
5.1.5 Group 6 commands for all device types ........................................................ 128
5.1.6 Group 7 commands for all device types ........................................................ 128
5.2 Command descriptions for direct access devices....................................................... 129
5.2.1 Group 0 commands for direct access devices ............................................... 129
5.2.1.1 Rezero Unit command ..................................................(01h) ....... 129
5.2.1.2 Format Unit command ..................................................(04h) ....... 130
5.2.1.3 Reassign Blocks command ..........................................(07h). ...... 137
5.2.1.4 Read command ............................................................(08h) ....... 139
5.2.1.5 Write command ............................................................(0Ah) ....... 141
5.2.1.6 Seek command.............................................................(0Bh) ....... 142
5.2.1.7 Mode Select (6) command............................................(15h) ....... 143
5.2.1.8 Reserve command........................................................(16h) ....... 147
5.2.1.9 Release command........................................................(17h). ...... 149
5.2.1.10 Mode Sense (6) command ...........................................(1Ah) ....... 150
5.2.1.11 Start Stop Unit command .............................................(1Bh) ....... 183
5.2.1.12 Prevent/Allow Medium Removal command ..................(1Eh). ...... 184
5.2.2 Group 1 command for direct access devices................................................. 184
5.2.2.1 Read Capacity command .............................................(25h) ....... 184
5.2.2.2 Read Extended command ............................................(28h) ....... 186
5.2.2.3 Write Extended command ............................................(2Ah) ....... 188
5.2.2.4 Seek Extended command.............................................(2Bh) ....... 189
5.2.2.5 Write and Verify command............................................(2Eh) ....... 190
5.2.2.6 Verify command ............................................................(2Fh) ....... 191
5.2.2.7 Synchronize Cache command ......................................(35h) ....... 192
5.2.2.8 Read Defect Data command ........................................(37h) ....... 193
 Product Manual - Disc Drive SCSI-2/SCSI-3 Interface (Vol. 2; Ver. 2), Rev. H
___________________________________________________________________________________________________________
x
Table of contents continued
5.2.2.9 Read Long command ...................................................(3Eh) ....... 195
5.2.2.10 Write Long command....................................................(3Fh) ....... 197
5.2.2.11 Write Same command ..................................................(41h) ....... 198
5.2.2.12 Reserve (10) command ................................................(56h) ....... 199
5.2.2.13 Release (10) command ................................................(57h) ....... 200
5.2.2.14 Mode Select (10) command..........................................(55h) ....... 201
5.2.2.15 Mode Sense (10) command .........................................(5Ah) ....... 202
5.2.2.16 Pre-Fetch command .....................................................(34h) ....... 203
5.3 Exclusive Or commands ...................................................................................... 204
5.3.1 XDWRITE command ....................................................................(50h) ....... 205
5.3.2 XPWRITE command ....................................................................(51h) ....... 206
5.3.3 XDREAD command .....................................................................(52h) ....... 207
5.3.4 XDWRITE EXTENDED command................................................(80h) ....... 208
5.3.5 REBUILD command .....................................................................(81h) ....... 210
5.3.6 REGENERATE command ............................................................(82h) ....... 213
6.0 Seagate Technical Support Services................................................................................... 215
A.1.0 Appendix A. SCSI Configured Auto Magically (SCAM).................................................. A-1
List of Figures
Figure 2.0-1 SCSI ID bits................................................................................................................... 7
Figure 3.3-1 Phase sequences with arbitration ..................................................................................23
Figure 3.3-2 Phase sequences without arbitration .............................................................................23
Figure 3.4-1 Simplified SCSI System.................................................................................................24
Figure 3.5.3-1 Wide SCSI byte ordering ...............................................................................................41
Figure 4.4-1. Single command example .............................................................................................54
Figure 4.4-2. Disconnect example ......................................................................................................56

标签: Sisc协议

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警