Hello, If I mount a USB device on a windows machine, can the device in any reliable way create files so that they appear on the windows explorer? I know the device is mounted on Windows so that Windows should be the one to determine the contents. But is it possible or is this a clear violation of the rules? what happens if the device creates a file, resets itself (assuming it can do that by control over the data lines) to force reenumeration? will Windows see the new file?
Tsuneo,
I am sorry to bother you again but I am having some trouble here...when I try to do this
case SCSI_MEDIA_REMOVAL: if ( (BulkBuf[4] & 3) == 0) { CSW.bStatus = CSW_CMD_PASSED; MSC_SetCSW(); } else if ( (BulkBuf[4] & 3) == 1) { goto fail; }
I cannot write to the device anymore. I guess I'm doing something wrong in passing the command, because failing it is the default behavior and it works. The RMB bit is set to 1. What am I doing wrong here?