This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB out report problem

Other Parts Discussed in Thread: OMAP-L137

Hi all,

Finally I was able to adapt the HID keyboard example to my own needs with respect to transfer data from target to host. Now I need to to a transfer from host to target and it does work. My target device is the OMAP-L137 (on the EVM) and I use win-usblib to send some data from host to target.

I manage to send some few bytes a first time, but then it fails the second time. I think it's some buffer getting filled and then not emptied... I've tried to set a breakpoint on the handle_out_kbd_report01 function (see BIOSUSB keyboard example for the OMAP-L137 EVM), but the target is never halted even if on the host side it clearly shows that the bytes are successfully transferred (the first transfer attempt).

Of course I've added a second pipe (direction out) and the handle_out_report is well set to handle_out_kbd_report01. So what am I doing wrong? Respectively how can I access the bytes sent from the host?

Thanks for all your help

Andreas