Hi,
From the same post I mentioned in my previous reply it is mentioned to call Stat = STA_NOINIT; in EVENT_USB_Host_DeviceUnattached. You need to do this because the disk is never sent back to Not Initialize when unattaching the device.
I tested this myself in LPCXpresso4367 and I was able to plug and unplugged the device more than once.
I hope if helps!
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------