FTDI Community

General Category => Discussion - Software => Topic started by: ayan1305 on August 16, 2021, 10:21:50 AM

Title: FT311D/UMFT311 Android App Crash/ANR : USB Read/Write Failure
Post by: ayan1305 on August 16, 2021, 10:21:50 AM
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 .
Title: Re: FT311D/UMFT311 Android App Crash/ANR : USB Read/Write Failure
Post by: FTDI Community on August 20, 2021, 04:53:19 PM
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