STM32CubeF4 icon indicating copy to clipboard operation
STM32CubeF4 copied to clipboard

USB Composite Device: USB CDC + USB MSC (or other combinations) (Feature Request)

Open jrahlf opened this issue 4 years ago • 8 comments

Hi,

can you add composite USB (for example USB MSC + USB CDC) driver to the Middlewares?

I am sure many users will appreciate this. There are only few and mostly outdated/incomplete examples how to get USB MSC + USB CDC working as a composite device.

Regards

jrahlf avatar Oct 14 '20 14:10 jrahlf

Hi @jrahlf,

Please excuse the delay we may take sometimes to reply. Regarding your request, I let @CHAMSTM comment.

With regards,

ALABSTM avatar Feb 08 '21 13:02 ALABSTM

Hi @jrahlf ,

A USB Device Composite example can be constructed based on today's available library and applications provided by ST through some rework. But in order to provide a "clean" and generic support of composite devices, a major change is required on USB Device library. We are currently working on this major change and will be releasing it on GitHub as soon as it is ready.

Kind Regards,

CHAMSTM avatar Feb 08 '21 17:02 CHAMSTM

Any progress on this? Maybe an estimate as to when it will be available? We're at a crossroads right now and having MSC+VCP USB interface would save us a lot of work and save a connector in the finished product.

A reference or link to the "library/applications provided by ST" that we could re-work would be helpful.

mrhodel avatar Nov 16 '21 22:11 mrhodel

In the meantime, you can see how to do it with the existing stack as an example. https://github.com/alambe94/I-CUBE-USBD-Composite

alambe94 avatar Dec 16 '21 19:12 alambe94

@alambe94 That looks awesome, is it still experimental?

kjsdf7wr3 avatar Apr 25 '22 08:04 kjsdf7wr3

Hi,

The request has been internally logged and forwarded to our USB team. We will get back to you once there is something new.

@alambe94, thank you for the proposal.

With regards,

ALABSTM avatar Apr 25 '22 11:04 ALABSTM

ST Internal Reference: 126915

ALABSTM avatar Apr 25 '22 11:04 ALABSTM

Any update? Looking for dual cdc, dfu, and hid.

ericshufro avatar Jul 19 '22 11:07 ericshufro

Has there been any progress on this feature?

mrhodel avatar Feb 09 '23 14:02 mrhodel

Hi there,

Hope you all are doing well. Just to let you know that composite classes are now supported by ST's USB Device library since version 2.10.0. This version has been integrated into version 1.27.0 of the STM32CubeF4 firmware.

A couple of examples have been published within the STM32CubeH7 firmware on a specific branch of the repo. You can refer to this post for more details.

Hope this addresses you request. Thank you again for having raised the point.

With regards,

ALABSTM avatar Apr 04 '23 10:04 ALABSTM

Thank you for letting me know. Unmodified the USB code for support a while back. Perhaps in the future I'll have an opportunity to try the official support.

All the best

E

On Tue, Apr 4, 2023, 6:26 AM Ali LABBENE @.***> wrote:

Hi there,

Hope you all are doing well. Just to let you know that composite classes are now supported by ST's USB Device library since version 2.10.0. This version has been integrated into version 1.27.0 of the STM32CubeF4 firmware.

A couple of examples have been published within the STM32CubeH7 firmware on a specific branch of the repo. You can refer to this https://github.com/STMicroelectronics/STM32Cube_MCU_Overall_Offer/discussions/18 post for more details.

Hope this addresses you request. Thank you again for having raised the point.

With regards,

— Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics/STM32CubeF4/issues/47#issuecomment-1495721028, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMVUHWFLBNYPMSO6G5M4OLW7PZMBANCNFSM4SQVMNXQ . You are receiving this because you commented.Message ID: @.***>

ericshufro avatar Apr 04 '23 11:04 ericshufro