[Twiz O'Meter] How to update ToM's blackbox with Twizy-cfg for tuning purposes

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 486
  • Dank erhalten: 684
02 Apr 2023 13:04 - 02 Apr 2023 13:16 #242533 von Delvecchio
[Twiz O'Meter] How to update ToM's blackbox with Twizy-cfg for tuning purposes
Hi everyone.
.
I received many requests, mainly in private, about the possibility to inlcude tuning capabilities in ToM firmware.
As I reply to all who asked me for such feature, it's not my intention to integrate in ToM firmware this function.
There are many good reasons for that, but I don't want to discuss them here.
Nonetheless, I looked for a solution that could meet your wishes, without denying my will and I finaly found Twizy-Cfg by dexter!
This great pice of code is a Sevcon Gen4 configuration shell, originaly designed for Arduino (AT mega chips).
Thanks to the high vauable hints from dexter the porting to ESP32 (the chip which aims ToM) was successfuly completed, with the integration of a serial monitor via web-server, for a simplified tuning approach.
.
So, I'll explain you here, how you can flash this alernative firmware to the blackbox.
But, please, consider that this isn't and will never be an official ToM feature: no ToM will ever be distributed by me with this feature/fw included.
If you want it, you'll have to arrange to install it yourself, taking on you all the responsabilities for what you are doing!
.
Let's start!
.
.
Target:
=======

Install and run in the blackbox an alternative fw, not coded by me, using the blackbox hardware for a different purpose than that for which it was build.
Following this guide, you'll have a dual boot blackbox, with ToM fw and Twizy-cfg fw living together, each bootable according to your need.
.
.
Pre-requisites:
===============

- a black-box running the last 1.45 OTA firmware, with Wi-Fi connection configured and working
- a compiled version of Twizy-cfg. I enclose here one, ready to use, tested and working
- some time and patience to follow this short and simple guide
.
.
Updating procedure:
===================

1) switch on your Twizy (turn the key to ignition position)
2) once ToM booted, connect to its webserver "Twiz o'meter AP" (read the official guide, now availabe also translated in german by Age50Plus)
3) go to "OTA update" tab
4) select the Twizy-cfg compiled file (TwizyCfg.ino.bin)
5) check "Update to special partition" (please make sure you do it!)
6) press "Update" button and wait untill the progress bar will reach 100%
7) when ToM lcd will become black, connect to "Twizy-cfg" webserver (if requested, accept to keep the connection to that network)
8) with a browser, go to 192.168.1.4/webserial. There you'll be able to send tuning commands
9) once finished, you can restart ToM fw sending "reboot" command
10) while ToM fw is again running, you can boot at any time Twizy-cfg shell by simply pressing, in "OTA update" tab, the button "Boot to special partition", with no need to reflash it again.
.


.
That's all!
.
.
.
====================
IMPORTANT DISCLAIMER
====================

As I wrote before, tuning isn't an official ToM feature.
So, don't ask me anything about tuning and about how you can use Twizy-cfg.
For this, please refer to Twizy-cfg specific topic or to OVMS section .
I'll not reply here to any requests about tuning.
Although it is not my place to warn you, before tuning, please consider:
1 - tuning couldn't be legal in your country
2 - tuning could cause damage to your car
3 - tuning could be a risk for your securety
4 - tuning avoids your car warranty
5 - don't tune if you don't exactly know what are doing
6 - don't complain to me if something goes wrong: I'm not responsible for the installation and the usage of this alternative fw.
Anhänge:
Letzte Änderung: 02 Apr 2023 13:16 von Delvecchio.
Folgende Benutzer bedankten sich: euver, weiss60, sunneraindler, Snorre, Ulli-et-Tom, AndiEcker, green_fox, benjiw46, Sherlock

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 486
  • Dank erhalten: 684
15 Okt 2023 19:06 - 15 Okt 2023 19:07 #250454 von Delvecchio
[Twiz O'Meter] How to update ToM's blackbox with Twizy-cfg for tuning purposes

Delvecchio schrieb: 8) with a browser, go to 192.168.1.4/webserial.

I realized now: the correct address is 192.168.4.1/webserial
Letzte Änderung: 15 Okt 2023 19:07 von Delvecchio.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

   Become a Patron