This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB with RL-USB

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.

Parents Reply Children
  • 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