-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
esp_ota_begin triggers WDT if partition is too big (IDFGH-2859) #4916
Comments
What means |
In my case, the partitions are about 1.8MB: It worked OK when my partitions were a little smaller (closer to 1.5MB). |
I just noticed there are config options for managing this. See: Yet they seem to have been removed for IDF v4...? |
Hi @boarchuz, This is a mistake in our internal development process, thanks for highlighting it. The new SPI Flash API for v4.0 was being developed around the same time this fix was being applied, and the fix was backported to v3.3.x without the same fix being merged for v4.0. Will fix ASAP, and this issue will be updated when the fix is merged. |
Hi @projectgus The fix is not yet available in current master tree. |
Hi @AxelLin , Thanks for being patient while we merge this. Because v4.0 has an entirely new SPI flash implementation, we have to implement this on both implementations (legacy & new) for v4.x and then test thoroughly. So quite a bit of new code has to be written, tested, and reviewed compared to the v3.x change. The change is in the final stages of testing now, will be merged ASAP. |
Environment
git describe --tags
to find it):// v4.0-199-ge6a59ac03
xtensa-esp32-elf-gcc --version
to find it):// (crosstool-NG esp-2019r2) 8.2.0
Problem Description
esp_ota_begin erase can trigger WDT
//Detailed problem description goes here.
If the partition being erased is too large, the call to esp_ota_begin will cause the WDT to go off. This problem is well documented (and solved) here:
Debug Logs
The text was updated successfully, but these errors were encountered: