HID USB Communication Failing after exactly 31 sends.

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

HID USB Communication Failing after exactly 31 sends.

1,601件の閲覧回数
Dealerz
Contributor I

I'm using MQX 4.0 and I'm having an issue with the USB HID communication trying to send data. My HID layout is a modification of the HID Class driver that's built in, different only that I also need to read data were as the base HID class doesn't perform that. What my issue is, is that when I send data from my hardware (K60F120) after exactly 31 transactions I get an error from the USB_Class_Send_Data() which is transfer in progress. I was told to use the _usb_device_free_XD() but I can't find any documentation on how I'm suppose to use. I'm hoping someone might know of a solution to this.

Thanks in advance.

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

1,419件の閲覧回数
Dealerz
Contributor I

With MQX 4.0 on a K21. When I make the call to USB_Class_Send_Data() I get and error code of 0x03 (USB_STATUS_TRANSFER_IN_PROGRESS). I was told I had to call _usb_device_free_XD() but wasn't given a place on where or how to make this function call. This happens on the 31st transmission. How do I resolve this, has anybody else ever seen this?

0 件の賞賛
返信