[SOLVED] USB Enumeration problem in HID Mouse

Status
Not open for further replies.

MUKESH.K.S

Full Member level 1
Joined
Jan 31, 2014
Messages
98
Helped
14
Reputation
28
Reaction score
13
Trophy points
1,288
Location
KERALA
Activity points
1,891
Hello experts....
I was trying to implement the HID mouse usb using PIC18f4550. I am using xc8 compiler and mplab Xide. I know that microchip provides the USB stack for HID class, but I don't want to use the library because my intention is to learn the usb protocol. I am using the same descriptors given in the microchip library. I am able to do the enumeration almost completely, windows is showing my device in the device manager input devices list. But I am stuck with one problem, I am not able to identify one request from the windows. After the HID report descriptor request , windows is sending this setup packet
0x80,0x06,0x01,0x03,0x09,0x04,0xff,0x00 and 0x80,0x06,0x02,0x03,0x09,0x04,0xff,0x00. Please help me in understanding this request. What kind of request is this ? How should I reply to this request?
 

hi,
Have you tried this link.?
E
**broken link removed**
 

Thanks for the reply. I have read the HID specification, but I am still not able to figure out the above mentioned request. What request is windows sending? Is that this is any vendor specific request?
 

Last edited:

yeah..... I figured out the problem. I didn't enable the Endpoint 1 after the set configuration command. I should have configure the Endpoint1 BDT table properly.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…