This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EJECT FAILURE IN STM32 USB MASS STORAGE EXAMPLE

Hi all,
I am using the stm32usb_mem keil example for USB mass storage implementation.
It is working well as mass storage device.
I found that when i right click the device to use the eject option.
I got an error message "An error was encountered trying to eject Device(G:)".
The device cannot be removed.
Anyone can solve this problem.

Thanks
Aru

Parents
  • Hi chinzei,
    Thanks for your reply...
    I ejected the media as your suggestion..
    The device is removed from PC and its file contents are not available..but I got an error during ejection...
    "An error was encountered trying to eject Device(G:)"
    I found from the debug message after execution of these commands:SCSI_MEDIA_REMOVAL SCSI_START_STOP_UNIT,OS sends these commands for another time.
    But the media is not available,it think the MEDIA is not responding and produce the error...
    Thanks

Reply
  • Hi chinzei,
    Thanks for your reply...
    I ejected the media as your suggestion..
    The device is removed from PC and its file contents are not available..but I got an error during ejection...
    "An error was encountered trying to eject Device(G:)"
    I found from the debug message after execution of these commands:SCSI_MEDIA_REMOVAL SCSI_START_STOP_UNIT,OS sends these commands for another time.
    But the media is not available,it think the MEDIA is not responding and produce the error...
    Thanks

Children
No data