I am trying to connect a USB flash drive to my systems OTG port so I can read/write files. When I connect it I can use a utility to see that it is a FlashDisk at location sda1 and is 126mb. The problem is after a few seconds, android crashes and reboots. I have not been able to capture what causes the crash event so far.
The processor I am using is a DM3730 on a custom board. I have verified the ID pin is low and Vbus is supplied power. The port itself works because I can issued adb commands and load .apk's from a computer. USB OTG, Gadget, and mass storage is enabled in the kernel.
I have seen some forum posts about modifying vold.fstab, but that you cannot have more than two entries in the file. I have no nand so am using my sdcard to host the android system. Would changing that entry from sdcard to usb affect that, as shown here: http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide#USB_Mass_storage
I have also tried how to install a usb still in the faq (http://processors.wiki.ti.com/index.php/Android_Developer_FAQs#Q:_How_to_get_USB_stick_installed.C2.A0.3F_How_to_install_apk_residing_on_USB_stick.C2.A0.3F) with no luck.
Thanks