You are here

VESC Firmware

How Update firmware vesc 6.41 with broken micro USB fw 3.40?

Submitted by adrian210188 on Thu, 2020-03-12 01:18

Hallo, ich habe zwei Teile, vesc hw6.41, in meinem Trampa-Board installiert, die über einen Dosenbus miteinander verbunden sind. Leider hat einer der beiden einen defekten Micro-USB-Anschluss. Jetzt sagt das vesc-Tool, dass ich ein Update machen soll.

Flipsky HC 200A VESC programming to eFoil motor

Submitted by tylerclark on Wed, 2020-03-11 05:52

Hello,

I have the Flipsky High Current FSESC 200A and a Flying Rodeo motor along with the Maytech waterproof remote control. I am having trouble programming the VESC. First off, I've been using the VESC tool for Mac v2.03 available from here.

Says the fireware is 4.2, Hw: 60

re-scaling CAN setDUTY CYCLE to -1 to 1 instead of 0 to 1

Submitted by a.dahhak on Fri, 2020-03-06 11:09

Hi everyone,

I just started using Vesc tool few days ago, and I would like to drive the motor in both senses with same duty cycle CAN frame, so for a 0 payload frame I would like a "-1" duty cycle.

I tried to re-load a custom firmware after modifing the code line in "comm_can":

buffer_append_int32(buffer, (int32_t)(duty * 100000.0), &send_index);

by:   buffer_append_int32(buffer, (int32_t)((duty+1) * 50000.0), &send_index); 

Enabling WS2811 not working

Submitted by vitormhenrique on Thu, 2020-03-05 03:42

Hello everyone,

I'm enabling the ws2811 inside the firmware, I'm able to compile and upload to my vesc, 

Added some print statements just to make sure that the code was executing and I see my print statements on vesc terinal.

But I don't see anything on GPIOB 6, or 7. I tried using channel 1 and channel 2, no luck, they keep stuck around 2.7V. 

Im checking the output with mu osciloscope, nothing...

Any ideas?

Fw 4.01 potential issue

Submitted by Joeshaw on Sun, 2020-03-01 23:15

I'm having an issue with my flipsky 4.20 dual plus after updating to the newest firmware. First being wobbles over 25 or 26 mph. Also if I change a setting on the app it won't write then kicks my phone off the app (Android 10) and I cannot even connect to the board till I plug it into a computer and do a set up wizard.  When I try to connect to the app it says. "Could not read firmware version. Make sure the selected port really belongs to the vesc."

Any help would be appreciated. Thanks. 

Print statements - Firmware

Submitted by vitormhenrique on Sun, 2020-02-23 22:03

Hello everyone,

let's start with I'm a noob developing rtos systems and st micro controllers, I play around with arduinos, teensys, esp, but nothing close to VESC firmware.

I downloaded the source code, and made some changes, basically updating the ws2811 library. I complied it and flashed on the vesc (i'm using a 4.12 hardware to test) but it did not work.

Is there a way to print statements to terminal, to understand what is going on? 

I'm using an ST Link v2 to upload and flash the firmware. But I also get a segger mini.

Breaking Light

Submitted by vitormhenrique on Wed, 2020-02-12 18:03

Has anyone tried to implement an simple "breaking" light on VESC firmware? 

I'm working on a onewheel now, and was thinking about having ws2812b on te front and on the back, illuminating them accordingly, and changing intensity to have a "breaking" light.

AHRS yaw drifting

Submitted by henry10210 on Sun, 2020-02-09 01:13

Hi, I just flashed the MK3 firmware to my MK3 (Trammpa), and the IMU plot shows the yaw drifting constantly.  In the gyro plot, the offset is about 2 DPS for Z, and -1 DPS for X.  It's odd that only the yaw is drifting, given the non-zero (and quite noticeable) bias for the gyro.  I tried doing the "figure-8" calibration movement, in case the magnetometer needs to be calibrated for the AHRS use, but it doesn't seem to make a difference.

Does anybody know if the AHRS is supposed to self-calibrate and reject DC drift?

vesc on stm32_discovery not saving motor/app configs in non volatile memory

Submitted by Teslafly on Thu, 2020-02-06 01:23

I have attached a generic powerstage to an stm32f407 discovery board, and have gotten it working on the motor drive part.

 

However, for some reason when I change and upload a non-default motor/app configuration, it will reset to default upon power cycling/resetting the board.

If I do not reset the board, vesc tool will read out the correct value I wrote. bit hte value resets to default as soon as a reset occurs.

I have tried in 2 discovery boards. one with the stlink removed.

Pages

Subscribe to RSS - VESC Firmware