Search found 4 matches
- Thu Jun 15, 2017 11:34 am
- Forum: General Discussion
- Topic: wdt
- Replies: 14
- Views: 35465
Re: wdt
Here is the task code: (I commented out the lines I have tried, and enumarated them.) void speedCalInit(void * arg) { ext_int_gpio4_init(); tg0_timer0_init(); int old_ext_isr_counter = 0; //esp_task_wdt_feed(); //(1) //const TickType_t xDelay = 1 / portTICK_PERIOD_MS; //(2) while(1) { if (ext_interr...
- Thu Jun 15, 2017 5:54 am
- Forum: General Discussion
- Topic: wdt
- Replies: 14
- Views: 35465
Re: wdt
Yes, I had a while loop without calling vTaskDelay or any other freeRTOS function. Then I learnt that freeRTOS threads are different than POSIX threads. (yes I'm new to freeRTOS :) ) So I first tried to feed the wdt with esp_task_wdt_feed() function. I called it in the beginning of task function, an...
- Wed Jun 14, 2017 2:16 pm
- Forum: General Discussion
- Topic: wdt
- Replies: 14
- Views: 35465
Re: wdt
Does the diagnostic message written to serial output contain the identity of which task is being starved? here is the serial output I get: Task watchdog got triggered. The following tasks did not feed the watchdog in time: - IDLE (CPU 1) Tasks currently running: CPU 0: IDLE CPU 1: speedCalInit BTW,...
- Tue Jun 13, 2017 1:42 pm
- Forum: General Discussion
- Topic: wdt
- Replies: 14
- Views: 35465
Re: wdt
Hi, This topic is quite old, but I have the same idle task wdt feed issue. I created a ble gatt service referring to gatts_demo in esp_idf, and I have a task which calculates some data using digital inputs and sensors. I initialized ble gatt in app_main, and then created a task for calculations as b...