Hello Shawn,
I came across this thread trying to find a solution to a similar problem.
I have created an impulse using Edge Impulse Studio and download the Arduino sketch.
The target board is a WIO Terminal board.
The board works fine without any problems when using built in examples (e.g. LED blink etc, SEEED examples).
However, when I try to upload my custom impulse sketch on to the board, the uploading goes without any problems. However as soon as uploading is completed, the board disconnects from the computer and I get a message from Windows “USB device not recognized. The device may have malfunctioned blah blah…”.
At this point I cannot find the Wio device in my Arduino IDE at all, unless I boot the board back into bootloader mode by pressing the power button twice as mentioned by you.
However, on repeating compiling the EI impulse again, I get the same problem.
Stuck in a loop.
Any help would be appreciated.
Kind Regards
MZS