General Category > Discussion - Software

FT311D/UMFT311 Android App Crash/ANR : USB Read/Write Failure

(1/1)

ayan1305:
I'm trying to connect UMFT311 module with Android phone using USB cable . I got the Android software source-code from FTDI website . I tried to run the app in Android phone . Whenever I enter some data in the phone , and press 'write' button , the app just crashes .

I'm using SPI master/host code for Android app .

I've read some older posts in this community , where it's suggested that due to not using separate thread for 'write' operation , this issue happens .

Now I added separate thread for 'write' operation . But the app still crashes!! I tested the hardware ; There is no fault . The android app correctly detects the USB hardware , the VID & PID perfectly match .

Can you please point me towards any unforeseen issue in the code that might have happened ? Thank you in advance .

FTDI Community:
Hello,

You are already in contact with our technical support team on this matter.

Please feel free to post any resolution here to help other community users.

There may also be other FTDI Community users who will be able to help you.

Best Regards,
FTDI Community

Navigation

[0] Message Index

Go to full version