VAR-SOM-AM33 USB OTG as device

From Variscite Wiki
Revision as of 12:34, 22 December 2015 by Admin (talk | contribs) (Created page with "= USB OTG as device = Plug a USB cable to a Linux or a Windows host.<br> Follow [http://www.linux-usb.org/gadget/file_storage.html www.linux-usb.org/gadget/file_storage.htm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

USB OTG as device

Plug a USB cable to a Linux or a Windows host.

Follow www.linux-usb.org/gadget/file_storage.html and build the backing_file.

On the Target:

$ modprobe g_mass_storage file=./backing_file

On the Host:
Wait for a mass-storage device to be detected.