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.

Fail to use USB ControlTransfer for writing

Hello,

I'm using  example "usb_host_msc" from AM335X_StarterWare_02_00_01_01 on original Beaglebone with onboard USB debug port.

I'm NOT able to use function USBHCDControlTransfer() (refered as THE FUNCTION )  in writing to a Bluetooth  USB dongle
.

Below are my tests

1) I'm able to use THE FUNCTIONin writing to a USB drive

2) For Bluetooth USB dongle, I'm able to have it CONFIGURED, able to get its DESCRIPTOR, but FAIL to write with error USB_HOST_EP0_ERROR in   USBHCDEnumHandler()

3) THE FUNCTION requires 2 data "packet" : (1) Setup data with 8 bytes (2) Control data. I'm able to do it on PC, both Window and Linux, using LibUsb, with exactly the same Setup and Control data

What should I do to make it work ?

Thanks