AnsweredAssumed Answered

Check USB device connection status during application

Question asked by jdcowpland on Jul 15, 2014
Latest reply on Jul 15, 2014 by Clive One
I have my USB Host library setup on a STM32F4 which interacts with a USB device which can disconnect itself from the host at a software level. It is basically and SD card reader and my understanding is all it does is tell the host that the memory card has been removed. What I'm trying to figure out, is how the host polls the device to find that out during the application stage. My thoughts at the moment are that there must be a simple way of using the SCSI commands to check if the usb device is busy or not? Anyone tried anything like this before or have any ideas? I've tried modding some of the SCSI commands to suit my needs but doesn't seem to be working...