You are here

VESC Firmware

The selected file is too large to be a firmware.

Submitted by vinci on Wed, 2022-04-20 18:50
Hi,

I was trying to upload a customized firmware(simply adding servo ouput from can-bus signal) on my VESC6 mk5.

I followed the instructions from bldc github (https://github.com/vedderb/bldc).

I tried both vesc_tool_3.0 and vesc_tool_3.1, but the results are the same "The selected file is too large to be a firmware."

Does anyone have the same problem? How do you solve it? 

Max thread rate for simple app?

Submitted by clazarowitz on Wed, 2022-04-20 04:34

Not sure if this is the right forum, and I'm getting ahead of myself here as I've not even powered on a single controller.  I have the fsesc 6.6 based on a stm32f405.  Rather than a skateboard though, I'm controlling a dual motor device with a dynamic moment of inertia.  (Sounds cooler than it is).  I want to adjust the commanded speed on the fly based on the angular position and the statically changing moment of inertia, thus giving me a constant angular momentum mode.  

Problem with BLDC motor direction and code starting sequence.

Submitted by masifsr on Fri, 2022-04-15 12:37

Hi everyone,

I am testing a BLDC motor with VESC HW4.10 hardware version. I am flashing the firmware Version 5.03 into VESC using openocd.

Problems are

1. Motor changes it's direction when the throttle is rapidly rotated from zero to higher value. No problem occures when the throttle is taken smoothly.

2. When the throttle is held at very low value, motor vibrates but does'nt rotate. when i monitor the Rotor position it changes rapidly from 0 to 360 degrees as it changes when motor runs properly.

3. Motor starts with a jerk.

App development and Debug

Submitted by dpeinado on Fri, 2022-04-01 13:22

Hello. I had some background programming in embedded systems, but I'm new to VESC programming. I've done an application very simple, but now I plan to make an application more complex, so debugging is a must. How do you debug an application? There is a dev tools console in VESC-Tool, and communications via USB between VESC and VESC-Tool, so the printing should not be an issue. How is it made? How can I print from VESC application so the result is written out in VESC-Tool console??

Thanks in advance,

Diego

Write motor configuration from XML file in 3rd app

Submitted by jernejm on Tue, 2022-03-29 11:56

Hello,

I am writing my own application in C++ for running Trampa VESC 6MK V. In my program, I manage to integrate functions for running motor and reading parameters, but I can not integrate function for writing motor configuration from default XML file. 

What I did, I took and connected function (from vesc tool) in next order:

Sending Negative Values to VESC over CAN bus

Submitted by olivierabristol on Fri, 2022-03-25 09:11

I am currently working on a winch with multiple ESC. As I need to go forward and backward, I send positive and negative commands over CAN to VESC. to go forward, no problem.

Problem is for backward motions, it does not works really well , the motor can go backward but with it's maximum allowable current... Does somebody already face this issue? How does you solved it ?

VESC firmware to programmable Sabvoton ml60 controller.

Submitted by Maciejwarloch on Tue, 2022-03-08 13:25

Hi, I have a question, is it possible to upload a vesc to the motor driver which is based on stm32, it only has measuring resistors that measure the current from the battery, how does it look with uploading such a software, is there any pinout to define for it to work? Any of you guys tried something like this? Controller: Sabvoton ml60 in the programmable version, of course. Thank for answers!!

Where to find codelines for speed and position control structure

Submitted by kianK on Tue, 2022-03-01 15:25

Hi people,

For the last few days, I was digging myself into the source-code of vesc-tool in order to find out how the control structure is build up.

I already found the PI-Current-Controller (detectfoc.cpp), but where is the speed and position control hidden?

Also, where is the anti-windup, deadtime-compensation etc.?

Thanks

Pages

Subscribe to RSS - VESC Firmware