You are here

Unbricking a bricked VESC6 - A step by step procedure

1 post / 0 new
espen.oland
Offline
Last seen: 2 years 4 months ago
Joined: 2020-09-15 11:18
Posts: 1
Unbricking a bricked VESC6 - A step by step procedure

Hi all,

I've recently spent some time figuring out how to unbrick the VESC6-MK-IV. To help others with the same problem, I'll share the procedure of how I did this, as there are many ways of doing this according to the forums. My current setup is that I have an STM32407 Discovery card that can be connected to the VESC6, and I used the ST-Link together with the STM card to write the firmware to the VESC. Most of the procedure can be done using an ST-Link dongle instead.

 

Procedure:

  1. Remove jumpers from STM Card, connect from SWD pins to VESC.
  2. Power up VESC using batteries.
  3. Connect to VESC through STM card using usb cable.
  4. Open ST-Link utility
  5. Erase flash on VESC6
  6. Upload FIRMWARE from folder vesc_tool/res/firmwares/60_MK4/VESC_default.bin to address 0x08000000.
  7. Remove ST-link cable from VESC, disconnect and reconnect VESC power.
  8. Launch VESC-tool
  9. Connect to (USB-)Serial VESC-COM30.
  10. Upload bootloader from VESC_tool (60 & 75_300 & HD....) to VESC
  11. Reconnect to VESC and you’re good to go.

Cheers!