Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Updating Firmware #897

Open
Matol opened this issue Aug 21, 2024 · 6 comments
Open

Problem Updating Firmware #897

Matol opened this issue Aug 21, 2024 · 6 comments

Comments

@Matol
Copy link

Matol commented Aug 21, 2024

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
Copy link
Collaborator

@Matol
Copy link
Author

Matol commented Aug 22, 2024

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
Copy link

This is the same issue as here: #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
Copy link

clowrey commented Aug 25, 2024

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
Copy link

mshoe007 commented Sep 7, 2024

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants