AnsweredAssumed Answered

USB device troubles, setup packet Cancelled

Question asked by Doza.Georg on May 28, 2015
When i developing custom USB device, I vent into trouble and at end I isolated a problem:

First: USB device answer for this packet is "Success"
  
Setup Packet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
OffsetFieldSizeValueDescription
0bmRequestType123h
4..0: Recipient...00011 Other
6..5: Type.01..... Class
7: Direction0....... Host-to-Device
1bRequest101h
2wValue20014h
4wIndex20001h
6wLength20000h


Second: and answer to following packet is "Cancelled"

Setup Packet
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
OffsetFieldSizeValueDescription
0bmRequestType140h
4..0: Recipient...00000 Device
6..5: Type.10..... Vendor
7: Direction0....... Host-to-Device
1bRequest104h
2wValue20207h
4wIndex20000h
6wLength20000h


What cause different reaction of an USB device?
Framework is the USB_OTG_library, F407 processor, USBluzer sniffer.

GeorgD

Outcomes