We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hy, i'm starting to program on stm32f407 and I have some problem using USB.
I manage to make simple application with wizard. But now, i want to make for example an HID Application with more than one endpoint. For example, i want ARM to send data to PC as a keyboard and mouse.
How can i make multiple endpoint and more complex HID report descriptor.
I use keil 4.54 and rl-arm library.
Thanks for your help. I found help and manual not clear on this point.
Thanks for your advice,
As soon as i put Report Id inside my descriptor, in a software as USBlyser, the HID report descriptor was not recognized and the device can not start.
Have you an idea about the problem.
Now your problem is probably that Windows host does not have appropriate driver for the device that you created it automatically loads drivers for devices with single in or out descriptor but your descriptor does not apply to no standard HID device so Windows do not have driver for it in that case you have to provide Windows driver for your custom device.
If you would run the example once on your PC, the USB configuration of the example should be recorded on Windows registry. When you modify descriptors, Windows could be confused by seeing different USB configuration on your device. Windows try to assign previous device driver and fail.
Windows manages devices using their Vendor/Product ID (VID/PID). When you change device configuration, a) Assign another VID/PID to your device OR b) Uninstall the device instance from Windows.
This utility gives easy way to find / uninstall target device instace of the VID/PID USBDeview www.nirsoft.net/.../usb_devices_view.html
Tsuneo