2025-02-09 09:25 PM
Hello
I am working on an STM32F765VGT6 microcontroller using STM32CubeIDE v1.17.0 on Windows 10 Pro. The project requires enabling both Ethernet (ETH) and USB Custom HID functionalities.
Enabled Connectivity in STM32CubeIDE:
1. Ethernet (ETH)
Mode: RMII
2.USB Configuration
Custom Human Interface Device (HID) enabled
USB_OTG_FS in Device Mode
Problem Faced:
Could you please guide me on how to properly configure both Ethernet and USB Custom HID in STM32CubeIDE so that:
Regards
Badrinathan J
2025-02-12 12:25 AM - edited 2025-02-12 12:49 AM
Hello @Badrinathan
I would like to thank you for posting.
You mentioned that USB middleware files are not being generated properly. Could you please explain more? What are the missing files that you had to add manually and did you face any compilation errors?
By following the steps mentioned above , I 'm sharing the generated project with you
I compared the generated files from my project to the generated files of the example CustomHID_Standalone for STM32F769I-EVAL to see what files could be missing
==> same generated files .
I will be waiting for your feedback.
THX
Ghofrane
2025-02-12 01:12 AM
Thank you for your Prompt response.
PFA, I have enclosed images showing the generated files for your reference.
Looking forward to your support.
Best regards,
Badrinathan J
2025-02-12 04:29 AM - edited 2025-02-12 04:47 AM
Hello @Badrinathan
Try to use STM32CubeMX 6.13.0 standalone , it works correctly
A child ticket has been raised to STM32CubeIDE team in order to fix the issue (Internal ticket number 202905 )
THX
Ghofrane
2025-02-18 04:55 AM
Hi @Ghofrane GSOURI
I have sent you a direct message regarding the IOC files. Kindly check and let me know the further process. I would really appreciate your help in this matter.
Looking forward to your response.
2025-02-18 05:15 AM
Hello @Badrinathan
Thanks for your cooperation.
I was able to reproduce the issue of the empty folder and I raised a ticket to dev team to correct the behavior.
THX
Ghofrane
2025-02-18 07:38 AM
Hello
This one is a good topic i was about to start. I just started trying USB HID and if i reference for files, USB Custom HID file, which i require to change, seems actually linked to the firmware files.
Middlewares -> USB_Device_Library -> usbd_customhid.c
this file contains USBD_CUSTOM_HID_CfgFSDesc variable which i should modify however it is linked to firmware files.
Its variable name is used in functions thus i can't generate a separate variable or create a copy to override its design which sounds awful.
I generated code for STM32F070 but probably it exists on other MCUs as well.
Please fix it or make an alternative instead of copying files.
2025-02-18 08:54 PM - edited 2025-02-18 09:28 PM
Hi @Ghofrane GSOURI
Thank you for your response. While the issue is being addressed, could you suggest a temporary workaround that I can use in the meantime.
Looking forward to your support.
Best regards,
Badrinathan J