If you have a VESC with a firmware already installed you can flash the bootloader from VescTool. If somehow you accidentally removed the firmware from the device you’ll need the STLink to recover it.
I had the misfortune to have used a bad USB cable and broke my firmware during a config upgrade on my FOCBOX.
In case that happens, you have to use the STLink tool to flash any firmware (I used 2.18 firmware file) back to the device.
I don’t have the instructions for that nearby, but if needed I can go look them up
TLDR; if there’s a firmware on there you can flash bootloader via VescTool.
Thanks Jamy! That sounds pretty simple then. SO the VESC TOOL will have the latest firmware automatically on it or do I need to direct it to somewhere?
I think it is. SO just to confirm… My Vesc absolutley does not currently have a Bootloader on it. So, with VESC TOOL, this doesnt matter? The tool puts a bootloader on it or acts as the boot loader?
It’s all back in my Raptor 2, but I got a picture here. I soldered to each of the pins above the cap (which was a pain in the ass because there was solder already in there…
The ground pin was the worst so I just connected elsewhere to ground.
Ok a little heads up for anybody that get stuck in the blue light only situation where you have corrupted or no firmware/bootloader.
Just flash the corresponding vesc_default.bin for your vesc version using stlink, then you can connect with VESC Tool and flash bootloader, change firmware etc
@Blasto I connected everything but the 3.3V and I can’t connect the FocBox via ST-Link. Should I power the FocBox to be able to connect? or should I connect 3.3V pin from ST-Link to 3.3V pin from FocBox?