S/W reset while using BLE in ESP32 Arduino

suryasiddhart
Posts: 5
Joined: Sat Oct 31, 2020 3:08 pm

S/W reset while using BLE in ESP32 Arduino

Postby suryasiddhart » Sat Oct 31, 2020 4:46 pm

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?

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun Nov 01, 2020 9:12 am

Can you give log output and (if applicable) a backtrace of the guru meditation?

suryasiddhart
Posts: 5
Joined: Sat Oct 31, 2020 3:08 pm

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

Postby suryasiddhart » Sun Nov 01, 2020 9:55 am

I have included the serial output along with it.
Attachments
Screenshot (139).png
Screenshot (139).png (35.86 KiB) Viewed 5675 times

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon Nov 02, 2020 1:16 am

There's a guru meditation / backtrace at the very top of the window... can you grab that and post that here?

suryasiddhart
Posts: 5
Joined: Sat Oct 31, 2020 3:08 pm

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

Postby suryasiddhart » Mon Nov 02, 2020 2:30 am

There is nothing like that. It just functions normally and at a particular point in time, there is an S/W reset happening.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Mon Nov 02, 2020 2:58 am

Screenshot (139).png
Screenshot (139).png (46.85 KiB) Viewed 5647 times

suryasiddhart
Posts: 5
Joined: Sat Oct 31, 2020 3:08 pm

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

Postby suryasiddhart » Mon Nov 02, 2020 7:45 am

The whole error serial output has been included.
Attachments
Screenshot (141).png
Screenshot (141).png (148.04 KiB) Viewed 5616 times
Screenshot (140).png
Screenshot (140).png (144.89 KiB) Viewed 5616 times

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Nov 03, 2020 2:33 am

Okay, great, can you now decode that backtrace using e.g. https://github.com/me-no-dev/EspExceptionDecoder ?

suryasiddhart
Posts: 5
Joined: Sat Oct 31, 2020 3:08 pm

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

Postby suryasiddhart » Thu Nov 05, 2020 11:54 am

When I copy and paste the backtrace, there is nothing the tool does.

Who is online

Users browsing this forum: No registered users and 116 guests