Imx6q usb device communication issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Imx6q usb device communication issue

1,617件の閲覧回数
yixuan_guo
Contributor I

Hi all

we have a problem when using usb port on a IMX6 board with Android 4.4.2_1.0.0.

there are 6 USB ports on the iMX6 board in total, 4 ports are extended from iMX6 HOST USB port by USB hub  and 2 ports are extended from iMX6 OTG port by USB hub.

My two extern usb control devices are connected to these USB ports of my IMX6 Board, and the application in android use the libusb1.0.9 library to transmit/receive data with my extern usb control devices.

 

The problem is:

While two control devices connected  to the USB ports extended from the same hub (Either OTG or HOST)), system will crash after the application running about 24 hours. If two Control devices are connected to different hub(one is extended from OTG, another is extended from HOST),This problem will not occur. Attachment is the error log when OS crash.

In my appliction, there are two threads, each of them use polling method (the API of libusb)to detect whether data is coming from my control devices in every 15 millisecons.

·         I think, it may be caused by dead lock in usb driver.

I want to know, Whether this is a USB driver issue,and how to avoide this issure.Please give me some advice.

 

Thanks!

Original Attachment has been moved to: Err_Log.txt.zip

ラベル(3)
0 件の賞賛
返信
1 返信

1,260件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

We are discussing internally, your case. once I have more info. we will contact you.

0 件の賞賛
返信