Firmware for Rev4.12?

General topics and discussions about the VESC and its development.
Mark23
Posts: 3
Joined: 29 May 2018, 14:29

Firmware for Rev4.12?

Postby Mark23 » 30 May 2018, 22:56

Looking to edit the source code for the Vesc Rev 4.12 but having trouble understanding what files in this source code link correspond with the 4.12 Vesc:

https://github.com/vedderb/bldc

A little confused because the board rev is 4.12 but it says it supports firmware up to 3.37 and 3.38 but I couldn't find any files in the source code to edit that correspond with the firmware 3.38 and 3.37. I thought I would've seen something like hw_338.c

I wanted to edit the code and upload the .bin file over USB but didn't want to load a newer version of the firmware on my rev 4.12 and have a problem. The good news I can compile and build the code. Thanks in advance! A bit of a learning curve for me but appreciate any help.

arvidb
Posts: 230
Joined: 26 Dec 2015, 14:38
Location: Sweden, Stockholm

Re: Firmware for Rev4.12?

Postby arvidb » 30 May 2018, 23:57

HW4.1x and VESC6.x are hardware (pcb) revisions. 3.37, 3.38 etc are firmware versions. The firmware (any version) can be built for any hardware revision; you need to set a #define in conf_general.h, e.g. HW_VERSION_410 for HW4.10-4.12 or HW_VERSION_60 for VESC6.x.

Don't flash a firmware built for another hardware than the one you've got; it can destroy hardware.

Mark23
Posts: 3
Joined: 29 May 2018, 14:29

Re: Firmware for Rev4.12?

Postby Mark23 » 31 May 2018, 14:17

Thank you!


Return to “General”

Who is online

Users browsing this forum: No registered users and 0 guests