Task watchdog aborts btController at BluetoothSerial.begin()

rajendrapk@yahoo.com
Posts: 7
Joined: Sun Aug 30, 2020 9:32 am

Task watchdog aborts btController at BluetoothSerial.begin()

Postby rajendrapk@yahoo.com » Thu Sep 17, 2020 9:22 am

On my ESP32-Wroom32 Dev Module (*NOT* on earlier Developement Boards that I successfully tried!!)
I get the following error and ESP32 restarts, as soon as the code hits the BluetoothSerial.begin() statement.

What is wrong?
The SAME code is running well on Development Boards.
I also attempted with a little larger power supplies. No luck.
Also attempted hitting that code after a delay(). No luck.

Am I missing something?

14:07:38.696 -> E (24691) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
14:07:38.821 -> E (24691) task_wdt: - IDLE0 (CPU 0)
14:07:38.868 -> E (24691) task_wdt: Tasks currently running:
14:07:38.921 -> E (24691) task_wdt: CPU 0: btController
14:07:38.968 -> E (24691) task_wdt: CPU 1: IDLE1
14:07:38.968 -> E (24691) task_wdt: Aborting.
14:07:39.021 -> abort() was called at PC 0x400d7a7f on core 0
14:07:39.068 ->
14:07:39.068 -> ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
14:07:39.169 ->
14:07:39.169 -> Backtrace: 0x4008e73c:0x3ffbe420 0x4008e9b9:0x3ffbe440 0x400d7a7f:0x3ffbe460 0x400816f9:0x3ffbe480 0x4003c9fd:0x3ffccdf0 0x4005516e:0x3ffcce10 0x40174a92:0x3ffcce30 0x40168473:0x3ffcce70 0x40168954:0x3ffcce90 0x40091315:0x3ffccec0
14:07:39.423 ->
14:07:39.423 -> Rebooting...
Attachments
BlueToothError.png
BlueToothError.png (54.94 KiB) Viewed 3241 times

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

Re: Task watchdog aborts btController at BluetoothSerial.begin()

Postby ESP_Sprite » Thu Sep 17, 2020 11:53 am

Can you decode that backtrace?

rajendrapk@yahoo.com
Posts: 7
Joined: Sun Aug 30, 2020 9:32 am

Re: Task watchdog aborts btController at BluetoothSerial.begin()

Postby rajendrapk@yahoo.com » Thu Sep 17, 2020 2:59 pm

Hi ESP_Sprite and everyone,

I tried with different CPU / Flash settings and it started working at
CPU 240 MHz,
Flash Speed 40 MHz,
Flash Mode DIO and
Partition Default...SPIFF.

I think earlier I had selected the lowest CPU Hz value (40 MHz) thinking that "Lower the *SURE* it works", but looks like I was wrong!

BTW ESP_Sprite, how to decode the backtrace? .. is it, manually converting each hex byte into ASCII and looking for any meaningful English Text?

Rajendra.

OutOfLine
Posts: 52
Joined: Sat Feb 24, 2018 1:32 pm

Re: Task watchdog aborts btController at BluetoothSerial.begin()

Postby OutOfLine » Sat Sep 19, 2020 9:22 am

| how to decode the backtrace?

see https://github.com/me-no-dev/EspExceptionDecoder

Who is online

Users browsing this forum: No registered users and 189 guests