Ok, so I just built a VESC 4.12 a few days ago. I've been trying to get it up and running with VESC Tool via USB.
I cant seem to get it working via USB. I've tried multiple cables, multiple computers, I was able to get the bootloader and firmware loaded using an STLINK V2. Using the STM32 utility. The loading via SWD was perfect. I've tried getting USB working with Linux as well as Windows. I've installed the Virtual COM port drivers. USB is not recognized anywhere. I've checked to make sure the pins on the USB connector are not shorted. I've checked that they follow the path to the MCU. I've checked the resistors and pins on the oscillator. I've tried external power on the board while connected to USB as well as powered via USB. When I power the board with external power as well as STLINK the LED lights. When connected via USB led doesnt turn on. I've tried external power with USB. Nothing. Any thoughts?
Ok, so I figured out the problem. I was using a passive two pin oscillator rather than a 4 pin. I installed a 4 pin. Worked perfectly. Finally got to connect to MCU via VESC toolbox. Then I did a bootloader and firmware upgrade because VESC tool complained it was too "new"....after the "reboot in 10 seconds" message....never was able to connect again. Even worse, not even through SWD.