esp32_ota_begin results in TG0WDT_SYS_RESET

Sunny.Russ58
Posts: 3
Joined: Fri Jan 28, 2022 4:28 pm

esp32_ota_begin results in TG0WDT_SYS_RESET

Postby Sunny.Russ58 » Fri May 27, 2022 4:57 pm

I have two ESP32 systems. They run the same load. On one of the systems, a call to esp32_ota_begin immediately results in a TG0WDT_SYS_RESET. I read in the Espressif documentation that this could happen, so I have increased the TIMEOUT period to 30 seconds. In a vain attempt I said the image size was 16 bytes. The result is the same. There is no waiting "around" for 30 seconds before the TG0WDT_SYS_RESET occurs, even at the super small size of 16 bytes.

I have read where it could be a power issue, I am not sure how to cause the BROWNOUT detection to kick in before WATCHDOG.

I have seen where it could be a stack size issue, I have lots of stack at the moment of the call to esp32_ota_begin.

I can use IDF.PY <flashing parameters> and successfully get a load into the ESP32 system that has trouble with OTA.

As I mentioned before, I have two ESP32 system. On the "other" system, the call to esp32_ota_begin does not result in a TG0WDT_SYS_RESET. And the complete OTA process is 100% successful.

Anyone have a clue as to how to move forward?

Who is online

Users browsing this forum: No registered users and 104 guests