这个不正常,FatFS对此的解释如下:
[C] 纯文本查看 复制代码 FR_DENIED
The required access was denied due to one of the following reasons:
Write mode open against the read-only file. (f_open)
Deleting the read-only file or directory. (f_unlink)
Deleting the non-empty directory or current directory. (f_unlink)
Reading the file opened without FA_READ flag. (f_read)
Any modification to the file opened without FA_WRITE flag. (f_write, f_truncate, f_expand)
Could not create the object due to root directory full or disk full. (f_open, f_mkdir)
Could not find a contiguous area for the file. (f_expand) |