2018-11-29 10:12 PM
2018-11-30 09:38 AM
This is normal. After "safe removal" devices are still visible in Device Manager because the host USB controller still sees them attached.
Does enumeration repeat on the STM32 (device) side after the eject? This would mean that the device disables and re-enables USB detection (some pull-up resistor or whatever). Do not do this.
-- pa
2018-12-02 09:07 PM
But I don't think it is normal. It can be forgiven in Windows, but if you make "safe removal" on a MAC and then unplug the device, a warning message appears that the disk was ejected improperly...
2018-12-03 12:33 AM
You need to handle properly SCSI_ALLOW_MEDIUM_REMOVAL and SCSI_START_STOP_UNIT- see this explanation by Tsuneo Chinzei https://www.microchip.com/forums/m660180.aspx