Hi,
I have an USB host application for a MSC device. I'm using the MWare V160. If the USB storage device is removed during an access the driverlib hangs within a while-loop. I just had the case in the function USBHCDPipeWrite() in usbhostenum.c in the loop
// Send all of the requested data.
while(ulRemainingBytes != 0)
{
....
I think the driverlib should be corrected so that there is a return if an access timout occurs within the driver.
If I remove the stick before the next access it does give an event callback MSC_EVENT_CLOSE.
Then
Any workaround suggestions?
I will include an WDT function in my project...
Best regards,
Stefan