Page 1 of 1

S/W reset while using BLE in ESP32 Arduino

Posted: Sat Oct 31, 2020 4:46 pm
by suryasiddhart
I have been using BLE feature of the arduino.
I am using 2 different freertos tasks. one to read the noise values using analog input and the other to make the BLE device to serve as a client. It somehow restarts (S/W reset) after a definite amount of time. This restart time continuously changes when I include some delay within the tassks or when I change the task size of the BLE task. Can I help me through this?

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Sun Nov 01, 2020 9:12 am
by ESP_Sprite
Can you give log output and (if applicable) a backtrace of the guru meditation?

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Sun Nov 01, 2020 9:55 am
by suryasiddhart
I have included the serial output along with it.

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Mon Nov 02, 2020 1:16 am
by ESP_Sprite
There's a guru meditation / backtrace at the very top of the window... can you grab that and post that here?

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Mon Nov 02, 2020 2:30 am
by suryasiddhart
There is nothing like that. It just functions normally and at a particular point in time, there is an S/W reset happening.

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Mon Nov 02, 2020 2:58 am
by ESP_Sprite
Screenshot (139).png
Screenshot (139).png (46.85 KiB) Viewed 5655 times

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Mon Nov 02, 2020 7:45 am
by suryasiddhart
The whole error serial output has been included.

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Tue Nov 03, 2020 2:33 am
by ESP_Sprite
Okay, great, can you now decode that backtrace using e.g. https://github.com/me-no-dev/EspExceptionDecoder ?

Re: S/W reset while using BLE in ESP32 Arduino

Posted: Thu Nov 05, 2020 11:54 am
by suryasiddhart
When I copy and paste the backtrace, there is nothing the tool does.