How to reset or re-enumerate USB host CDC devices safely?
Hi,
STM32F4,
Which is the safe and good method to reset the connected USB device as CDC host mode?
I am communicating with a USB sensor with my device as CDC device.At end of my process, I wants to reset the connected sensor.
So I have tried to call USBH_ReEnumerate(&hUsbHostFS);. But sometimes the firmware hangs while calling this function. I have attached the debugger window screenshot. The firmware hangs around "USB_ReadInterrupts" function. This is also happen when remove the sensor from the device. Please advice me. Thank you.
Param.
