fatfs v0.05a Feb 03, 2008:

- Added f_truncate().
- Added f_utime().
- Fixed off by one error at FAT sub-type determination.
- Fixed btr in f_read() can be mistruncated.
- Fixed cached sector is not flushed when create and close without write.
This commit is contained in:
savelij13 committed 2025-09-11 09:13:15 +03:00
1 parent 36c173e705
commit e400c8c902
40 files changed
+1238 -750

No files matched your search

+18 -10
View File
@@ -3,9 +3,11 @@
<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 File System Module</title>
<title>ELM - FAT File System Module</title>
</head>
<body>
@@ -14,18 +16,18 @@
<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 the FAT file system to small embedded systems. The FatFs module is written in compliance with ANSI C, therefore it is independent of hardware architecture. It can be incorporated into cheap microcontrollers, such as 8051, PIC, AVR, SH, Z80, H8, ARM and etc..., without any change.</p>
<p>FatFs is a generic file system module to implement the FAT file system to small embedded systems. The FatFs is written in compliance with ANSI C, therefore it is independent of hardware architecture. It can be incorporated into cheap microcontrollers, such as 8051, PIC, AVR, SH, Z80, H8, ARM and etc..., without any change.</p>
<h4>Features of FatFs Module</h4>
<h4>Features of FatFs</h4>
<ol>
<li>Separated buffer for FAT structure and each file, suitable for fast multiple file accsess.</li>
<li>Supports multiple drives/partitions.</li>
<li>Separated buffer for FAT structure and each file, suitable for fast multiple file access.</li>
<li>Supports multiple drives and partitions.</li>
<li>Supports FAT12, FAT16 and FAT32.</li>
<li>Supports 8.3 format file name. (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>
<h4>Features of Tiny-FatFs (different to FatFs)</h4>
<ol>
<li>Very low memory consumption, suitable for small memory system. (1KB RAM)</li>
<li>Supports only single drive.</li>
@@ -37,12 +39,13 @@
<h3>Application Interface</h3>
<p>FatFs/Tiny-FatFs module provides following functions.</p>
<ul>
<li><a href="en/mount.html">f_mount</a> - Register/Unregister a Work Area</li>
<li><a href="en/open.html">f_open</a> - Open/Create a File</li>
<li><a href="en/mount.html">f_mount</a> - Register or Unregister a Work Area</li>
<li><a href="en/open.html">f_open</a> - Open or Create a File</li>
<li><a href="en/close.html">f_close</a> - Close a File</li>
<li><a href="en/read.html">f_read</a> - Read File</li>
<li><a href="en/write.html">f_write</a> - Write File</li>
<li><a href="en/lseek.html">f_lseek</a> - Move R/W Pointer</li>
<li><a href="en/lseek.html">f_lseek</a> - Move File R/W Pointer</li>
<li><a href="en/truncate.html">f_truncate</a> - Truncate File</li>
<li><a href="en/sync.html">f_sync</a> - Flush Cached Data</li>
<li><a href="en/opendir.html">f_opendir</a> - Open a Directory</li>
<li><a href="en/readdir.html">f_readdir</a> - Read a Directory Item</li>
@@ -51,6 +54,7 @@
<li><a href="en/mkdir.html">f_mkdir</a> - Create a Directory</li>
<li><a href="en/unlink.html">f_unlink</a> - Remove a File or Directory</li>
<li><a href="en/chmod.html">f_chmod</a> - Change Attribute</li>
<li><a href="en/utime.html">f_utime</a> - Change Timestamp</li>
<li><a href="en/rename.html">f_rename</a> - Rename/Move a File or Directory</li>
<li><a href="en/mkfs.html">f_mkfs</a> - Create a File System on the Drive</li>
</ul>
@@ -73,8 +77,9 @@
<div class="para">
<h3>Resources</h3>
<p>The FatFs/Tiny-FatFs module is a free software and is opened for education, research and development. You can use, modify and/or republish it for personal, non-profit or profit use without any restriction under your responsibility.</p>
<p>The FatFs/Tiny-FatFs module is a free software and is opened for education, research and development. You can use, modify and/or republish it for personal, non-profit or commercial use without any restriction under your responsibility.</p>
<ul>
<li><a href="ff005a.zip">FatFs/Tiny-FatFs R0.05a</a> | <a href="updates.txt">Updates</a> <span class="mfd">Feb 3, 2008</span></li>
<li><a href="en/appnote.html">FatFs module application note</a></li>
<li><a href="img/rwtest.png">Benchmark</a> (Test Board: ATmega64/9.2MHz with <a href="img/rw_mmc.jpeg">MMC</a>/<a href="img/rw_ata.jpeg">HDD</a>/<a href="img/rw_cfc.jpeg">CFC</a>)</li>
<li><a href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx">FAT32 Specification</a> (Microsoft)</li>
@@ -82,5 +87,8 @@
</ul>
</div>
<hr>
<p class="foot"><a href="http://elm-chan.org/fsw/ff/00index_e.html">FatFs Home Page</a></p>
</body>
</html>