Using a WROVER, IDF release/v4.0.
I have an OTA task with this in it (inside a do loop; hence the continue):
Code: Select all
ESP_LOGI(TAG, "otaTask(): next update partition is %s.", m_partInfo->label);
rc = esp_ota_begin(m_partInfo, binSize, &m_handle);
if (rc != ESP_OK)
{
ESP_LOGE(TAG, "otaTask(): esp_ota_begin() returned: %x.", rc);
continue;
}
ESP_LOGI(TAG, "otaTask(): esp_ota_begin() successful.");
Code: Select all
I (44943) Ota: otaTask(): next update partition is ota_1.
E (49923) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (50063) task_wdt: - IDLE0 (CPU 0)
E (50063) task_wdt: Tasks currently running:
E (50063) task_wdt: CPU 0: ipc0
E (50063) task_wdt: CPU 1: IDLE1
I (51903) Ota: otaTask(): esp_ota_begin() successful.