cancel
Showing results for 
Search instead for 
Did you mean: 

2 HID in Composite device

dhanush
Associate
Posted on November 13, 2013 at 13:21

Hi ,

I am trying to write 2 HIDs in one composite device in STM32F103R8 .But due to some unknown reasons my first hid is working fine but 2nd HID shows ''Code 10'' error in windows , '' not able to start the device '' error.

What all changes should i do to transform simple Mouse HID code to Mouse + Keyboard composite hid code???

#stm32-hid-usb #stm32-hid-usb
1 REPLY 1
Gawie
Associate II
Posted on November 14, 2013 at 07:34

May be this can help...

From

http://www.cypress.com/?app=forum&id=167&rID=59831

''If the VID+PID is already known, Windows loads the known driver regardless whether it's a multi-function device or not. ''

''Windows remembers the Class-Driver-To-VID+PID-binding for the next plug-in event persistently, probably for performance purposes. Therefore, when you swap your Interfaces keeping VID+PID, you earn errors. But you can get rid easily by uninstalling your device in Device Manager. This will remove the memorized bindings.''