Skip to content

OTA compatibility issue #9049

Closed
Closed
@marchingband

Description

@marchingband

Board

ESP32 WROVER

Device Description

https://www.sparkfun.com/products/21307

Hardware Configuration

eMMC, DAC, etc

Version

v2.0.14

IDE Name

Arduino IDE

Operating System

macos

Flash frequency

80

PSRAM enabled

yes

Upload speed

115200

Description

I am struggling to debug an issue regarding OTA updates.
For the last few years, I have had seamless OTA update processes running.
I use the Update() library to implement a manual update system.
Recently, the .bin files have been incompatible, producing odd behaviour after an update, such as failing to boot, (RTCWDT reset in a loop) or, sometimes a rollback, with the error code indicating "failed to erase".
I noticed that in this commit 161b167, @lbernstone and @me-no-dev changed the default partition tables, to include coredump and changed the size of the SPIFFS partition.
My project does not have a partitions.csv file, so relies on the default.
I am unfortunately in a position where I am unclear about what versions of arduino-esp32 were previously working for me, and the process of regression testing is getting very hard. I suspect I was previously on 2.0.2.
I am wondering if there is any information you guys could share that could help ... are you aware of any such issues where an update of arduino-esp32 causes incompatible binaries, when using the default.csv partitions?
thanks!

Sketch

https://github.com/marchingband/wvr

Debug Message

see above

Other Steps to Reproduce

  • flash with binary created using arduino-esp32 version 2.0.2, using older default.csv partition table
  • use Updates library to install a binary created using arduino-esp32 version 2.0.14, using newer default.csv partition table

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions