没有合适的资源?快使用搜索试试~ 我知道了~
CompactFlash CF卡规范
5星 · 超过95%的资源 需积分: 9 23 下载量 45 浏览量
2009-03-27
00:44:45
上传
评论
收藏 1.39MB PDF 举报
温馨提示
试读
186页
The CompactFlash Association (CFA) was established in October 1995 with the premise that CompactFlash (CF) technology would enable the introduction of a new class of advanced, small lightweight, low power mobile products that would significantly increase the productivity and enhance the lifestyles of millions of people.
资源推荐
资源详情
资源评论
CF+
and
CompactFlash
Specification
Revision 3.0
12/23/04
CompactFlash Association
P.O. Box 51537
Palo Alto, CA 94303
Tel: 650-843-1220
Fax: 650-493-1871
Email: cf@compactflash.org
www.compactflash.org
.
The information in this specification is subject to change without notice.
Use of this specification for product design requires an executed license agreement from the CompactFlash
Association.
The CompactFlash Association shall not be liable for technical or editorial errors or omissions contained herein; nor
for incidental or consequential damages resulting from the furnishing, performance, or use of this material.
All parts of the CompactFlash Specification are protected by copyright law and all rights are reserved. This
documentation may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any
electronic medium or machine readable form without prior consent, in writing, from the CompactFlash Association.
The CFA logo is a trademark of the CompactFlash Association.
Product names mentioned herein are for identification purposes only and may be trademarks and/or registered
trademarks of their respective companies.
© 1998-2004, CompactFlash Association. All rights reserved. Portions based on ATA/ATAPI-6 are also © 2002
American National Standards Institute, used with permission.
Rev. 3.0 12/2004 Printed in U.S.A
.
TABLE OF CONTENTS
CF+ & CF SPECIFICATION REV. 3.0 © 1998-2004 COMPACTFLASH ASSOCIATION
i
1 GENERAL ............................................................................................................................................ 1
1.1 Introduction.................................................................................................................................... 1
1.2 CFA Goals and Objectives ............................................................................................................ 1
1.3 Overview of CompactFlash Storage Card ................................................................................... 1
1.4 Related Documentation ................................................................................................................. 2
1.5 Compatibility Requirements......................................................................................................... 2
1.6 Acknowledgement .......................................................................................................................... 3
2 SCOPE................................................................................................................................................... 2
2.1 Elements of this Specification ....................................................................................................... 2
2.2 Card Physical ................................................................................................................................. 2
2.3 Electrical Interface......................................................................................................................... 2
2.4 Metaformat..................................................................................................................................... 2
2.5 Software Interface.......................................................................................................................... 2
2.6 CompactFlash Adapters................................................................................................................ 2
3 CARD PHYSICAL............................................................................................................................... 3
3.1 General Description ....................................................................................................................... 3
3.1.1 CompactFlash Storage Card ...................................................................................................... 3
3.1.2 CF+ Card ................................................................................................................................... 3
3.2 CompactFlash Storage Card and CF+ Card Physical Specifications ....................................... 4
3.2.1 CF+ & CompactFlash Type I and Type II Cards....................................................................... 4
3.2.2 Recommendations for Longer Type I and Type II Cards.......................................................... 7
3.2.3 CF+ Type I Extended ................................................................................................................ 9
3.3 Connector Interface Specifications............................................................................................. 11
3.3.1 CF/CF+ Card Connector.......................................................................................................... 11
3.3.2 Host Connector........................................................................................................................ 12
4 ELECTRICAL INTERFACE ........................................................................................................... 23
4.1 Physical Description..................................................................................................................... 23
4.1.1 Pin Assignments and Pin Type................................................................................................ 23
4.2 Electrical Description .................................................................................................................. 23
4.3 Electrical Specification ................................................................................................................ 31
4.3.1 Current Measurement .............................................................................................................. 32
4.3.2 Input Leakage Current............................................................................................................. 32
4.3.3 Input Characteristics................................................................................................................ 33
TABLE OF CONTENTS
CF+ & CF SPECIFICATION REV. 3.0 © 1998-2004 COMPACTFLASH ASSOCIATION
ii
4.3.4 Output Drive Type................................................................................................................... 33
4.3.5 Output Drive Characteristics ................................................................................................... 34
4.3.6 Signal Interface........................................................................................................................ 35
4.3.7 Additional Requirements for CF Advanced Timing Modes.................................................... 36
4.3.8 Ultra DMA Electrical Requirements ....................................................................................... 37
4.3.8.1 Host and Card signal capacitance limits for Ultra DMA operation.................................. 37
4.3.8.2 Series termination required for Ultra DMA operation ..................................................... 37
4.3.8.3 Printed Circuit Board (PCB) Trace Requirements for Ultra DMA .................................. 38
4.3.8.4 Ultra DMA Mode Cabling Requirement .......................................................................... 38
4.3.9 Interface/Bus Timing............................................................................................................... 38
4.3.10 Attribute Memory Read Timing Specification........................................................................ 38
4.3.11 Configuration Register (Attribute Memory) Write Timing Specification ............................... 40
4.3.12 Common Memory Read Timing Specification........................................................................ 41
4.3.13 Common Memory Write Timing Specification....................................................................... 43
4.3.14 I/O Input (Read) Timing Specification.................................................................................... 45
4.3.15 I/O Output (Write) Timing Specification ................................................................................ 47
4.3.16 True IDE PIO Mode Read/Write Timing Specification .......................................................... 48
4.3.17 True IDE Multiword DMA Mode Read/Write Timing Specification ..................................... 50
4.3.18 True IDE Ultra DMA Mode Read/Write Timing Specification .............................................. 52
4.3.18.1 Ultra DMA Overview....................................................................................................... 52
4.3.18.2 Ultra DMA Phases of Operation ...................................................................................... 53
4.3.18.2.1 Ultra DMA Burst Initiation Phase Rules ................................................................... 54
4.3.18.2.2 Ultra DMA Data transfer phase rules ........................................................................ 54
4.3.18.2.3 Ultra DMA Burst Termination Phase Rules .............................................................. 54
4.3.18.3 Ultra DMA Data Transfers Timing .................................................................................. 55
4.3.18.3.1 Initiating an Ultra DMA Data-In Burst...................................................................... 59
4.3.18.3.2 Sustaining an Ultra DMA Data-In Burst.................................................................... 61
4.3.18.3.3 Host Pausing an Ultra DMA Data-In Burst ............................................................... 61
4.3.18.3.4 Device Terminating an Ultra DMA Data-In Burst .................................................... 62
4.3.18.3.5 Host Terminating an Ultra DMA Data-In Burst ........................................................ 63
4.3.18.3.6 Initiating an Ultra DMA Data-Out Burst ................................................................... 65
4.3.18.3.7 Sustaining an Ultra DMA Data-Out Burst................................................................. 67
4.3.18.3.8 Device Pausing an Ultra DMA Data-Out Burst......................................................... 68
4.3.18.3.9 Device Terminating an Ultra DMA Data-Out Burst.................................................. 69
4.3.18.3.10 Host Terminating an Ultra DMA Data-Out Burst...................................................... 71
4.3.18.4 Ultra DMA CRC Calculation ........................................................................................... 73
4.4 Card Configuration ..................................................................................................................... 76
4.4.1 Single Function CF+ Cards ..................................................................................................... 76
4.4.2 Multiple Function CF+ Cards.................................................................................................. 76
4.4.3 Attribute Memory Function..................................................................................................... 79
4.4.4 Configuration Option Register (Base + 00h in Attribute Memory)......................................... 80
4.4.5 Card Configuration and Status Register (Base + 02h in Attribute Memory)........................... 82
TABLE OF CONTENTS
CF+ & CF SPECIFICATION REV. 3.0 © 1998-2004 COMPACTFLASH ASSOCIATION
iii
4.4.6 Pin Replacement Register (Base + 04h in Attribute Memory)................................................ 83
4.4.7 Socket and Copy Register (Base + 06h in Attribute Memory)................................................ 84
4.4.8 I/O Base Register (0, 1) ........................................................................................................... 84
4.4.9 I/O Limit Register.................................................................................................................... 86
4.5 I/O Transfer Function ................................................................................................................. 87
4.5.1 I/O Function............................................................................................................................. 87
4.6 Common Memory Transfer Function........................................................................................ 88
4.6.1 Common Memory Function .................................................................................................... 88
4.7 True IDE Mode I/O Transfer Function ..................................................................................... 89
4.7.1 True IDE Mode I/O Function .................................................................................................. 89
4.8 Host Configuration Requirements for Master/Slave or New Timing Modes ......................... 91
5 METAFORMAT ................................................................................................................................ 92
5.1 Metaformat Overview ................................................................................................................. 92
5.2 Metaformat Requirements.......................................................................................................... 92
5.2.1 Metaformat Representation for Extended Speed Modes ......................................................... 92
6 SOFTWARE INTERFACE............................................................................................................... 94
6.1 CF-ATA Drive Register Set Definition and Protocol................................................................ 94
6.1.1 I/O Primary and Secondary Address Configurations .............................................................. 95
6.1.2 Contiguous I/O Mapped Addressing ....................................................................................... 96
6.1.3 Memory Mapped Addressing .................................................................................................. 97
6.1.4 True IDE Mode Addressing .................................................................................................... 98
6.1.5 CF-ATA Registers................................................................................................................... 98
6.1.5.1 Data Register (Address - 1F0h[170h];Offset 0,8,9) ......................................................... 99
6.1.5.2 Feature Register (Address - 1F1h[171h]; Offset 1, 0Dh Write Only)............................ 100
6.1.5.3 Sector Count Register (Address - 1F2h[172h]; Offset 2)............................................... 100
6.1.5.4 Sector Number (LBA 7-0) Register (Address - 1F3h[173h]; Offset 3).......................... 100
6.1.5.5 Cylinder Low (LBA 15-8) Register (Address - 1F4h[174h]; Offset 4).......................... 100
6.1.5.6 Cylinder High (LBA 23-16) Register (Address - 1F5h[175h]; Offset 5) ....................... 101
6.1.5.7 Drive/Head (LBA 27-24) Register (Address 1F6h[176h]; Offset 6).............................. 101
6.1.5.8 Status & Alternate Status Registers (Address 1F7h[177h]&3F6h[376h]; Offsets 7 & Eh) .
....................................................................................................................................... 102
6.1.5.9 Device Control Register (Address - 3F6h[376h]; Offset Eh) ......................................... 103
6.1.5.10 Card (Drive) Address Register (Address 3F7h[377h]; Offset Fh) ................................. 104
6.2 CF-ATA Command Description............................................................................................... 105
6.2.1 CF-ATA Command Set......................................................................................................... 106
6.2.1.1 Check Power Mode - 98h or E5h ................................................................................... 107
6.2.1.2 Execute Drive Diagnostic - 90h...................................................................................... 108
6.2.1.3 Erase Sector(s) - C0h...................................................................................................... 110
6.2.1.4 Flush Cache – E7h.......................................................................................................... 110
剩余185页未读,继续阅读
资源评论
- aleacco2013-09-03这个资料对我学习CF卡有很大帮助
yusufu
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功