Posted on November 18, 2012 at 15:49 Tried to implement custom device control over vendor specific requests. Usb device library v1.1.0, usb otg library v2.1.0 and stm32f207 on device side, libusb 1.011, debian gnu linux on host side. For exp...
Posted on November 21, 2012 at 17:43
After active googling with various requests problem finally dissolves. There was problem in example.
inserted next code just after opening device
detach_kernel_driver_np(handle,0);
claim interface(...
Posted on November 20, 2012 at 09:19upd. in case of status request and in case of set with non-1 wValue firmware doesn't recognize request as vendor type. Other examples i've seen that sometimes they used 'if' series with req_type combined with some...
Posted on November 20, 2012 at 08:02>>a) Watch USB traffic with a hardware bus analyzer or a software sniffer.already done - in wireshark i see setup packet with correct values, but in that case aswer came in 5 seconds saying that there's timeout. >...