Hi, I've got an MKRZERO board that I've started using recently after replacing its SAMD21 and burning the bootloader, but now I've got another issue... the board hardly ever shows up on the computer. It seems incredibly inconsistent, but whenever the USB connects, I can open up the Serial Monitor and see everything working fine... so... once it connects it's fine, but actually getting it to connect is the struggle.
Whenever plugging in the MKRZERO, whether I leave it be and run the current uploaded sketch, or double tap the reset button to cycle it into bootloader mode (yes, the light pulses) I hear Windows' device connect chime, but it's immediately followed up by a message that reads: "USB device not recognized" and "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it."
On the few occasions it does connect, it seems to work fine both in the normal sketch and in bootloader mode (as in, I've gotten it to work on both), and have been able to upload sketches to it.
I've tried multiple different cables, I don't think that's the issue, especially given that my Arduino Zero and Uno work fine with those cables (Arduino Zero works both on programming port and native USB port)
I'm at a loss as to why this might be, since I can tell the programs are running perfectly fine on the chip itself. My sketch runs with visible output (it drives and OLED module) and as stated earlier the LED pulses in bootloader mode, it just won't connect to USB most of the time.
Oftentimes, I'll try to upload a sketch once I finally do get it to connect, only for it to cycle and not connect again.
Any help would be appreciated.