We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
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