Use ST Link Flash Program to upload firmware of VESC

Youtube Link:https://www.youtube.com/watch?v=H4sbDhRcaOQ
Tool:STlink V2,2.54mm--2mm connector

 

 

1.Download STlink Utility(http://www.st.com/en/embedded-software/stsw-link004.html ) 

2. Download the last one “FW for HW6.0 from Benjamin(https://github.com/vedderb/bldc/raw/master/build_all/60/VESC_default.bin)

3. Install the STlink utility (it is inlc for the STlink driver)

4.Connenct the STlink with VESC ( Wiring: 3V3-Link 3.3V; SWCLK-SWCLK; GND-GND; SWDLO-SWDLO)

5. Connect the esc with pc via USB

6.Open STlink Utility 

7.Click TARGET, Connect - >It will show the esc information

8.Click FILE& klick to search “982347289347209837_VESC_default.bin”

9。Click the write in(Right second one)

10. Click Start, if succeed, the vesc red light blinking

11. Power off the Vesc and disconnect with STlink after the finish

12.Connect the vesc with pc for firmware upload