Hello,
I'm trying to make an electric bike with vesc 6 (purchased from flipsky) and a 1720w motor. It's based on Tom Stanton's project. I want to have a switch to change between throttle and cadence controls. For the throttle the ADC app works fine, but I couldn't find a way to implement a cadence sensor without modifying the firmware.
There I encountered a problem, because when I compiled and uploaded the firmware according to this tutorial, vesc-tool couldn't connect anymore. I had to switch to windows and upload the original .bin firmware and bootloader using the st-link app. Then I tried uploading the compiled file according to these instructions and I even though I modified a couple of files I haven't noticed any change. It seemed like it uploaded the default firmware. When I upload the firmware, that I compiled, using the st-link, I can't connect to the vesc and a green LED lights with full brightness as opposed to a normal dimmer light.
Am I doing something wrong? Maybe there is another, easier way to implement the cadence sensor?
my problem may be same with you,did you solve the problem?
jack li
I had the exact same problem with certain versions of the gcc arm compiler. Everything worked with an older version of the compiler.
Thanks, I will try that when I return home.
Thank you for your help guys.
run 3
Hi,
Did you make any changes to the code to make it applicable for VESC 6? I am also trying to follow the steps in the tutorial to be able to develop custom applications on the latest vesc but I am running into bunch of errors in the initial steps itself. I am unable to upload the firmware using the 'make upload' command on Terminal. Also, is there an easy way to use the same code on Windows as well?
Thanks!
TP
Now it would be great if you can tell us which version worked for you.
I just had a look in my downloads folder and the version I used before which worked was gcc-arm-none-eabi-9-2019-q4-major-x86-64-linux.tar.bz
Hi,
I made a docker image with old Ubuntu and toolchains installed.
Should work for Linux and Windows users just fine. The commands to build and run are in the comments of the Dockerfile.
Post : https://hackaday.io/pages/1354316
Github : https://github.com/Daniel-Wait/bldc/blob/v5/v5.02/Docker/Dockerfile
Daniel Wait