OpenEVSE Mega-Update Help

Hello,

This thread is basically to confirm that I have parsed all the information I have found over the internet

I have a OpenEVSE which is currently running

Firmware Version
Controller Firmware: 7.0.2.T2
WiFi Firmware: 3.3.1

with an ethernet ESP32 board in.

I want to update the ESP firmware, but I believe from the release page for that firmware I need to update the controller firmware?

Which I get redirected to this repo GitHub - OpenEVSE/open_evse: Firmware for Open EVSE to find the firmware. I assume I need openevse_eu.hex.

I assume from this thread and linked article that I need to extract the controller board from the charger, get a AVR programmer (like this one) and then flash the firmware image?

I am a little worried about taking this apart and breaking it, it’s a rather critical bit of tech for me!

So some questions:

  1. Do I need to disassemble the whole thing or is isolating it from the mains sufficient?
  2. I’ve used an ardunio as an AVR programmer before, can I do this here?
  3. Is there a race condition between upgrading the controller and ESP32 firmwares? Do they need to be upgraded in sync or which one first?

Thanks a lot!

Hi,

1- You don’t need to disassemble the whole thing. Just isolate it from main power and flash it with the avr programer. I think I’ve always disconnected the ESP32 cable just in case, but not even sure it’s necessary.

2 - any AVR prog is ok. It’s quicker to have the correct ISP connector to not mess up with trailing wires.

3 - first upgrade the AVR, then ESP32.

Hi @Guillaume_S Thanks!

Do you have a recommendation for an AVR programmer, the one recommended in the thread is no longer available?

Programmateur AVR 2.1 3172 - Gotronic

This one should be good

1 Like

Well, I appear (haven’t actually tried to charge the car off it yet) to have updated the firmware on the openevse itself. It now reports version 8.2.2.EU.

I am, however, now having issues updating the firmware on my Olimex ESP32-gateway rev F Ethernet module. I have tried to flash various versions (back as far as 4.2.2) via the web interface but the update reports that it has failed.

Is there anything I should consider doing when updating from as far back as 3.3.1?

Ah, I just found this fix, first included in v4.1.5: Issue #187 - Feed watchdog in http_update_write() & ESP Ethernet OTA upload by ianrrees · Pull Request #415 · OpenEVSE/openevse_esp32_firmware · GitHub

Should I do the upgrade via some other non-web UI means?