In that dummy task, Also include heap memory available and other task related debugging information so that it will be easy to debug at that time when issue will be occurred.somesh wrote: ↑Fri Jun 28, 2019 5:46 amHi Ritesh,Ritesh wrote: ↑Fri Jun 28, 2019 3:51 amHello Somesh,somesh wrote: ↑Thu Jun 27, 2019 5:43 am
Hi Ritesh and Espressif team,
I am using GPIO33 as output to control the LED(different blinking states). but if I keep my esp32 live for long time it is seen that after some days(its random) my LED is getting OFF( or esp is getting hang). if I switch esp OFF and ON again, the LED works.
Please help me to solve this issue.
As per your issue, it seems like your complete system is going to stuck somewhere due to that GPIO33 LED blinking is stopped. So, I believe there is no any issue for GPIO perspective but might be issue into synchronization or scheduling is not happened properly.
So, Would you please create one dummy task and print one debug statement every one second and keep system into running state?
So that you can have idea like what can be the problem like complete system is going to stuck or something like that.
I am using watchdog timer so that if any task or system fails it will reset esp.
anyways I will try with dummy task as you said and let you know.
GPIO33 is not working as IO into ESP32-idf RTOS SDK
Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK
Hi Ritesh,Ritesh wrote: ↑Fri Jun 28, 2019 7:17 amIn that dummy task, Also include heap memory available and other task related debugging information so that it will be easy to debug at that time when issue will be occurred.somesh wrote: ↑Fri Jun 28, 2019 5:46 amHi Ritesh,Ritesh wrote: ↑Fri Jun 28, 2019 3:51 am
Hello Somesh,
As per your issue, it seems like your complete system is going to stuck somewhere due to that GPIO33 LED blinking is stopped. So, I believe there is no any issue for GPIO perspective but might be issue into synchronization or scheduling is not happened properly.
So, Would you please create one dummy task and print one debug statement every one second and keep system into running state?
So that you can have idea like what can be the problem like complete system is going to stuck or something like that.
I am using watchdog timer so that if any task or system fails it will reset esp.
anyways I will try with dummy task as you said and let you know.
Issue is resolved. It was due to system watchdog failor.
thanks for your support.
Thanks,
Somesh Burkule
Somesh Burkule
Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK
Thanks. Let me know if need any further help regarding same.somesh wrote: ↑Fri Jun 28, 2019 5:46 amHi Ritesh,Ritesh wrote: ↑Fri Jun 28, 2019 3:51 amHello Somesh,somesh wrote: ↑Thu Jun 27, 2019 5:43 am
Hi Ritesh and Espressif team,
I am using GPIO33 as output to control the LED(different blinking states). but if I keep my esp32 live for long time it is seen that after some days(its random) my LED is getting OFF( or esp is getting hang). if I switch esp OFF and ON again, the LED works.
Please help me to solve this issue.
As per your issue, it seems like your complete system is going to stuck somewhere due to that GPIO33 LED blinking is stopped. So, I believe there is no any issue for GPIO perspective but might be issue into synchronization or scheduling is not happened properly.
So, Would you please create one dummy task and print one debug statement every one second and keep system into running state?
So that you can have idea like what can be the problem like complete system is going to stuck or something like that.
I am using watchdog timer so that if any task or system fails it will reset esp.
anyways I will try with dummy task as you said and let you know.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: REEASD and 136 guests