![bldc tool 4.12 bldc tool 4.12](https://d3i71xaburhd42.cloudfront.net/5f913247d20e641323ab230fefe4730d499ce82c/15-Figure1.4-1.png)
- Bldc tool 4.12 how to#
- Bldc tool 4.12 zip file#
- Bldc tool 4.12 software#
- Bldc tool 4.12 download#
- Bldc tool 4.12 free#
If you run linux it might give you some warnings about a running modem manager and wrong right settings. Now it is time to fire up the VESC-tool and see if it detects your brand new VESC. The order should not matter, however it is recommended to flash the bldc app before the bootloader. When this suceeds you can flash the bootloader from the bootloader directory calling make upload as well. If you compiled the source on your own you can enter the bldc folder and run make upload. You should see a new USB device popping up.
Bldc tool 4.12 zip file#
If you downloaded my all-in-one zip file the flashing is quite easy, unzip the hex file and rum: st-flash -format ihex write BLDC_4_BL_AND_MAIN_MERGED.hexĪfter the upload and verify is successfully done, add a USB cable and power cycle the VESC. I have used STM32F3 in the past and only used GND, SWDIO, and SWDCLK but I got errors during flashing when I tried it without the RST line. And yes, RST is really needed on the STM32F4. The red wire connects to RST, brown connects to SWDIO, black connects to GND, and white connects to SWCLK. As this is only used once for the initial programming you can hack your way by removing the black plastic shell and adding a heat shrink tubing to every second cable to make them fit to the JST header. The cables that come shipped with your st-link will not fit the pitch of the VESC JST header. In order to program the stm32 chip you will need to connect the following signals to your programmer: RST, SWDIO, SWCLK, and GND: If all is fine you can proceed with flashing. The board should not draw any large amount of current in idle mode. If the current limit trips you should check your wiring. In case you have some solder shorts or broken parts this will save your day. Take a current limited lab power supply and set it to 12V and around 0.3A. This tutorial is written for the ST-Link.īefore we start with programming it is time for the initial power up of the VESC pcb.
Bldc tool 4.12 free#
Some (all?) will require to remove a solder bridge to free the RST line and jumper reconfiguration. You can also modify and use a stm32 evaluation board as most of them come with an included st-link programmer. As there is not much complicated stuff going on these devices always work quite well.
![bldc tool 4.12 bldc tool 4.12](https://cdn.shopify.com/s/files/1/2280/1489/products/Vesc6-01_1200x1200.jpg)
![bldc tool 4.12 bldc tool 4.12](https://d3i71xaburhd42.cloudfront.net/1c8036fb35bb4cc25866991bbce336b0c3409246/19-Table1.1-1.png)
You can find $2 clones of the st-link on aliexpress. You will need a st-link or similar debugger/programmer hardware. Flashingįlashing an stm32 is quite straightforward if you are used to it and have the required tools. This should also build and you will have all you need. Next, checkout and build the bootloader sources: git clone This should build and create the hex file. Make sure to have the latest arm gcc installed and run make to build the firmware: make build/BLDC_4_ChibiOS.hex Now we will have to configure the firmware for our board, change the settings to out board revision by editing conf_general.h: #define HW_VERSION_410 // Also for 4.11 and 4.12 Let’s start by checking out the github repository and building the firmware: git clone If you want to build it on your own, the following might be interesting for you.
Bldc tool 4.12 download#
You can download this file here and skip to the flashing section of this post. If you want to skip downloading and compiling the bootloader and firmware from sources I prepared an all-in-one hex file for you. Lucky for us the microcontroller firmware is still open source. As you might know I made some experience with chinese copycats and missing credits in the past which made me sad. Even though this seems a bit uncomfortable and I would really love to see this being opensource I can understand him for doing so. You will get an email and a download link within seconds so this is quite easy. You will have to register at the project website and “buy” the free edition for $0. We are going to use the newer version as the old one does no longer support the most recent firmware.
Bldc tool 4.12 software#
This new Software is called vesc-tool, the old (opensource) version was called bldc-tool. Benjamin Vedder started a new Website where he is exclusively publishing the newest version of his graphical user interface. There have been some recent changes on the software side. This tutorial is meant for the VESC revision 4.12. Now it is time to do the initial flashing of the firmware.
Bldc tool 4.12 how to#
In the previous VESC article I showed you how to assemble and solder the PCB on your own. As you might have read I recently started to document the assembly of Benjamin Vedders insane 12S 50A (240A peak) motor controller called VESC.