Continuous reboot on WiFi and Bluetooth
Posted: Sun Mar 31, 2019 1:38 am
Hi,
I have been using ESP32 DOIT version DEVKIT V1 version of boards. The below program was running successfully and LED turning on and Off. However, from last few days, after the program is uploaded, it continuously reboots. Please find the below program and error message. I have designed an entire board to use the functionalities of ESP32. Now that everything was working, it all of a sudden stopped working and does not work after multiple uploads.
1. I have used three different ESP32 boards and result is same for all three.
2. Installed Arduino on my desktop and laptop. Result is the same.
Kindly check and help.
Program:
Error Message:
I have been using ESP32 DOIT version DEVKIT V1 version of boards. The below program was running successfully and LED turning on and Off. However, from last few days, after the program is uploaded, it continuously reboots. Please find the below program and error message. I have designed an entire board to use the functionalities of ESP32. Now that everything was working, it all of a sudden stopped working and does not work after multiple uploads.
1. I have used three different ESP32 boards and result is same for all three.
2. Installed Arduino on my desktop and laptop. Result is the same.
Kindly check and help.
Program:
- #include "BluetoothSerial.h" //Header File for Serial Bluetooth, will be added by default into Arduino
- BluetoothSerial ESP_BT; //Object for Bluetooth
- int incoming;
- int LED_BUILTIN = 2;
- void setup() {
- Serial.begin(9600); //Start Serial monitor in 9600
- ESP_BT.begin("ESP32_LED_Control"); //Name of your Bluetooth Signal
- Serial.println("Bluetooth Device is Ready to Pair");
- pinMode (LED_BUILTIN, OUTPUT);//Specify that LED pin is output
- }
- void loop() {
- if (ESP_BT.available()) //Check if we receive anything from Bluetooth
- {
- incoming = ESP_BT.read(); //Read what we recevive
- Serial.print("Received:"); Serial.println(incoming);
- if (incoming == 49)
- {
- digitalWrite(LED_BUILTIN, HIGH);
- ESP_BT.println("LED turned ON");
- }
- if (incoming == 48)
- {
- digitalWrite(LED_BUILTIN, LOW);
- ESP_BT.println("LED turned OFF");
- }
- }
- delay(20);
- }
Code: Select all
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:10088
load:0x40080400,len:6380
entry 0x400806a4