I have a program that communicates over the net via sockets, and uses COM1 to talk to a OneWire bus. I also monitor the digital IO ports for simple circuit monitoring. Using a Netduino Plus 2 with 4.3 firmware, when I open a closed circuit, it will cause the PC to rediscover the Netduino over USB. (i get the unplug and plug in sounds). This causes the network connection to be reset. I have catches all over the code and can't see anywhere in my code where the socket would be closed, but that is what is being reported on the other end.
I also posted a note about very slow debug performance (when you step lines of code) and when I attach the debugger I get the USB reset sounds a couple of times. Things appear to be working, but I wonder about the Netduino driver. This is on a Windows 8.1 Update x64 machine.
Any ideas on why just opening/closing a digital port circuit would cause the connection with the PC to reset?