赞
踩
http://elm-chan.org/fsw/ff/00index_e.html
fat源码下载地址。
fat移植比较简单,只要实现相应的接口。
DSTATUS disk_initialize (BYTE);
DSTATUS disk_status (BYTE);
DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE);
DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE);
DRESULT disk_ioctl (BYTE, BYTE, void*);
void disk_timerproc (void);
fatfs只适用于sd卡,如果要在nandflash中使用需要多加一个磨损机制。
在wince6.0中有关于磨损的代码。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。