Closed arilink-tech closed 2 years ago
Host recognized device is actually from what device reported (descriptors), if your application start different USB framework on different triggers, host will see different devices. So yes, USBX supports multiple device type switching.
I know this situation, I mean, for example, the currently running USB class is CDC. After receiving the command, can it be converted to HID through some operations without resetting the system?
You can try following flow: If hardware support, issue detach. Disconnect, unregister classes, uninitialize device stack, then initialize device stack with another device framework, register classes again ... Then attach ...
@xiaocq2001 Can you give your mail ?, I need a support to develop an application
@BlueShark7 please email to azure-rtos-support@microsoft.com.
@arilink any progress on suggested flow for device type switching?
Encountered a little trouble, trying to solve it
@xiaocq2001 how can i send a multiple audio isochrone packet in host app ?
@BlueShark7 Not sure what you mean for multiple audio isochrones packet, do you mean the usage of host audio class APIs?
@xiaocq2001 yess i want to write to audio interface
@BlueShark7 sorry to reply late, can you create another issue to discuss since it's another topic, thanks.
The processor used in my project is STM32F105RBT6. I transplanted ThreadX and USBX for development. I want to know if USBX supports multiple device type switching. For example, USB is a normal USB device when it is working normally. When firmware update is required, enter USB DFU mode?