usb msc host or msc device dynamic selection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-21 7:48 AM
I want to configure a USB device using STM32F746.
I want to select the USBH MSC Host and Device as needed (without rebooting..).
In CubeMX, only "Host Only" or "Device Only" can be selected.
When selecting DualRole in CubeMX, a library is not created.
I want to dynamically select and use the USBH MSC Host and Device.
Please let me know if there is a way.
- Labels:
-
STM32F7 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-21 1:34 PM
You go from one state to other through a XXXDeInit()/YYYInit() cycle, there is no more to it.
Now how well do DeInit() for USBD/USBH work in Cube, I don't know, I don't use Cube.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-22 9:49 AM
Don't waste your time on a broken bloatware and use an USB stack developed by competent people:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-22 10:48 PM
thanks for your advice. i'll reference your reply.
