没有合适的资源?快使用搜索试试~ 我知道了~
首页uC/FS用户手册V1.34a.pdf(加书签和注释,英文版)
资源详情
资源评论
资源推荐
µC/FS
File System
Software Version 1.34a
CPU independent
User & Reference manual
Document revision 1
Micriµm Technologies Corporation
www.micrium.com
Empowering Embedded Systems
2/127 User's & reference manual for µC/FS
2002 Micrium Technologies Corporation
Disclaimer
The information in this document is subject to change without notice. While the
information herein is assumed to be accurate, Micriµm Technologies Corporation (the
vendor) assumes no responsibility for any errors or omissions.
The vendor makes and you receive no warranties or conditions, express, implied,
statutory or in any communications with you. The vendor specifically disclaims any
implied warranty of merchantability or fitness for a particular purpose.
Copyright notice
No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without the prior written permission of the vendor. The
Software described in this document is furnished under a license and may only be
used or copied in accordance with the terms of such a license. If you have received
this product as trial version for evaluation, you are entitled to evaluate it, but you may
under no circumstances use it in a product. If you want to do so, you need to obtain a
fully licensed version from the vendor.
2002 Micrium Technologies Corporation
http://www.micrium.com/
Trademarks
Names mentioned in this manual may be trademarks of their respective companies.
Brand and product names are trademarks or registered trademarks of their respective
holders.
Contact
Micrium Technologies Corporation
949 Crestview Circle
Weston, FL 33327-1848
U.S.A.
Phone : +1 954 217 2036
FAX : +1 954 217 2037
Email: support@micrium.com
Web: http://www.micrium.com/
User's & reference manual for µC/FS 3/127
2002 Micrium Technologies Corporation
Software and manual versions
This manual describes the software version 1.10. If any error occurs, please inform
us and we will try to assist you as soon as possible.
For further information on topics or routines not yet specified, please contact us.
Print date: 10/20/2003
Software Manual Date By Explanation
1.34 1 031010 TW Official successor of 1.32
Hardware interface routines of MMC/SD simplified.
MMC/SD partition table no longer needed.
Several improvements and bug fixes in MMC/SD driver.
1.32 1 030910 TW/TB FAT32 formatting added.
Directory entries with attribute ATTR_LONG_NAME are no
longer shown by FS_ReadDir.
FS_FWrite performance improved by optimizing directory
access.
FS_CMD_GET_DISKFREE can now be executed as first
command after a disk change took place.
Pointer to device information table is located in ROM now.
FS_Remove reports error when file does not exist or cannot
be removed.
FS_IoCtl commands FS_CMD_READ_SECTOR and
FS_CMD_WRITE_SECTOR added.
Non ANSI C conform construct in RAM disk and generic
FLASH driver removed.
Improved function comments.
FS__fat_fread return value corrected for element size bigger
than 1.
FS__fat_fwrite return value corrected for element size bigger
than 1.
FS__fat_FAT_alloc valid cluster check improved.
Switch FS_FAT_FWRITE_UPDATE_DIR added; default on.
Standard library function calls removed.
Expressions in code simplified.
SMC write performance improved by optional switch
FS_SMC_PAGE_BUFFER.
New cluster allocation performance improved.
Element FAT_DirAttr added in structure FS_DIRENT.
FS_FWrite performance improved by avoiding unnecessary
read operations.
1.30 1 030530 TB FS_IoCtl documentation added.
Switch FS_FAT_DISKINFO added.
Logical Block Read Cache implemented.
No open file bug when using FS_FOpen(name,"r+") corrected.
Additional cluster allocation bug when writing data with size
of a cluster corrected.
Command FS_CMD_FORMAT_AUTO added.
1.26 1 030113 TB Support for trial version added.
FS__fat_malloc returns cleared buffer.
MMC driver deactivates CS whenever allowed by
specification.
1.24 1 021205 TB FAT32 & POSIX like directory functions added
1.20 1 021010 TB IDE & CompactFlash driver added
1.10 1 020927 TB MultiMedia & SD card driver added
1.00 1 020830 KG Revised for language/grammar.
Version control table added.
Typographic conventions (section 1.3) changed into table.
Index added.
4/127 User's & reference manual for µC/FS
2002 Micrium Technologies Corporation
Contents
Disclaimer............................................................................................................................ 2
Copyright notice .................................................................................................................. 2
Trademarks ......................................................................................................................... 2
Contact................................................................................................................................ 2
Software and manual versions ............................................................................................ 3
Contents.............................................................................................................................. 4
1. About this document........................................................................................................ 6
1.1. Assumptions ........................................................................................................ 6
1.2. How to use this manual........................................................................................ 6
1.3. Typographic Conventions for Syntax ................................................................... 6
2. Introduction to µC/FS ...................................................................................................... 7
2.1. What is µC/FS?.................................................................................................... 7
2.2. Features............................................................................................................... 7
3. Basic concepts ................................................................................................................ 8
3.1. API Layer ............................................................................................................. 8
3.2. File System Layer ................................................................................................ 8
3.3. Logical Block Layer.............................................................................................. 9
3.4. Device Driver ....................................................................................................... 9
4. Getting started............................................................................................................... 10
4.1. Installation.......................................................................................................... 10
4.2. Use the Windows sample................................................................................... 10
4.3. Integrating µC/FS into your system.................................................................... 16
5. Configuration of µC/FS.................................................................................................. 18
5.1. fs_conf.h ............................................................................................................ 18
5.2. fs_port.h............................................................................................................. 24
6. API functions ................................................................................................................. 27
6.1. File system control functions.............................................................................. 28
6.2. File access functions.......................................................................................... 30
6.3. Direct input/output functions............................................................................... 33
6.4. File positioning functions.................................................................................... 35
6.5. Error-handling functions..................................................................................... 37
6.6. Operations on files ............................................................................................. 40
6.7. Directory functions ............................................................................................. 41
6.8. Extended functions ............................................................................................ 48
7. Device drivers................................................................................................................ 50
7.1. Device driver functions....................................................................................... 50
7.2. Device driver function table................................................................................ 55
7.3. Integrate a new device driver ............................................................................. 55
8. SmartMedia Card Device Driver.................................................................................... 57
8.1. Control line functions ......................................................................................... 58
8.2. Power control functions...................................................................................... 64
8.3. Status detection functions.................................................................................. 66
8.4. Data transfer functions....................................................................................... 73
8.5. Timer functions .................................................................................................. 75
9. MultiMedia & SD card device driver .............................................................................. 79
9.1. General SPI configuration .................................................................................. 79
9.2. Control line functions ......................................................................................... 79
9.2. Operation condition detection and adjusting ...................................................... 82
User's & reference manual for µC/FS 5/127
2002 Micrium Technologies Corporation
9.3. Medium status functions .................................................................................... 85
9.4. Data transfer functions....................................................................................... 87
10. CompactFlash card & IDE device driver...................................................................... 90
10.1. Control line functions ....................................................................................... 90
10.2. ATA I/O register access functions.................................................................... 93
10.3. Status detection functions .............................................................................. 111
11. OS integration ........................................................................................................... 113
11.1. OS layer control functions .............................................................................. 113
11.2. Internal data structure protection ................................................................... 115
11.3. File access protection .................................................................................... 119
11.4. Device access protection ............................................................................... 121
11.5. Time/Date functions ....................................................................................... 123
Index ............................................................................................................................... 126
剩余126页未读,继续阅读
win_will
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3