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

MDK v4 USB Host & FlashFS

When using a USB Memeory stick and the MKK v4 USB Host and Flash FS, is there anyway of determining when it is safe to remove (unplug) the memory stick?

Parents Reply Children
  • LED on the stick usually shows that USB host is active, so sending start of frame signals, it does not mean it is writing or reading from the stick. The LED could only be turned off by driving VBUS line low, you can use usbh_uninit for that, but after that Host will not detect new connection untill usbh_init is called again.