DAVEGA X Updates

./davegax-v5-installer
davegax-v5-installer v1.2

This will install the firmware version 5.01 on your DAVEGA X.
Before you proceed, it's recommended that you create an online backup:
Menu > Update & Backup > Backup > backup config & data

Make sure you have the CP2102 drivers installed and connect your DAVEGA to the USB port.
You will also need internet connection.
Ready? [y/n]: y

Auto-detecting DAVEGA X port...
3 serial ports found.
Trying /dev/cu.usbserial-01B57D67 ...
Connecting....
Success!
Port detected successfully!

Getting the device ID...
Connecting....
Device ID: 7f82xxxxxxxxxxxx

Getting the license key for your device...
Verifying the license key...
Looks good!

Exporting data to /Users/romanp/Downloads/backup.dfs...
Failed to enter raw REPL mode.
Retrying...
Getting the list of files...
Exporting file: /data/canidcache
Exporting file: /data/config.json
Exporting file: /data/last_backup_km
Exporting file: /data/mishaps
Exporting file: /data/odometer1.json
Exporting file: /data/odometer2.json
Export successful!

Fetching the firmware file...
Downloaded successfully.

Erasing flash memory....
esptool.py v3.0
Serial port /dev/cu.usbserial-01B57D67
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 80:7d:3a:b7:72:cc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 10.8s
Hard resetting via RTS pin...

Upgrading to v5....
esptool.py v3.0
Serial port /dev/cu.usbserial-01B57D67
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 80:7d:3a:b7:72:cc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Compressed 1612832 bytes to 1020071...
Wrote 1612832 bytes (1020071 compressed) at 0x00001000 in 24.7 seconds (effective 522.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Upgrade successful!

Installing the license key...
Failed to enter raw REPL mode.
Retrying...
Creating file: /license
License key installed!

Restoring backup...
Creating directory: /data
Creating file: /data/canidcache
Creating file: /data/config.json
Creating file: /data/last_backup_km
Creating file: /data/mishaps
Creating file: /data/odometer1.json
Creating file: /data/odometer2.json
Backup restored!

All done successfully! Yay!
Press enter to continue...

Upgrade went good :slight_smile:

1 Like

why does it use a baudrate of 460800? most remotes use 115200, wouldn’t this mean you can’t use UART remotes with this?

not attacking anything just curious about why and what

This baud rate is used when DAVEGAX is connected over USB to computer just for update process. This is not the same baud rate as DAVEGAX uses for connecting to VESC.

4 Likes

Are the once in store already v1.2 boards? Or still v1.1?

v1.1 was retired in November. It’s been v1.2 only since then.

4 Likes

Designing a DAVEGA box turned out to be way more time consuming than I have anticipated but it was a fun project.

These were my main goals:

  • Easy to assemble.
  • No glueing.
  • Can be cut from a single sheet of A3 paper.
  • All the DAVEGA parts fit in snugly for both pre-assembled and kit.
  • The product box fits snugly into the cardboard box I use for shipping.

There was a lot of back and forth but it all worked out really well and I’m very happy with the result.

Here’s a short vid with cutting almost the final version:

Glamour pics of the final creation… :slight_smile:

Fits into the shipping box nicely and leaves enough space for extras (e.g. angled baseplate):

And the shipping box also has the DAVEGA logo since I now laser engrave all the things. :slight_smile:

31 Likes

I don’t even have a need for one of those things but seeing all your content makes me want one :rofl: nice work as always Jan :ok_hand:

9 Likes

Looks like a time consuming job, but damn, looks sexy :smiley:

2 Likes

Same :rofl:

2 Likes

What data is displayed when using a dual vesc?

Both combined

Meaning on the data screens, it adds both values for data like amps and wh?

1 Like

Yes

1 Like

Depends on the firmware version. In the latest, the field is split into multiple smaller fields and shows a value for each VESC/motor.

2 Likes

@Dunkan, could you please check whether it’s any better with the latest firmware (v5.04rc2)? Once you install that one, DAVEGA will only look at the motor 1 data for energy discharged/recharged and will interpolate for the total number of motors. That should give you better consumption/range estimates. If it doesn’t get better you can return to the original behavior by setting Misc > interpolate energy = disabled.

1 Like

Awesome! will try that asap
Thanks

1 Like

@janpom it’s better! Much more accurate range estimates. The only thing is the refresh rate is pretty slow, I don’t know if it’s my set-up, but i will accelerate and the screen stays stuck on 5kph even though im at like 30, and it takes a good 4-5 seconds to update

1 Like

Great that the range projection improved. Regarding the refresh rate issue, are you sure that’s actually related to the firmware update? Have you tried if it goes away if you downgrade to the previous version?

That sounds more like a VESC communication issue. DAVEGA is having hard time getting responses from the VESC and thus it takes long to get a screen update. That could be a hardware problem – cable connector coming loose, or cable being pinched somewhere.

1 Like

Yeah that’s not new, its always been like that for me

Also

11 Likes