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.

USB CDC Serial to be visible in Android Apps on AM335x Starter Kit

Other Parts Discussed in Thread: CC2531

Hi All,

I am trying to enable FTDI CDC to visible in Android Apps. Does anyone has experience on this? On the kernel side, I am able to see the FTDI chip is mounted to /dev/ttyUSB0 but in Android user space, I see nothing. 

Please advice.

  • Since no one is interested in this post and I have finally make FTDI cable and CC2531 USB ZigBee dongle working in AM35XXEVM_SK board. 

    Here is the solution:

    0. Ensure the Kernel is supporting ttyACM and FTDI driver (xxxx.ko) and make it as built-in.

    1. Ensure the USB HOST permission is enable. 

    - Ensure the file, ueventd.rc has this line: /dev/bus/usb/*  0666 root usb

    - Ensure the rootfs partition has this file at location: /system/etc/permissions/android.hardware.usb.host.xml where you can find this .xml in Android source code located at <android source code>/frameworks/native/data/etc

    2. Use the correct Android APK (Free USB Serial Term.apk) 

    - Use "Apk Extractor" to extract .apk from the Tablet or Phone

    If anyone interested, please reply me in this post.

  • Hi Zhi Yong Woo,

    I am now trying to connect a 'USB to serial" cable to work with Andorid release on AM335x Starterkit.

    The objective is to use Android APK to send AT-command or specific bytes to a device connected with AM335x Starterkit using 'USB to serial" cable.

    What you have done appears to be very close to what I am trying to do.

    If it is okay with you, can you please shear with me in more technical details and know how on what you have done.

    Thanks for your help.

    From Joseph Lee