OpenEVSE / openevse_esp32_firmware

OpenEVSE V4 WiFi gateway using ESP32
167 stars 110 forks source link

Problem Updating Firmware #897

Open Matol opened 3 weeks ago

Matol commented 3 weeks ago

I can't install the latest firmware on the station. I open 'firmware update' window and try both options mentioned below:

  1. automatic update via direct download from github - it says that update has started and then nothing happens.
  2. manual update, I download the file from github (openevse_wifi_tft_v1.bin) and upload it to the station, it shows a progress bar and it stops near the end and again nothing happens. I reboot the station and it shows old firmware version.

Current version is: openevse wifi 5.1.0_modified, latest on github: 5.1.2

Any help or pointers will be greatly appreciated

glynhudson commented 3 weeks ago

Can you try updating via the CURL method: https://openevse.stoplight.io/docs/openevse-wifi-v4/3e38d9ead39fc-user-guide#via-web-interface

Matol commented 3 weeks ago

Thank you for the suggestion. Unfortunately it failed and we got an "Error: 4". The update screen is attached hereto. ScreenHunter 2607 Any pointers or ideas will be great:)

ClassicGOD commented 3 weeks ago

This is the same issue as here: https://github.com/OpenEVSE/openevse_esp32_firmware/issues/881 In short your options are: update manually using UART adapter or wait for official solution. The issue is probably the incorrect partition file flashed in the factory and probably all recent TFT boards are affected.

clowrey commented 3 weeks ago

I had the same issue, I made my own uart adapter and then the bin file can be flashed easily even by web tools like https://web.esphome.io/ etc The fix on mine was complicated by a bad solder joint on the DC-DC converter capacitor which made it not functional besides the bad firmware..

mshoe007 commented 1 week ago

Just to add more info. When get the openevse_wifi_tft_v1.bin file from github and use the 'select file' method, I can see from the developer console in another browser window:

Update Start: openevse_wifi_tft_v1.bin 1995625
Update: 0%
...
Update: 98%

That's as far as it gets.

chris1howell commented 6 days ago

The repartition process for the TFT LCD in the short term requires a USB => Serial adapter and esptools (requires Python and pyserial).

Download the 5.1.2 - openevse_wifi_tft_v1.bin, bootloader_16mb.bin and partitions_16mb.bin from

https://github.com/OpenEVSE/openevse_esp32_firmware/releases/tag/v5.1.2

Connect the module to the USB => Serial adapter, then put the module in bootloader mode by holding BOOT and then pressing RESET then release BOOT

Run the command:

esptool --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_size=detect 0x1000 bootloader_16mb.bin 0x8000 partitions_16mb.bin 0x10000 openevse_wifi_tft_v1.bin