Customer:
When I load the basic classic Bluetooth example on the Dasduino ConnectPlus, the serial monitor shows repeated crashes:
0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
Brownout detector was triggered
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load: ,len:10900
load: ,len:6360
entry 0x400806b4
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400def30 PS : A0 : 0x800df5d1 A1 : 0x3ffcffb0
A2 : 0x3ffde93c A3 : 0x3ffd0028 A4 : A5 :
A6 : A7 : A8 : A9 : 0x3ffcffb0
A10 : A11 : A12 : A13 : 0x3ffd0030
A14 : 0x000f1400 A15 : 0x3ffde93c SAR : EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000002c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256:
Backtrace: 0x400def30:0x3ffcffb0 0x400df5ce:0x3ffd0000 0x400d5969:0x3ffd0020 0x4008f49e:0x3ffd0050
Rebooting...
The board is only connected via USB to the laptop with no other connections. The sketch being used is:
#include "BluetoothSerial.h"
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT;
void setup() {
Serial.begin(115200);
SerialBT.begin("ESP32test"); //Bluetooth device name
Serial.println("The device started, now you can pair it with bluetooth!");
}
void loop() {
if (Serial.available()) {
SerialBT.write(Serial.read());
}
if (SerialBT.available()) {
Serial.write(SerialBT.read());
}
delay(20);
}
Is there a known issue or do you have a working library and example?
Original message (Croatian)
Pozdrav, imam problem sa navedenom pločom, kod učitavanja osnovnog primjera za klasični bluetooth, u serial monitoru dobivam ovo:
0x1 (POWERON_RESET),boot:0x13 (S
Brownout detector was triggered
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load: ,len:10900
load: ,len:6360
entry 0x400806b4
Guru Meditation Error: Core 0 panic’ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400def30 PS : A0 : 0x800df5d1 A1 : 0x3ffcffb0
A2 : 0x3ffde93c A3 : 0x3ffd0028 A4 : A5 :
A6 : A7 : A8 : A9 : 0x3ffcffb0
A10 : A11 : A12 : A13 : 0x3ffd0030
A14 : 0x000f1400 A15 : 0x3ffde93c SAR : EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000002c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256:
Backtrace: 0x400def30:0x3ffcffb0 0x400df5ce:0x3ffd0000 0x400d5969:0x3ffd0020 0x4008f49e:0x3ffd0050
Rebooting…
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load: ,len:10900
load: ,len:6360
entry 0x400806b4
Brownout detector was triggered
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load: ,len:10900
load: ,len:6360
entry 0x400806b4
Guru Meditation Error: Core 0 panic’ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400def30 PS : A0 : 0x800df5d1 A1 : 0x3ffcffb0
A2 : 0x3ffde93c A3 : 0x3ffd0028 A4 : A5 :
A6 : A7 : A8 : A9 : 0x3ffcffb0
A10 : A11 : A12 : A13 : 0x3ffd0030
A14 : 0x000f1400 A15 : 0x3ffde93c SAR : EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000002c LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256:
Backtrace: 0x400def30:0x3ffcffb0 0x400df5ce:0x3ffd0000 0x400d5969:0x3ffd0020 0x4008f49e:0x3ffd0050
Rebooting…
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load: ,len:10900
load: ,len:6360
entry 0x400806b4
Sketch (ništa nije spojeno na ploču, samo usb-om na laptop): //This example code is in the Public Domain (or CC0 licensed, at your option.)
//By Evandro Copercini - 2018
//
//This example creates a bridge between Serial and Classical Bluetooth (SPP)
//and also demonstrate that SerialBT have the same functionalities of a normal Serial
#include “BluetoothSerial.h”
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run make menuconfig to and enable it
#endif
BluetoothSerial SerialBT;
void setup() {
Serial.begin(115200);
SerialBT.begin(“ESP32test”); //Bluetooth device name
Serial.println(“The device started, now you can pair it with bluetooth!”);
}
void loop() {
if (Serial.available()) {
SerialBT.write(Serial.read());
}
if (SerialBT.available()) {
Serial.write(SerialBT.read());
}
delay(20);
}
Znate li možda u čemu je tu problem? Ili ako imate neki library i primjer koji radi?
Originally submitted via email support on 7 September 2022. Migrated to the forum for community visibility.