Task watchdog got triggered
Posted: Sat Jun 02, 2018 6:29 pm
Hello all,
I created an empty task that executes every 1 msec (vTaskDelay(1/portTICK_PERIOD_MS)),
subscribed it with the WD task
if (esp_task_wdt_add(NULL)!= ESP_OK)
{
// CHECK_ERROR_CODE(); }
if (esp_task_wdt_status(NULL)!= ESP_OK)
{
// CHECK_ERROR_CODE();
}
and resets the watchdog task every loop of that task.
esp_task_wdt_reset()
When I run the program I receive Task watchdog got triggered
Is there something error at my code? any ideas ??
Thanks in advance,
I created an empty task that executes every 1 msec (vTaskDelay(1/portTICK_PERIOD_MS)),
subscribed it with the WD task
if (esp_task_wdt_add(NULL)!= ESP_OK)
{
// CHECK_ERROR_CODE(); }
if (esp_task_wdt_status(NULL)!= ESP_OK)
{
// CHECK_ERROR_CODE();
}
and resets the watchdog task every loop of that task.
esp_task_wdt_reset()
When I run the program I receive Task watchdog got triggered
Is there something error at my code? any ideas ??
Thanks in advance,