Probably I didn't put my question in proper context.
I am working on a Embedded USB host driver now. This host is supposed to support MSD class devices with BoT.
I also need to come up with the software stack (File system-FAT16/32 and application which uses it) on top of this USB host driver which can read/write files from the connected MSD.
No OS runs on my host.
So, now i think from Jan's reply it is clear that that the USB host driver doesn't need to do any consistency check.
Driver is only supposed to correctly read/write sectors on MSD, as desired by the Host application.
The consistency check (if required) should be part of the upper layer.
I collected few logs of the MSD device detection and transfers with the Windows host using Analyzer.
The logs show that the after enumeration, the host reads many sectors on the device not limiting (I am guessing here) to only MBR or Directory information.
Now I want to know, what information is required to be checked on the connected MSD, before it is safe to start read/write operations on it.
I guess reading First few sectors to know the FS on device and the directory information is must. Is there anything else that should/must be checked?
Thanks
Nitin