Implement MQX4.1 USB for K60d100m

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

Implement MQX4.1 USB for K60d100m

1,014件の閲覧回数
charliemmao
Contributor II

Hi All

I modified Daisa's code (refer to USB In MQX) for my project (K60 MCU's UUS connected to an external USB device). I opened two pipes with endpoint 1 and bulk pipe type. I can open pipe and send data successfully, but when I read response I received error 0x81. In details, I received following message (recompile USB host library to enable debug print) when I call _usb_host_recv_data()

_usb_host_new_tr_element malloc failed

_usb_host_get_tr_element error null pipe tr_list

_usb_host_set_up_tr NULL transaction

_usb_host_recv_data transfer queue failed

Can you help me to find the problem?

タグ(2)
0 件の賞賛
返信
3 返答(返信)

796件の閲覧回数
c_dawg
Contributor III

Any solution to this?  I have a similar problem.

Thanks,

Colin

0 件の賞賛
返信

796件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Charlie,

Could you please send a screenshot of this issue??

Regards

Sol

0 件の賞賛
返信

796件の閲覧回数
charliemmao
Contributor II

Hi Sol

Here are screen shots:

USB_Write_Read_20141017.png

above image shows write OK but read failed  malloc failed (refer image below) in mem.c

USB Read Mem Allocation_Failed.png

Thanks

Charlie

0 件の賞賛
返信