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 Wild, Thanks for your reply......... I checked the USB protocol as your suggestion and found that the PC does not requests the SCSI_WRITE10 command during eject process. Can i know the location of Memory_FlashFS\SD_File\ example. Thanks
It is in folder where you installed MDK something like C:\Keil\ARM\Boards\"Vendor"\"Board"\RL\USB\Device\Memory_flashFS\SD_File\ (for example for NXP MCB2300 board C:\Keil\ARM\Boards\Keil\MCB2300\RL\USB\Device\Memory_FlashFS\SD_File\)
Unfortunately not all boards have this example.
Sorry, I now saw you are talking about STM32 it should be in folder C:\Keil\ARM\Boards\Keil\MCBSTM32\RL\USB\Device\Memory_FlashFS\SD_File\
Hi Wild, Thanks for your reply Thanks