GPIO33 is not working as IO into ESP32-idf RTOS SDK

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK

Postby Ritesh » Fri Jun 28, 2019 7:17 am

somesh wrote:
Fri Jun 28, 2019 5:46 am
Ritesh wrote:
Fri Jun 28, 2019 3:51 am
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.
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.
Hi Ritesh,
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.
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.
Regards,
Ritesh Prajapati

somesh
Posts: 36
Joined: Tue Jun 25, 2019 6:44 am
Location: Pune
Contact:

Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK

Postby somesh » Thu Jul 04, 2019 5:19 am

Ritesh wrote:
Fri Jun 28, 2019 7:17 am
somesh wrote:
Fri Jun 28, 2019 5:46 am
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.
Hi Ritesh,
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.
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.
Hi Ritesh,
Issue is resolved. It was due to system watchdog failor.
thanks for your support.
Thanks,
Somesh Burkule

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: GPIO33 is not working as IO into ESP32-idf RTOS SDK

Postby Ritesh » Thu Jul 04, 2019 5:30 am

somesh wrote:
Fri Jun 28, 2019 5:46 am
Ritesh wrote:
Fri Jun 28, 2019 3:51 am
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.
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.
Hi Ritesh,
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.
Thanks. Let me know if need any further help regarding same.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: forrest and 160 guests