Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 235100

Forum Post: RE: EK-TM4C129EXL: USB host with new class uses address 0 for bulk transfer after full enumeration

$
0
0
Hi Alsiro, [quote userid="575242" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1484400/ek-tm4c129exl-usb-host-with-new-class-uses-address-0-for-bulk-transfer-after-full-enumeration/5765980#5765980"]According to the USB Library User's guide: " The ulInterfaceClass member of the tUSBClassDriver structure is the class read from the device’s interface descriptor during enumeration ". [/quote] The user's guide also has these words highlighted in red. I'm new to how USB host works but reading the document I think there are several things to look at. First, is the device presented to the host with the matching class code? Second, when the host searches for the host class driver, is the host driver available? Third, suppose the host driver is provided and available, is there an issue in the search process. For example, you may have created a host driver for USB_CLASS_IMAGE, however, there is an issue for the host finding it and associate with it. Lastly, is the USB_CLASS_IMAGE host driver created correctly? The ulInterfaceClass member of the tUSBClassDriver structure is the class read from the device’s interface descriptor during enumeration. This number is used to as the primary search value for a host class driver. If a device is connected that matches this structure member then that host class driver is loaded.

Viewing all articles
Browse latest Browse all 235100

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>