Hi,
I just want to confirm that TASK Watchdog has been supported for Core 0 for ESP32 IDF 2.1 SDK because when we started application development using ESP32 IDF 2.1 SDK at that time we are not getting Task Watchdog event even if Task which is running into Core 0 is continuously though it is working into Core 1 if task has been created into Core 1 explicitly.
So, Would you please confirm that Task Watchdog is working for both Core or only for Core 1 into ESP32 IDF 2.1 SDK as we are using that SDK for our application development purpose?
Does Task Watchdog has been supported into CORE 0 for ESP32 IDF 2.1 SDK
Does Task Watchdog has been supported into CORE 0 for ESP32 IDF 2.1 SDK
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Does Task Watchdog has been supported into CORE 0 for ESP32 IDF 2.1 SDK
Hi Espressif Systems Developer or others,
Let me know if anyone has faced issue of not getting Task Watchdog for tasks which are running into core 0 continuously without any context switching delay.
Let me know if anyone has faced issue of not getting Task Watchdog for tasks which are running into core 0 continuously without any context switching delay.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Does Task Watchdog has been supported into CORE 0 for ESP32 IDF 2.1 SDK
It should work just fine. Take care of one thing: if the task taking up 100% CPU time is not pinned to any core, it may 'ping-pong' between two cores and use up 100% CPU on one particular core. Maybe that is the issue you're seeing?
Re: Does Task Watchdog has been supported into CORE 0 for ESP32 IDF 2.1 SDK
We had checked below things using ESP32 IDF 2.1.ESP_Sprite wrote:It should work just fine. Take care of one thing: if the task taking up 100% CPU time is not pinned to any core, it may 'ping-pong' between two cores and use up 100% CPU on one particular core. Maybe that is the issue you're seeing?
1) Run freeRTOS on core 0 and created one task in while loop without any delay and we are getting Task Watchdog for Core 0.
2) Run freeRTOS on core 1 and created one task in while loop without any delay and we are getting Task Watchdog for Core 1.
3) But when we run freeRTOS on both core and created task on core 0 explicitly using pinned 2 Core at that time we are not getting Task Watchdog for that task. If we execute same task on core 1 at that time we are getting Task Watchdog for Core 1.
Let me know if need anything else from my side regarding same.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 147 guests