Had the same issue with the USB connection breaking, and the only way to restore it was by connecting the reset pin to GND. The sketch I imported made a clear difference in my situation, though. I became inquisitive, so I conducted some experiments, and the results have convinced me that the issue is software-related rather than a hardware one<a href="https://classicgolfclub.net/best-practice-balls-for-golf/">.</a> A division by zero error in the sketch, which results in some NAN-value being posted back to the serial port and choking it, is the primary culprit. Try this straightforward piece of code to reproduce the problem: