I unable to list file the file from usb mass storage class please guide me is it possible to deactivate usb power enable. ?
thank you
I unable to list file the file from usb mass storage class please guide me is it possible to deactivate usb power enable. ?
thank you
If we 'eject' the device from the USB port all file handling functions are running fine. If we don't do that then we cannot implement any file handling features
Which certainly points to the fact that Windows is "locking" the filesystem - doesn't it?
As noted in the linked thread, you meed a whole extra layer of management to enable multiple, shared access to a single filesystem.
A simple implementation like FatFs is unlikely to support that - you will have to check the FatFs documentation to confirm:
http://elm-chan.org/fsw/ff/00index_e.html
http://elm-chan.org/fsw/ff/bd/
Windows does have certain options to control how/whether it caches data to/from removable devices - you might want to investigate whether any of these helps ...
I'm trying to do the same thing. Could you post here if you get any resolution. Thanks.
debug statements we see on UART says: "Unable to operate on filesystem while USB is connected
So have a search in the code to see where that message is generated - that might give you some clues ...