Tips for the VESC FW update and SWD program mode
Why my FW still keep old version after update?
This often happens when the bootloader is lost or not installed.
Settlement: In the VESC tool PC edition, go to
Choose the bootloader file suit for you ESC, if no file appeared, you can download here:[1]
Click download
Then go to firmware page to try to update firmware again.
Why my VESC bricked?
VESC has a bootloader
SWD mode for Ubox dual
SWD mode for Ubox single 75V
Limited by its size, Ubox single 75V does not place the SWD port on the case.
When bricked, may be you have a Ubox dual in hand.
Ubox single 75V | Ubox dual |
---|---|
3V3 | VCC |
SWC | SWDCLK |
GND | GND |
SWD | SWDIO |
NRST | NRST |
Ubox single doesn't have a socket, so we need to solder SWD, GND, SWC, 3V3 with a cable, connect cable to another Ubox or a third party VESC, then try VESC tool's SWD programmer.
Why not to connect NRST?
Usually, the NRST is no use, because VESC have no pin for controlling NRST, and SWD port can works without external reset pin.
But in some time, SWD can not reset chip with SWDIO and SWDCLK only, in this time, we can try to reset chip manually, by short this NRST pin to ground then release it during we do SWD connect in VESC tool, try this several times, maybe miracle will happen.
Keep a stable connection during SWD programming, otherwise the VESC may 'bricked'.