VESC - Installing a bootloader

Driver is listed at the bottom of the page. What environment are you using to flash?

I use this http://www.ebay.fr/itm/like/322294570031?lpid=97&chn=ps

That will work fine, I have the same.

Ok but now he dont work ;/

Have you tried installing the correct drivers?

I installed tis http://www.st.com/en/embedded-software/stsw-link004.html in the down of the page

You also need to install the drivers for the ST Link v2, get them here: http://www.st.com/en/development-tools/stsw-stm32102.html

ok and after if i connect just the stlink v2 alone, normaly its work?

This is a great thread, along with the VESC FAQ. I am in the same boat as you guys. Because of my location (Germany) but my mailbox is US (APO), it is best for me if I can order a programmer via Amazon Prime so I’m not waiting months for it to arrive. Can anyone tell me if this model will work?

https://www.amazon.com/gp/slredirect/picassoRedirect.html/ref=pa_sp_btf_industrial_sr_pg1_2?ie=UTF8&adId=A06950711ZIXXW3LUWGQ5&url=https%3A%2F%2Fwww.amazon.com%2FDAOKI-ST-Link-Programming-Emulator-Downloader%2Fdp%2FB01EE4WAC8%2Fref%3Dsr_1_7%3Fs%3Dindustrial%26rps%3D1%26ie%3DUTF8%26qid%3D1492341267%26sr%3D1-7-spons%26keywords%3DST-Link%2BV2%26refinements%3Dp_85%3A2470955011%26psc%3D1&qualifier=1492341267&id=7701086375568010&widgetName=sp_btf

1 Like

It should works good, will you flash with Windows?

I have the same one just in a different color. Works in both Windows (10 with some special driver I’d have to dig up if you need it) and Linux (Ubuntu 16.04)

Awesome! It just arrived yesterday. If you could tell me what Windows 10 driver you used it would be terrific!

Yes I will flash it with windows.

You Will Just Need theese Pins:

3.3v Clock GND Dio

Follow this guide and everything Will goes fine :slight_smile: https://youtu.be/H4sbDhRcaOQ

2 Likes

He beat me too it :slight_smile:

I commented on that video as well. When you run the program to flash the hex file, run it in Windows 7 compatibility mode. It’ll make life better :smiley:

1 Like

does it matter which pins on the vesc i pin into? i mean, left to right in the same order listed?

The pins are labeled on the vesc as well as on any stlink programmer, so just match them up :slight_smile: I also use the reset pin, but I frankly don’t know if you have to.

1 Like

I see now, they’re labeled on the back! I’m so observant!

1 Like

So one of my Axle Vesc from the first batch from @zmoney was missing a bootloader, while the other one had one :smiley: I searched a bit and like to help you summerize it here:

1 . Buy a ST-Link V2 (pic from @Jack) :

2 . Connect your ST-Link to your Vesc and simply match up connectors (written on the back of Vesc):

3 . Take a look at Jacobs video how to connect (I used Windows):

Tip: Connect your St-Link to a USB 2.0 Port and use compability mode on Windows to run it with Windows 8 or earlier - could cause problems connecting otherwise.

Jacobs site is offline at the moment, so to flash the bootloader use this HEX file: http://vedder.se/forums/download/file.php?id=6&sid=a6b085428455d0f9a617d880da259517

4 . Now download @Ackmaniac or any other BLDC tool you like, connect it and load a desired Firmware with it.

If you still struggle on some point, just comment below :slight_smile:

9 Likes

@TarzanHBK @rpn314 I suppose this one should work right? And four pins are enough?

I ordered a VESC from Alien and actually received it already. I was like ohhh wow a VESC for 100 Bucks. 1min later it was ordered. I just unpacked and started doing research on configuring the VESC and stuff and well here I am.