STM32F4 USB HID parameters
Posted: Tue Oct 09, 2012 7:15 pm
Hello,
is possible to see somewhere USB configuration for a HID device? I tried to change VID/PID, deviceclass/subclass and interface class/subclass in STM32F4Discovery Demo and under Windows I have seen new two HID devices - perhaps because we have 2 Endpoints in that CDC demo. The problem is that I did it in very dirty way and maybe not all fields were correct. When I look at original STM example, the tables with config seems to be different as in ChibiOS.
Maybe question why I need HID device. It's quite easy on Windows to access USB directly w/o any driver and full flexibility (HidD_GetHidGuid, SetupDiGetClassDevs, SetupDiGetDeviceInterfaceDetail, CreateFile, ...
)
Next question, do we use DMA in USB driver or we copy data via software?
Thanks a lot!
Regards,
Tommino
is possible to see somewhere USB configuration for a HID device? I tried to change VID/PID, deviceclass/subclass and interface class/subclass in STM32F4Discovery Demo and under Windows I have seen new two HID devices - perhaps because we have 2 Endpoints in that CDC demo. The problem is that I did it in very dirty way and maybe not all fields were correct. When I look at original STM example, the tables with config seems to be different as in ChibiOS.
Maybe question why I need HID device. It's quite easy on Windows to access USB directly w/o any driver and full flexibility (HidD_GetHidGuid, SetupDiGetClassDevs, SetupDiGetDeviceInterfaceDetail, CreateFile, ...
Next question, do we use DMA in USB driver or we copy data via software?
Thanks a lot!
Regards,
Tommino