cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine USB HID with DFU?

TA.1
Associate II

Hi,

Do anyone know how to combine USB HID with DFU?

What I would like to achieve, a custom HID class that is able to get update using the USB connection.

MCU: STM32G473RET6

5 REPLIES 5
gbm
Lead III

The keyword is "USB composite device".STM32 USB stack does not support it (yet) (officially), and when the support is introduced, it will be very complex and basically unusable. Look for some lightweight USB stack on github, suppportign composite devices out of the box.

TA.1
Associate II

Okay thanks!

TA.1
Associate II

Okay thanks.

Do you have any recommendations?

I have found: https://github.com/alambe94/I-CUBE-USBD-Composite

mohamed.ayed
ST Employee

Hi,

You Can refer to this topic USB composite : https://community.st.com/s/question/0D53W00001qLxtJSAS/usb-device-composite-applications-share-on-github

You can also refer to X-CUBE-AZ-RTOS-G4 to develop your Composite USB HID-DFU application.

Hi,

Did you succeed in getting USB HID with DFU to work on STM32G473RET6?

Best regards,

Annette