Implement MQX4.1 USB for K60d100m

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Implement MQX4.1 USB for K60d100m

927 次查看
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 回复数

709 次查看
c_dawg
Contributor III

Any solution to this?  I have a similar problem.

Thanks,

Colin

0 项奖励

709 次查看
soledad
NXP Employee
NXP Employee

Hello Charlie,

Could you please send a screenshot of this issue??

Regards

Sol

0 项奖励

709 次查看
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 项奖励