Preparing the VESC
If you need to flash the VESC with the bootloader:
Purchase a ST-Link like this one: ST-Link
Purchase some jumper wires with female ends to connect to the ST-Link.
Green JST wire to 3.3v, Orange to SWCLK, Yellow to GND, White to SWDIO, and Red to RST. (Using the included VESC Programming connector)
After this, you need to download the tool to program the VESC
Once you have installed the ST-Link utility, run it and it should show a load of addresses. next you need the bootloader it is labeled “BLDC_4_Bootloader” and can be found here
Firmware and bootloader download
Use the .hex file, open it then click verify, then program and wait, it may take a while to install.
Once it is done, close the program and unplug the VESC.
For more information, please reference:
https://www.electric-skateboard.builders/t/vesc-boot-loader-installation-tutorial/32103 https://www.electric-skateboard.builders/t/new-vesc-user-read-this-complete-walktrough-of-the-vesc/2980