cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 5.0 USB OTG does not work

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

1 REPLY 1
Goran Mahovlic
Associate II

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

Maybe someone know where I can some starting point?