Re: Need architecture for usb to usb bridge



On Jul 27, 7:51 am, Theo Markettos <theom+n...@xxxxxxxxxxxxxxxxxxxxxx>
wrote:

If simple 'filtering' is what's required, I wonder if that can be done
without implementing a full host USB stack.  Normally the host talks to the
target mass storage device directly.  But if the host tries to write data
blocks, the filter intercepts the write command, doesn't pass it on to the
device but returns an error result instead.

Obviously it'll be more complex than that (effectively it's buffering and
changing packets on the wire, through several layers of abstraction) but
that would make it seem more like a slave device rather than a host.  The
big question is whether tampering with the results like this will confuse
hosts or devices, and if you can do it without upsetting the protocol.

Hmm, how about instead of filtering out the writes, changing their
destination address to something impossible? Then the mass storage
device would do the complaining, and know it had hopefully taking care
of any synchronization issues.
.



Relevant Pages

  • Re: USB Mass Storage Device ( Not able to open the drive)
    ... My USB Mass Storage Device driver is working. ... Is it possible for me to access Storage Card through ... Device from my host). ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USBFN storage device
    ... When I connect to PC host I receive always an exception from an critical ... > Make sure you've configured the USB Mass Storage registry settings ... >> unmounts my physical disc. ... Do I need to mount the disc manually? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Directory to expose for USB mass storage device function
    ... What you seem to want is the CE device to be the USB Mass Storage Device - and you want to share a folder on the CE device and expose that to a USB Host. ... USB Mass Storgae export a 'store', that is a partition on a block device, rather than part of a directory tree - this is because USB mass storage operates using block device commands rather than file system commands and hence the host can controller the file system on the device. ...
    (microsoft.public.windowsce.embedded)