the USB MFS hot un-plug issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

the USB MFS hot un-plug issue

824 次查看
JerryFan
NXP Employee
NXP Employee

Some issue found on mqx4.0/mfs/examples/mfs_usb:

The fatfs failed to be remounted if unplugging the USB disk when copying files. Actually, when unplugging, the files opened must be closed, otherwise the MFS failed to be unmount because its handle list is not empty. Since tracking all the files opened and then closing them is kind of troublesome, added a new IOCTL  to close all open files. Please refer attachment for the code change.

And I recommand adding this feature to MFS.

Original Attachment has been moved to: Test.diff.svn000.tmp.diff.zip

标签 (1)
标记 (1)
0 项奖励
回复
0 回复数