This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3715 usb problem

Other Parts Discussed in Thread: AM3715

I am working on AM3715 and TPS65951 board, Android version is ICS4.0.3, Linux kernel version is 2.3.7. I have patch the package of usb mass storage. when I plug the usb cable to one pc, the pc (win7 64bit) can find the adb device, the pc show the hardwareid=usb\vid_0e0f&pid_001. After I modify the inf file of usb driver, I can connect board via adb on pc, But when I switch the usb adb to  usb mass storage on board, the pc cannot detect the mmc on board.After I uninstall adb drvier on pc(cable is connected), then refresh, the pc can detect the mmc card on board, the hardwareid=usb\vid_18d1&pid_9018. Another pc(win8 64bit) can detect usb adb and usb mass storage correctly.The speed of  writting mmc via usb cable is too slow, about 800KB/s, spped of reading mmc is about 7MB/S, can give me some advice? Thank you!

 

  • Hi,

    The adb and mass_storage modes work fine on 2.6.37 kernel with ICS sources. Did you also try with linux hosts?

    The speed is limited since the USB is operating in PIO mode compared to DMA mode. Can you try enabling DMA from kernel config and see the performance?

    Thanks,

    Arun

  • Thank your reply! Let me try the DMA mode tommow. I have not  try the Linux host, beacuse the most case of using usb mass storage  is connected to windows pc. why  different pc report the hardwareID different? I think the hardwareID should be USB\vid_18d1&pid_9018?  why pc sometimes get USB\vid_0e0f&pid_0001?

  • I test the DMA mode today. The speed of writing is about 1.5MB/s,  the speed of reading is about 7MB/s. I modify the kernel config:

    CONFIG_USB_TI_CPPI_DMA=y

    CONFIG_USB_CPPI4I_DMA=y

    CONFIG_USB_TUSB_OMAP_DMA=y

    CONFIG_USB_MUSB_OMAP_DMA=y

    Are these configs correct? 

  • Hi,

    Those options are correct. We have not repressively tested all usb test cases with DMA.  Please check all your usb use cases repressively.