You are here

VESC Firmware

(SOLVED) I2C, change pins

Submitted by CTSchorsch on Mon, 2020-05-25 07:59

Hi all,

i want to move the I2C pins from PORTB 10/11 to PORTB 8/9. I have no CAN device, so this PINS are free to use.

i set:

#define HW_HAS_NO_CAN

#define HW_I2C_DEV              I2CD1

#define HW_I2C_GPIO_AF          GPIO_AF_I2C1

#define HW_I2C_SCL_PORT         GPIOB

#define HW_I2C_SCL_PIN          8

#define HW_I2C_SDA_PORT         GPIOB

#define HW_I2C_SDA_PIN          9

and enable I2C1 in mcuconf.h

help flashing 4.12 with new firmware

Submitted by adamclarke1985 on Fri, 2020-05-01 02:23

hi guys 

been trying to flash my vesc 4.12 with new firmware.  my the vesc wont connect through usb so i am doing it through st-link.  i can flash the old 2.18 firmware files from bldc tool and it runs a motor.  I have setup tcp and when connected to vesc tool it says frimware to old.  tryed updaing but get timed out message.  if i flash a new firmware 3xx the st-link program says core lockup in the bottem right corner and only a blue led?

Fimware 5.1 - where is the VESC_servoout.bin?

Submitted by JackSilb on Tue, 2020-04-28 06:37

Hello,

I just installed VESC Tool 2.05

My VESC Hardware is 4.12

I can not find VESC_servoout.bin after I selected  Show non-default firmwares.

Is VESC_servoout.bin still supported on the latest firmware? As you know lots of people use it for robotics application.

If no longer supported, where can we find the lastes stable firmware that still supports VESC_servoout.bin?

Thank you,

Jack

TMP100 I2C Sensor

Submitted by CTSchorsch on Tue, 2020-04-21 15:55

Dear all,

is it possible to add the TMP100 sensor to the firmware ? i want to use it to measure the temperature near the FETs. its really small and easy to read out.

But i dont know how to configure an additional I2C Port and where to add the code in the firmware

Thanks

Georg

VESC debugging without optimization

Siverian's picture
Submitted by Siverian on Sun, 2020-04-05 01:47

Hello everyone,

I have an idea to convert car alternator as a motor. Form a physical point of view the motor is a synchronous engine as BLDC is. But in case alternator I have to apply current to the rotor. To control the current I want to extend VESC firmware. During the investigation the FW I've faced with an issue that if I disable optimization (-O0 CFLAG in .make) the FW is stuck in mc_interface_init(&mcconf) method in setup (main.c).

Does anyone have an idea of how to debug VESC FW?

VESC6 current and duty cycle scale problem?

Submitted by henry10210 on Sun, 2020-03-29 22:34

Hello everyone, I've been working off a fairly recent branch (b3ad0bc, which is Benjamin's checkin on Jan 12, 2020), and cannot seem to get the RPM PID control to work.  Using the default PID gains and the discovered FOC parameters, the motor does not turn at all--it tries to apply a small current, and gives up very quickly.  In vesc_tool "faults" terminal command, the FAULT_CODE_UNDER_VOLTAGE is displayed consistently, with the voltage value far lower than my input voltage (9.3 V) of my power supply--which can supply up to 5 A.

VESC ramping problem

Submitted by andrii619 on Mon, 2020-03-23 21:45

Hello,

I am having trouble with the VESC firmware in BLDC mode. When I change the input duty cycle from 0 to let's say 50 instantaneously the ESC is failing to commutate. The VESC firmware should have a ramping function that ramps up the motor in steps. I tried decreasing the duty cycle used for ramping step from default 0.02 to 0.001. But it seems that the ramping is too slow now. Has anyone experianced a similar problem?

 

Thanks.

Ethernet support

Submitted by selfservice on Sun, 2020-03-22 19:56

Hi, 

we are developing our own hardware and we are going to add ethernet for high speed logging purposes.

Our PHY is not supported in current ChibiOS version (3.0.2). I was wondering if there is a reson why didn't switched already to a newer version. There is any downside to do so?

Cheers

Stefano

 

 

Pages

Subscribe to RSS - VESC Firmware