Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TM4C1294NCPDT: How to deal with blocking R/W in USB properly?

$
0
0

Part Number:TM4C1294NCPDT

I am using TM4C1294's USB host mode to access a thumb drive, everything runs fine except when I remove the drive during a USB R/W, it will hang in the blocking API like USBHCDPipeWrite, since the R/W will never finish due to the removal of the thumb drive.

Any one already had this issue taken care? I hope the USB stack will stop the R/W with an error code and wait for USB thumb drive to be reconnected

Thanks!


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>