28 Jun 2023, 01:16
Is this a USB-C to USB-C cable? If yes, try a USB-A to USB-C cable.
The (old version of) the controller that comes with most F62s does not support C-to-C cables. (and if that's what you have, then I'm surprised it even works sometimes, I expect C-to-C to not work at all)
I think there may be a new version that fixes C-to-C support but I don't remember if it's compatible with the F62.
If it's not an C-to-C cable:
Then just try other computer, try other cable, try without hub is good advice.
If you have solenoid driver connected, then try without it.
What OS do you use?
What happens when you plug it in and doesn't work? If on Linux, anything shows up in dmesg? if on Windows, anything shows up in device manager?
Short list of things to check: USB connection to +5V, ground, D+ and D-, keep in mind that you may get ground from two sources: the actual ground wire in the USB cable, or from the shield, if your usb cable has a shield, because the wcass board itself connects shield to gnd. So if you have trouble with gnd , you might notice a shielded cable work better. Then check the reset signal, it should be high when you measure it. The capacitor on the reset signal could also become bad (although I think the controller would still work in that case, cause atmega32u2 has power-on-reset). Then check the oscillator circuit. XTAL2 is the output, measure it with an oscilloscope, or if you don't have one, you can also often check these with a multimeter to with DC voltage measurement, I'm measuring 0.5 .. 0.8V on the crystal pins of a working board. If you're measuring much less than that or much more than that on XTAL2, then there may be something wrong with the oscillator circuit.