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

problem with using RL_USB when remove USB flash memory?!

Hi.
I want to use RL_USB in my project for reading and writing files into USB flash memory.
LPC1768 was chosen for this purpose and write and read operations are worked good.
Now I want add more parts to my projects:
A. When someone put a USB flash memory in board and write and/or read operations were done, the USB flash memory ejected from system by removing it from board. next time which we want to do same operations like before, it hangs and micro can not handle RL_USB functions!! how I can solve this problem ?
B. is any way to find out when USB flash memory is connected or disconnected from board?
Thanks for your replies.