]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/documents/doc/rc.html
Import fatfs R0.13b
[z180-stamp.git] / fatfs / documents / doc / rc.html
similarity index 68%
rename from fatfs/doc/en/rc.html
rename to fatfs/documents/doc/rc.html
index 0e45fbee6c85cd53577ac34b75da66a220074f49..05bcf9ea980bdd4b51ec50387114ab3c0e310843 100644 (file)
@@ -19,7 +19,7 @@
 <dd>The function succeeded.</dd>\r
 \r
 <dt id="de">FR_DISK_ERR</dt>\r
-<dd>An unrecoverable hard error occured in the lower layer, <tt>disk_read</tt>, <tt>disk_write</tt> or <tt>disk_ioctl</tt> function.<br>Note that if once this error occured at any operation to an open file, the file object is aborted and all operations to the file except for close will be rejected.</dd>\r
+<dd>The lower layer, <tt>disk_read</tt>, <tt>disk_write</tt> or <tt>disk_ioctl</tt> function, reported that an unrecoverable hard error occured.<br>Note that if once this error occured at any operation to an open file, the file object is aborted and any operations to the file except for close will be rejected.</dd>\r
 \r
 <dt id="ie">FR_INT_ERR</dt>\r
 <dd>Assertion failed. An insanity is detected in the internal process. One of the following possibilities is suspected.\r
 <li>Work area (file system object, file object or etc...) has been broken by stack overflow or any other tasks. This is the reason in most case.</li>\r
 <li>There is an error of the FAT structure on the volume.</li>\r
 <li>There is a bug in the FatFs module itself.</li>\r
+<li>Wrong lower layer implementation.</li>\r
 </ul>\r
 Note that if once this error occured at any operation to an open file, the file object is aborted and all operations to the file except for close will be rejected.\r
 </dd>\r
 \r
 <dt id="nr">FR_NOT_READY</dt>\r
-<dd>The storage device cannot work due to a failure of <a href="dinit.html"><tt>disk_initialize</tt></a> function due to no medium or any other reason.</dd>\r
+<dd>The lower layer, <a href="dinit.html"><tt>disk_initialize</tt></a> function, reported that the storage device could not be got ready to work. One of the following possibilities is suspected.\r
+<ul>\r
+<li>No medium in the drive.</li>\r
+<li>Wrong lower layer implementation.</li>\r
+<li>Wrong hardware configuration.</li>\r
+<li>The storage device has been broken.</li>\r
+</ul>\r
+</dd>\r
 \r
 <dt id="nf">FR_NO_FILE</dt>\r
 <dd>Could not find the file.</dd>\r
@@ -41,7 +49,14 @@ Note that if once this error occured at any operation to an open file, the file
 <dd>Could not find the path.</dd>\r
 \r
 <dt id="in">FR_INVALID_NAME</dt>\r
-<dd>The given string is invalid as the <a href="filename.html">path name</a>.</dd>\r
+<dd>The given string is invalid as the <a href="filename.html">path name</a>. One of the following possibilities is suspected.\r
+<ul>\r
+<li>There is any character not allowed for the file name.</li>\r
+<li>The string is out of 8.3 format. (at non-LFN cfg.)</li>\r
+<li><tt>FF_MAX_LFN</tt> is insufficient for the file name. (at LFN cfg.)</li>\r
+<li>There is any character encoding error in the string.</li>\r
+</ul>\r
+</dd>\r
 \r
 <dt id="dn">FR_DENIED</dt>\r
 <dd>The required access was denied due to one of the following reasons:\r
@@ -62,8 +77,8 @@ Note that if once this error occured at any operation to an open file, the file
 <dt id="io">FR_INVALID_OBJECT</dt>\r
 <dd>The file/directory object is invalid or a null pointer is given. There are some reasons as follows:\r
 <ul>\r
-<li>It has been closed, it has not been opened or it has been collapsed.</li>\r
-<li>It has been invalidated by a voulme mount process. Open objects on the volume are invalidated by voulme mount process.</li>\r
+<li>It has been closed, or collapsed.</li>\r
+<li>It has been invalidated. Open objects on the volume are invalidated by voulme mount process.</li>\r
 <li>Physical drive is not ready to work due to a media removal.</li>\r
 </ul>\r
 </dd>\r
