Skip to main content
Dave Nadler
Senior III
February 24, 2019
Question

CubeMX 5.0 USB OTG does not work

  • February 24, 2019
  • 1 reply
  • 1163 views

Two bugs; would appreciate any work-around...

Use attached IOC file to replicate problems.

1) Serious bug: I need to configure OTG FS with:

  • device mode CDC
  • host mode mass storage

If I select USB-OTG the generated setup routine MX_USB_OTG_FS_USB_Init is empty!

There is no way to select which classes are to be supported for host and device!

No usable code output!

2) CubeMX GUI gets into weird state when switching between connectivity devices and will not show details for USB OTG.

The image below shows Ethernet at top, USB OTG in the middle, with details for Ethernet at the bottom!

0690X000006DoJrQAK.png

Yikes!

Help!

Thanks,

Best Regards, Dave

This topic has been closed for replies.

1 reply

Goran Mahovlic
Associate
August 9, 2019

I have Discovery L496 and same thing dual role does not generate any code.

Maybe someone know where I can some starting point?