Very rarly the USB device is not recoganized by the PC. So I need to power cycle the board.
I am thinking of restarting the USB controller if I detect a unplug and plug back in to the PC.
This is how I start my device now.
How do I restart it.
// This is used for reading and writing UsbCStream = device.CreateUSBStream(WRITE_EP, READ_EP); UsbCStream.ReadTimeout = 10; UsbCStream.WriteTimeout = 200; // All done, you can start the device now USBClientController.Start(device);