@@ -72,40 +87,39 @@ Note that if once this error occured at any operation to an open file, the file
 <dd>A write mode operation against the write-protected media.</dd>\r
 \r
 <dt id="id">FR_INVALID_DRIVE</dt>\r
-<dd>Invalid drive number is specified in the path name. A null pointer is given as the path name. (Related option: <tt><a href="config.html#volumes">_VOLUMES</a></tt>)</dd>\r
+<dd>Invalid drive number is specified in the path name. A null pointer is given as the path name. (Related option: <tt><a href="config.html#volumes">FF_VOLUMES</a></tt>)</dd>\r
 \r
 <dt id="ne">FR_NOT_ENABLED</dt>\r
 <dd>Work area for the logical drive has not been registered by <tt>f_mount</tt> function.</dd>\r
 \r
 <dt id="ns">FR_NO_FILESYSTEM</dt>\r
-<dd>There is no valid FAT volume on the drive.</dd>\r
+<dd>There is no valid FAT volume on the drive or wrong lower layer implementation.</dd>\r
 \r
 <dt id="ma">FR_MKFS_ABORTED</dt>\r
 <dd>The <tt>f_mkfs</tt> function aborted before start in format due to a reason as follows:\r
 <ul>\r
-<li>It is pmpossible to formart with the given parameters.</li>\r
-<li>The size of volume is too small.</li>\r
-<li>The size of given work area is too small.</li>\r
-<li>The partition bound to the logical drive coulud not be found. (Related option: <tt><a href="config.html#multi_partition">_MULTI_PARTITION</a></tt>)</li>\r
+<li>It is impossible to format with the given parameters.</li>\r
+<li>The size of volume is too small. 128 sectors minimum with <tt>FM_SFD</tt>.</li>\r
+<li>The partition bound to the logical drive coulud not be found. (Related option: <tt><a href="config.html#multi_partition">FF_MULTI_PARTITION</a></tt>)</li>\r
 </ul>\r
 </dd>\r
 \r
 <dt id="tm">FR_TIMEOUT</dt>\r
-<dd>The function was canceled due to a timeout of <a href="appnote.html#reentrant">thread-safe control</a>. (Related option: <tt><a href="config.html#timeout">_TIMEOUT</a></tt>)</dd>\r
+<dd>The function was canceled due to a timeout of <a href="appnote.html#reentrant">thread-safe control</a>. (Related option: <tt><a href="config.html#timeout">FF_TIMEOUT</a></tt>)</dd>\r
 \r
 <dt id="lo">FR_LOCKED</dt>\r
-<dd>The operation to the object was rejected by <a href="appnote.html#dup">file sharing control</a>. (Related option: <tt><a href="config.html#fs_lock">_FS_LOCK</a></tt>)</dd>\r
+<dd>The operation to the object was rejected by <a href="appnote.html#dup">file sharing control</a>. (Related option: <tt><a href="config.html#fs_lock">FF_FS_LOCK</a></tt>)</dd>\r
 \r
 <dt id="nc">FR_NOT_ENOUGH_CORE</dt>\r
 <dd>Not enough memory for the operation. There is one of the following reasons:\r
 <ul>\r
-<li>Could not allocate a memory for LFN working buffer. (Related option: <tt><a href="config.html#use_lfn">_USE_LFN</a></tt>)</li>\r
+<li>Could not allocate a memory for LFN working buffer. (Related option: <tt><a href="config.html#use_lfn">FF_USE_LFN</a></tt>)</li>\r
 <li>Size of the given buffer is insufficient for the size required.</li>\r
 </ul>\r
 </dd>\r
 \r
 <dt id="tf">FR_TOO_MANY_OPEN_FILES</dt>\r
-<dd>Number of open objects has been reached maximum value and no more object can be opened. (Related option: <tt><a href="config.html#fs_lock">_FS_LOCK</a></tt>)</dd>\r
+<dd>Number of open objects has been reached maximum value and no more object can be opened. (Related option: <tt><a href="config.html#fs_lock">FF_FS_LOCK</a></tt>)</dd>\r
 \r
 <dt id="ip">FR_INVALID_PARAMETER</dt>\r
 <dd>The given parameter is invalid or there is an inconsistent for the volume.</dd>\r