硬汉嵌入式论坛

 找回密码
 立即注册
查看: 3474|回复: 6
收起左侧

[eMMC/SD] FatFS升级到0.13b版本,可以给RT1052配上当前最新版本(更新日期2018-04-07)

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107157
QQ
发表于 2018-4-20 03:06:12 | 显示全部楼层 |阅读模式
论坛下载: ff13b.zip (2.27 MB, 下载次数: 101)
官方下载地址: http://elm-chan.org/fsw/ff/00index_e.html


R0.13b (April 07, 2018)  
Added support for UTF-32 encoding on the API. (FF_LFN_UNICODE = 3)  Added support for Unix style volume prefix. (FF_STR_VOLUME_ID = 2)  Fixed accesing any object on the exFAT root directory beyond the cluster boundary can fail. (appeared at R0.12c)  Fixed f_setlabel() does not reject some invalid characters. (appeared at R0.09b)

R0.13a (October 14, 2017)
  Added support for UTF-8 encoding on the API. (FF_LFN_UNICODE = 2)
  Added options for file name output buffer. (FF_LFN_BUF, FF_SFN_BUF).
  Added dynamic memory allocation option for working buffer of f_mkfs() and f_fdisk().
  Fixed f_fdisk() and f_mkfs() create the partition table with wrong CHS parameters. (appeared at R0.09)
  Fixed f_unlink() can cause lost clusters at fragmented file on the exFAT volume. (appeared at R0.12c)
  Fixed f_setlabel() rejects some valid characters for exFAT volume. (appeared at R0.12)

R0.13 (May 21, 2017)
  Changed heading character of configuration keywords "_" to "FF_".
  Removed ASCII-only configuration, FF_CODE_PAGE = 1. Use FF_CODE_PAGE = 437 instead.
  Added f_setcp(), run-time code page configuration. (FF_CODE_PAGE = 0)
  Improved cluster allocation time on stretch a deep buried cluster chain.
  Improved processing time of f_mkdir() with large cluster size by using FF_USE_LFN = 3.
  Improved NoFatChain flag of the fragmented file to be set after it is truncated and got contiguous.
  Fixed archive attribute is left not set when a file on the exFAT volume is renamed. (appeared at R0.12)
  Fixed exFAT FAT entry can be collapsed when write or lseek operation to the existing file is done. (appeared at R0.12c)
  Fixed creating a file can fail when a new cluster allocation to the exFAT directory occures. (appeared at R0.12c)

R0.12c (March 04, 2017)
  Improved write throughput at the fragmented file on the exFAT volume.
  Made memory usage for exFAT be able to be reduced as decreasing _MAX_LFN.
  Fixed successive f_getfree() can return wrong count on the FAT12/16 volume. (appeared at R0.12)
  Fixed configuration option _VOLUMES cannot be set 10. (appeared at R0.10c)


回复

使用道具 举报

2

主题

569

回帖

575

积分

金牌会员

积分
575
发表于 2018-4-20 06:46:36 | 显示全部楼层
本帖最后由 leiyitan 于 2018-4-20 22:22 编辑

读写均衡,损坏扇区屏蔽,掉电保护…单片机都是spi flash 或nand,nor,一直都不敢用fat,或许不用文件系统。emmc是个不错选择,可以通过sdio接口,不足之处就是BGA封装不好搞,资料也不多。淘宝上有emmc转sdio转接板买,大神玩家可以测试一下,驱动程序应该和驱动sd可没区别…
回复

使用道具 举报

20

主题

249

回帖

309

积分

高级会员

积分
309
发表于 2018-4-20 08:56:38 | 显示全部楼层
leiyitan 发表于 2018-4-20 06:46
读写均衡,损坏扇区屏蔽,掉电保护…单片机都是spi flash 或nand,nor,一直都不敢用fat,或许不用文件系统 ...

这个掉电保护在fs上如何实现呢?电都没了,如何写flash?

如果做到实时或者缓存有变化就刷新写入flash的,flash寿命会大大降低,这样就更不好了
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107157
QQ
 楼主| 发表于 2018-4-20 11:05:20 | 显示全部楼层
leiyitan 发表于 2018-4-20 06:46
读写均衡,损坏扇区屏蔽,掉电保护…单片机都是spi flash 或nand,nor,一直都不敢用fat,或许不用文件系统 ...

1、 读写均衡,损坏扇区屏蔽,掉电保护等问题,商用的文件系统都做的很好,像RL-FlashFS,emFile等,而且FAT兼容。

2、eMMC国外的牌子都很贵,最小4GB容量,这个之前的讨论帖子
http://www.armbbs.cn/forum.php?m ... peid%26typeid%3D136
国内有家便宜的。

另外就是现在eMMC都是5.0版本了,而RT仅支持到4.5
回复

使用道具 举报

36

主题

2040

回帖

2148

积分

至尊会员

积分
2148
发表于 2018-4-20 11:56:25 | 显示全部楼层
可以上littlefs,强力推荐
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
回复

使用道具 举报

28

主题

274

回帖

358

积分

高级会员

积分
358
发表于 2019-3-21 13:38:36 | 显示全部楼层
回复

使用道具 举报

28

主题

274

回帖

358

积分

高级会员

积分
358
发表于 2019-3-21 13:47:44 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-20 19:28 , Processed in 0.303669 second(s), 28 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表