You are here

built Firmware is too large

8 posts / 0 new
Last post
maxhertz
Offline
Last seen: 5 months 4 weeks ago
VESC Free
Joined: 2022-01-25 01:50
Posts: 14
built Firmware is too large

I have tried compiling the latest firmware build, but the .bin file created is 524kb, which is too large to load with the VESC tool.

I have followed the instructions in readme, using Linux gcc

(https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-ar...)

It compiles cleanly.

I am using Ubuntu 20.04

 

John

maxhertz
Offline
Last seen: 5 months 4 weeks ago
VESC Free
Joined: 2022-01-25 01:50
Posts: 14

Tried it again in Ubuntu 18.04 - same problem - .bin is 524kB

 

John

 

maxhertz
Offline
Last seen: 5 months 4 weeks ago
VESC Free
Joined: 2022-01-25 01:50
Posts: 14

OK, you now need to use release_5_03 branch in github.

When I download that, it compiles to a good .bin. Excellent.

You can use WSL in Windows 10/11. All on the command line, but it's quite simple.

 

lj502
Offline
Last seen: 1 year 10 months ago
Joined: 2022-03-02 02:36
Posts: 1

I'm in the same boat, I can't figure out how to compile 5.03 on windows, any way you could share your process. I need to edit the app.c file to remove the cruise control and the current compile directions for windows won't work with 5.03

Thanks in advance,

John

Hyeonju Lee
Offline
Last seen: 2 years 2 weeks ago
Joined: 2022-02-24 10:03
Posts: 1

Has anyone had any success?  I have same prob. 

I followed vesc6 firmware 5.3 upgrade guide, and the binary file size is too large.

and I couldn't upgrade using vesc-tool but success using st-link.

but I wanted to servo out function, so I reupgrade firmware(default.bin).

I'm not sure that the right way is to do this.

thanks

Jargonaut
Offline
Last seen: 1 year 11 months ago
Joined: 2021-03-31 18:33
Posts: 1

Same, though I'm working with a 4.12 focbox.

Gatze
Offline
Last seen: 10 months 2 weeks ago
Joined: 2018-02-03 18:06
Posts: 55

I reacted in another topic on this subject, but on the same boat with the master branch

dpeinado
Offline
Last seen: 3 weeks 4 days ago
Joined: 2022-01-14 11:59
Posts: 17

I've compiled the firmware in Linux and Windows, and I do not know the reason, but the Linux binary is larger than Windows one. I'm a heavy user of Linux but for Vesc I use windows ChibiStudio for compiling