2017-06-01 09:55 AM
Looking for documentation on how to setup the CUSTOM_HID_ReportDesc_FS in usbd_custom_hid_if.c on a custom HID interface.
I seem to be banging my head against a wall, the forums, google,
https://www.youtube.com/channel/UCcnfF_6NPxbr-W2FOT6JRMQ
's youtube example, the custom hid example in STM32Cube_FW_F4_V1.16.0, ect... in trying to get a custom hid working on a Nucleo-STM32429zi board.I get enumeration on a Windows 10 machine, but end up with errors that appear to be related to the report descriptor under device manager. Messages like 'An unknown item was found in the report descriptor' (most examples I found) and 'Extra end collection found or end collection not found.' (When left blank 0x00, 0xC)
This brings us back to CUSTOM_HID_ReportDesc_FS. In a nutshell, I need to create structure to exchange 64 byte messages in and out, and seem be failing with this descriptor.
Any help finding the required documentation to understand and create a working descriptor would be greatly appreciated.
Thanks,
2017-06-02 02:10 PM
I seems to have gotten this working. Even though this question has not gotten a responce, digging through the forum archives has helped immensely. Not 100% what the hangup was, but some key items learned going down this road with the NUCLEO-STM32429zi...
Badreddine Bouzouita's descriptor.
Again, thanks to everyone over the years that have contributed to the forum archives. I searched them exhaustively and the solution was gleamed from them.
fyi. Does a method exist to post a zip of the basic project shell to provide others a way to comment and maybe use as a starting point?
2017-06-05 09:23 AM
Hello
Flanagan.Kevin
,Thank you for your feedback and contribution to shareyour knowledge with community member.
You can share your project in the community by clicking onBrowse >> Share >> Share your project (in the right)
Regards
Imen
2017-06-05 10:28 AM
Imen,
Thanks for the documentation on how to share. I have shared a .zip of the project with the community.
https://community.st.com/0D50X00009bMM5YSAW
Thanks again,
-Kevin
2017-06-05 04:24 PM
Hi
Flanagan.Kevin
,The document is not available!
You should publish it so that it will be visible to the community.
Imen
2017-06-05 04:36 PM
Aaah, just looked and it is waiting for moderation approval. I should have waited for the moderation before posting the above.
My Bad
-Kevin
2017-06-07 11:40 AM
The project has now been approved, so the link should now work.
I logged out and opened it in an Incognito window to verify it.