Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: sibest on November 06, 2012, 02:46:18 AM

Title: Make imx233 Olinuxino-Mini act as a USB DISK
Post by: sibest on November 06, 2012, 02:46:18 AM
Hi Everyone,

It's possible to setup a USB port to act like a USB DISK ?

I Dunno if it's possible since imx233 olinuxino-mini has only USB Hosts.

Thank you much
Andrea
Title: Re: Make imx233 Olinuxino-Mini act as a USB DISK
Post by: zgyarmati on November 06, 2012, 11:49:16 AM
Hi, AFAIK the imx233 doesn't have USB OTG, so you can't set it up to be an USB device, therefore it's not possible to set it up as mass storage device.
But with any other board which has USB OTG it's should be possible to set up, see for example here:
http://wh1t3s.com/2009/05/11/beagleboard-as-usb-mass-storage-device-via-usb-otg/
Title: Re: Make imx233 Olinuxino-Mini act as a USB DISK
Post by: whophlungpoo on November 06, 2012, 07:11:15 PM
Is OTG really required?  The chip docs say that the USB port can be host or device.  I would agree that without OTG you can't switch between host or device mode without re-compiling the kernel, however, I would think it may be possible to set the USB port in device only mode and use the USB mass storage gadget.  I'm still attempting to do something similar using the Ethernet Gadget.  Still no luck, but I will keep trying :)
Title: Re: Make imx233 Olinuxino-Mini act as a USB DISK
Post by: whophlungpoo on November 06, 2012, 07:30:25 PM
Update - Have a look at the following thread, should fix your issues: https://www.olimex.com/forum/index.php?topic=169.0