cancel
Showing results for 
Search instead for 
Did you mean: 

Safe eject event in USB MSC

Hau Lam
Associate II
Posted on May 30, 2018 at 05:26

I'm developing USB MSC features with chip STM32F779 using SD Card .

Now I can read/write/format data in SDcard. 

But there is 1 issue is I can not do Safe Eject the USB from Window. 

Window said that the device is “safe to remove�? but actually USB device still there and can read/write as usual.

So does USB stack support any event to detect USB safe eject ? And What is the proper way to do this ? 

1 REPLY 1
Hau Lam
Associate II
Posted on June 06, 2018 at 12:01

could any one help me on this issue ? 

I see the issue is when I eject from USB icon on the right corner of the Window, it is ok.

0690X0000060L8rQAE.png

But when  I eject by right click USB Drive in Window Explorer it not ok .

0690X0000060L8wQAE.png