0

We have a C# program that lets the user install firmware versions with DFU to our devices.

If the user pulls out the USB-cable between the computer and the device when it is in the process of installing then the firmware gets corrupted. Now my program can no longer detect the device with UsbDevice.AllDevices or SerialPort.GetPortNames(). However, DfuSe Demo can detect the USB device, so there must exist a way for me to detect the device from my C# program, how?

My goal is to make it so that the user can resume/restart the firmware update from our program, but currently the only way to get our device to be "unstuck" is to use DfuSe Demo.

0 Answers0