📄 micrium products file system.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0057)http://www.ucos-ii.com/contents/products/file_system.html -->
<HTML><HEAD><TITLE>Micrium Products : File System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
href="Micrium Products File System.files/white-micrium3.css" type=text/css
rel=stylesheet>
<META
content=" Micrium is Empowering Embedded systems via ANSI C source code for RTOS, GUI, File System and TCP/IP stack. Book or manuals documentation format"
name=Description>
<META
content="Embedded Kernel, Embedded Operating System, Real time operating system, RTOS, Embedded Software, Embedded Systems, Kernel, Real Time Kernel, ROMable, RAM, ROM, EPROM, EEPROM, Scalable, Portability, Ports, Microprocessors, Microcontrollers, Context Switching, Task Switch, Task Scheduling, uC/OS, 礐/OS, PEG, Portable Embedded Graphical User Interface, Graphical User Interface, GUI, Embedded GUI, Embedded Graphical Display, LCD Display, Antialiasing, Fonts, Bitmaps, Display, widget, widgets, dialog, dialogs, windows, radio button, check box, scroll bar, slider,edit box, 礐/GUI, uC/GUI, File System, Flash, Loader, 礐/FS product page, Directory, 礐/FlashLoader, Flash, Memory, Load, Loader, Update, Open Source"
name=Keywords>
<SCRIPT language=JavaScript>
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0
onload="MM_preloadImages('guimenu-imgs/guimenu_04-over.gif')" marginheight="0"
marginwidth="0">
<DIV id=Layer1
style="Z-INDEX: 1; LEFT: 295px; WIDTH: 282px; POSITION: absolute; TOP: 46px; HEIGHT: 94px">
<OBJECT
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0
height=90 width=150 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="howtobuy-FS.swf"><PARAM NAME="quality" VALUE="high">
<embed src="howtobuy-FS.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="150" height="90"></embed>
</OBJECT></DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD><IMG height=30
src="Micrium Products File System.files/title-filesys.gif"
width=600></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=5 width=600 border=0>
<TBODY>
<TR vAlign=top>
<TD colSpan=2><A
href="http://www.ucos-ii.com/contents/products/uc-os-ii.html"><IMG
height=61
src="Micrium Products File System.files/logo-ucFS-small.gif"
width=249 border=0></A></TD></TR>
<TR vAlign=top>
<TD width=15>
<P><IMG height=20
src="Micrium Products File System.files/spacer.gif"
width=14></P></TD>
<TD width=600>
<P><A
href="http://www.ucos-ii.com/contents/products/FileSystem/licensing.html"><FONT
size=2>Licensing</FONT></A></P></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<P></P>
<P class=titleBIG>The licensing link above also contains pricing request
information. </P>
<P></P>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD width="37%">
<DIV align=center><A
href="http://www.ucos-ii.com/contents/products/FileSystem/uC-FS-DataSheet-PDF.pdf"><IMG
height=180
src="Micrium Products File System.files/uC-FS-DataSheet-Small.jpg"
width=142 border=0><BR></A><FONT size=2><B><FONT
color=#ff0000>Product Datasheet</FONT></B></FONT></DIV></TD>
<TD width="63%"> </TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=3 width=540 border=1>
<TBODY>
<TR>
<TD borderColor=#000066>
<DIV align=center>
<P align=center><SPAN class=subtitle>Download a compiled library,
user manual and sample code<BR>for the Windows environment.
<BR></SPAN><BR><A
href="http://www.ucos-ii.com/contents/products/FileSystem/trialfs.html"><FONT
size=3>Trial Download</FONT></A></P></DIV></TD></TR></TBODY></TABLE>
<P></P></TD></TR>
<TR>
<TD class=titleBIG vAlign=top bgColor=#ced6f0 colSpan=2
height=25>Introduction</TD></TR>
<TR>
<TD vAlign=top colSpan=2><B>礐/FS</B> is a FAT file system which can be
used on any media, for which you can provide basic hardware access
functions. <B>礐/FS</B> is a high performance library that has been
optimized for speed, versatility and memory footprint. </TD></TR>
<TR>
<TD class=titleBIG vAlign=top bgColor=#ced6f0 colSpan=2
height=25>Features</TD></TR>
<TR>
<TD>
<P><B>礐/FS</B> is written in ANSI C and can be used on virtually any CPU.
Some of the features of <B>礐/FS</B> are:<BR></P>
<UL>
<LI> MS-DOS/MS-Windows compatible FAT12, FAT16 and FAT32 support.
<BR><BR>
<LI> Multiple device driver support. You can use different device
drivers with <B>礐/FS</B>, which allows you to access different types of
hardware with the file system at the same time. <BR><BR>
<LI> Multiple media support. A device driver allows you to access
different medias at the same time. <BR><BR>
<LI> OS support. <B>礐/FS</B> can easily be integrated into any OS
including <B>礐/OS-II</B>. You can thus make file operations in a
multithreaded environment. <BR><BR>
<LI> ANSI C stdio.h like API for user applications. An application
using standard C I/O library can easily be ported to use<B> 礐/FS</B>.
<BR><BR>
<LI> Very simple device driver structure. <B>礐/FS</B> device
drivers need only very basic functions for reading and writing blocks.
Therefore it is very simple to support your custom hardware. <BR><BR>
<LI> Generic device driver for SmartMedia cards, which can easily
be used with any kind of card reader hardware. <BR></LI></UL></TD></TR>
<TR>
<TD class=titleBIG vAlign=top bgColor=#ced6f0 colSpan=2 height=25>Basic
concepts</TD></TR>
<TR>
<TD>
<P><B>礐/FS</B> is organized in different layers. </P>
<TABLE borderColor=#00004c cellSpacing=0 cellPadding=3 width="100%"
border=1>
<TBODY>
<TR>
<TD width="15%" bgColor=#ced6f0><FONT size=+0><B>Layer</B></FONT></TD>
<TD align=middle width="85%" bgColor=#ced6f0><FONT
size=+0><B>Description</B></FONT></TD></TR>
<TR>
<TD vAlign=top width="15%"><A
href="http://www.ucos-ii.com/contents/products/file_system.html#">API</A></TD>
<TD width="85%">The API layer is the interface between <B>礐/FS</B>
and the user application. It contains a library of ANSI C oriented
file functions, such as FS_FOpen(), FS_FWrite() etc. The API layer
transfers these calls to the file system layer. Currently we only
provide a FAT file system layer for <B>礐/FS</B>, but the API layer
can deal with different file system layers at the same time. So it
is possible to use FAT and any other file system concurrently with
<B>礐/FS</B>.</TD></TR>
<TR>
<TD vAlign=top width="15%"><A
href="http://www.ucos-ii.com/contents/products/file_system.html#">File
System</A></TD>
<TD width="85%">This layer translates file operations to logical
block operations. After such a translation, the file system calls
the logical block layer and specifies the corresponding device
driver for a device.</TD></TR>
<TR>
<TD width="15%"><A
href="http://www.ucos-ii.com/contents/products/file_system.html#">Logical
Block</A></TD>
<TD width="85%">The main purpose of the logical block layer is to
synchronize accesses to a device driver and to have an easy
interface for the file system layer. The logical block layer calls a
device driver to make a block operation.</TD></TR>
<TR>
<TD width="15%"><A
href="http://www.ucos-ii.com/contents/products/file_system.html#">Device
driver</A></TD>
<TD width="85%">Device Drivers are low level routines that are used
to access your hardware. The structure of the device driver is
simple to allow easy integration of your
hardware.</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=titleBIG vAlign=top bgColor=#ced6f0 colSpan=2 height=25>OS
Integration</TD></TR>
<TR>
<TD><B>礐/FS</B> is suitable for usage with just about any multithreaded
environment. To ensure that different tasks can access the file system
concurently, you have to implement a few operating system dependent
functions. <B>礐/OS-II</B> functions are included with <B>礐/FS</B>.</TD></TR>
<TR>
<TD class=titleBIG vAlign=top bgColor=#ced6f0 colSpan=2 height=25>Device
Drivers </TD></TR>
<TR>
<TD>
<P><B>礐/FS</B> has been designed to cooperate with any kind of hardware.
To use a specific hardware with <B>礐/FS</B>, a device driver for that
hardware is required. The device driver consists of basic I/O functions
for accessing the hardware and a global table, which holds pointers to
these functions.</P>
<P>Available drivers are:</P>
<UL>
<LI> RAM disk <BR><BR>
<LI> SMC (Smart Card)<BR><BR>
<LI> MMC (Multimedia Card)<BR><BR>
<LI> SD (Secure Digital)<BR><BR>
<LI> CF (Compact Flash)<BR><BR>
<LI> Windows (used by the Visual C++ demonstration and simulation
code)<BR><BR>
<LI> IDE Hard Disk<BR><BR>
<LI> Xilinx System ACE<BR><BR>
<LI> Linear Flash memory<BR><BR></LI></UL>
<P>Drivers available soon:<BR></P>
<UL>
<LI> Floppy <BR><BR>
<LI> CD (Compact Disk) <BR><BR></LI></UL></TD></TR>
<TR>
<TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -