fatfs v0.04a Apr 01, 2007:
- Supported multiple partitions on a plysical drive. (FatFs) - Fixed an endian sensitive code in f_mkfs(). (FatFs) - Added a capability of extending the file size to f_lseek(). - Added minimization level 3. - Fixed a problem that can collapse a sector when recreate an - existing file in any sub-directory at non FAT32 cfg. (Tiny-FatFs)
This commit is contained in:
1 parent
3d65978d31
commit
8e92305484
66 files changed
+1667
-1136
No files matched your search
+15
-44
@@ -3,11 +3,9 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<link rel="start" title="Site Top" href="../../">
|
||||
<link rel="up" title="Freewares" href="../../fsw_e.html">
|
||||
<link rel="alternate" hreflang="ja" title="Japanese version" href="00index_j.html">
|
||||
<link rel="stylesheet" href="css_e.css" type="text/css" media="screen" title="ELM Default">
|
||||
<title>ELM - Generic FAT Files System Module</title>
|
||||
<title>ELM - Generic FAT File System Module</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -16,47 +14,22 @@
|
||||
|
||||
<div class="abst">
|
||||
<img src="img/layers.png" class="rset" width="245" height="255" alt="layer">
|
||||
<p>FatFs module is an experimental project to implement a FAT file system to small embdded systems. The FatFs module is written in compliance with ANSI C, therefore it is independent of hardware architecture. It can be incorporated into most small microcontrollers, such as 8051, PIC, AVR, H8, Z80 and etc..., without any change. I created two modules in different configurations in consideration of various use. To use the FatFs module, low level disk I/O functions for each media must be provided by user.</p>
|
||||
<p>FatFs module is an experimental project to implement a FAT file system to small embdded systems. The FatFs module is written in compliance with ANSI C, therefore it is independent of hardware architecture. It can be incorporated into most 8-bit microcontrollers, such as 8051, PIC, AVR, H8, Z80 and etc..., without any change. I created two modules in different configurations in consideration of various use.</p>
|
||||
|
||||
<h4>Features of FatFs Module</h4>
|
||||
<ul>
|
||||
<li>Separated buffer for FAT/DIR and each file, suitable for fast multiple file accsess.</li>
|
||||
<li>Supports FAT12, FAT16(+FAT64) and FAT32 <small>(FAT64: FAT16 in 64KB/cluster)</small></li>
|
||||
<li>Supports multiple drives.</li>
|
||||
<li>Supports 8.3 format file name and NT lower capital flags</li>
|
||||
<li>Supports two partitioning rules: FDISK (only 1st primariy partition) and SFD</li>
|
||||
<li>Optimized for 8/16 bit microcontrollers.</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>Separated buffer for FAT structure and each file, suitable for fast multiple file accsess.</li>
|
||||
<li>Supports multiple drives/partitions.</li>
|
||||
<li>Supports FAT12, FAT16(+FAT64) and FAT32. <small>(FAT64: FAT16 in 64KB/cluster)</small></li>
|
||||
<li>Supports 8.3 format file name and NT lower case flag. (LFN is not supported)</li>
|
||||
<li>Supports two partitioning rules: FDISK and Super-floppy.</li>
|
||||
<li>Optimized for 8/16-bit microcontrollers.</li>
|
||||
</ol>
|
||||
<h4>Features of Tiny-FatFs Module (different to FatFs)</h4>
|
||||
<ul>
|
||||
<li>Very low memory consumption, suitable for small memory system (RAM:1KB)</li>
|
||||
<ol>
|
||||
<li>Very low memory consumption, suitable for small memory system. (RAM:1KB)</li>
|
||||
<li>Supports only single drive.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="para">
|
||||
<h3>Memory Usage</h3>
|
||||
<p>There are some configuration options to eliminate unused functions to reduce module size. Following tables are the memory consumption in unit of byte on avr-gcc.</p>
|
||||
|
||||
<div class="lset">
|
||||
<table class="lst2">
|
||||
<caption>FatFs</caption>
|
||||
<tr><th>Section</th><th>Std cfg.</th><th>Min cfg.</th></tr>
|
||||
<tr><td>Program (R/W cfg.)</td><td>8574</td><td>6094</td></tr>
|
||||
<tr><td>Program (R/O cfg.)</td><td>4268</td><td>3494</td></tr>
|
||||
<tr><td>Static Work Area</td><td colspan="2">2 + 2*<drives></td>
|
||||
<tr><td>Dynamic Work Area</td><td colspan="2">550*<drives> + 544*<files></td>
|
||||
</table>
|
||||
</div>
|
||||
<table class="lst2">
|
||||
<caption>Tiny-FatFs</caption>
|
||||
<tr><th>Section</th><th>Std cfg.</th><th>Min cfg.</th></tr>
|
||||
<tr><td>Program (R/W cfg.)</td><td>7164</td><td>4890</td></tr>
|
||||
<tr><td>Program (R/O cfg.)</td><td>3660</td><td>2946</td></tr>
|
||||
<tr><td>Static Work Area</td><td colspan="2">4</td></tr>
|
||||
<tr><td>Dynamic Work Area</td><td colspan="2">542 + 28*<files></td></tr>
|
||||
</table>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -86,12 +59,13 @@
|
||||
|
||||
<div class="para">
|
||||
<h3>Disk I/O Interface</h3>
|
||||
<p>Since the FatFs/Tiny-FatFs module is completely separated from disk I/O layer, it requires following functions to lower layer to read/write physical disk and to get current time. These functions must be provided by user.</p>
|
||||
<p>Since the FatFs/Tiny-FatFs module is completely separated from disk I/O layer, it requires following functions to lower layer to read/write physical disk and to get current time. These functions must be provided by user. The low level disk I/O module that have this interace must be provided by user. The sample projects are also available.</p>
|
||||
<ul>
|
||||
<li><a href="en/dinit.html">disk_initialize</a> - Initialize disk drive</li>
|
||||
<li><a href="en/dstat.html">disk_status</a> - Get disk status</li>
|
||||
<li><a href="en/dread.html">disk_read</a> - Read sector(s)</li>
|
||||
<li><a href="en/dwrite.html">disk_write</a> - Write sector(s)</li>
|
||||
<li><a href="en/dioctl.html">disk_ioctl</a> - Control device dependent features</li>
|
||||
<li><a href="en/fattime.html">get_fattime</a> - Get current time</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -108,8 +82,5 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<hr>
|
||||
<p class="foot"><a href="../../cc_e.html">Return</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user