the USB MFS hot un-plug issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

the USB MFS hot un-plug issue

820件の閲覧回数
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 返答(返信)