Here is the crash log that I get when my ESP32 get disconnected from the WiFi
my code is simply the default code that I get form the Quickstart:
/*************************************************************
This is a simple demo of sending and receiving some data.
Be sure to check out other examples!
*************************************************************/
/* Fill-in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID "TMPL6UbF17bzt"
#define BLYNK_TEMPLATE_NAME "Quickstart Template"
#define BLYNK_AUTH_TOKEN "vp3_0Kfl7QwjrNwbPt1lh_5VzRDZYLh1"
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "wifissid";
char pass[] = "wifipassword";
BlynkTimer timer;
// This function is called every time the Virtual Pin 0 state changes
BLYNK_WRITE(V0)
{
// Set incoming value from pin V0 to a variable
int value = param.asInt();
// Update state
Blynk.virtualWrite(V1, value);
}
// This function is called every time the device is connected to the Blynk.Cloud
BLYNK_CONNECTED()
{
// Change Web Link Button message to "Congratulations!"
// Blynk.setProperty(V3, "offImageUrl", "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations.png");
// Blynk.setProperty(V3, "onImageUrl", "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations_pressed.png");
// Blynk.setProperty(V3, "url", "https://docs.blynk.io/en/getting-started/what-do-i-need-to-blynk/how-quickstart-device-was-made");
}
// This function sends Arduino's uptime every second to Virtual Pin 2.
void myTimerEvent()
{
// You can send any value at any time.
// Please don't send more that 10 values per second.
Blynk.virtualWrite(V2, millis() / 1000);
}
void setup()
{
// Debug console
Serial.begin(115200);
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
// You can also specify server:
//Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, "blynk.cloud", 80);
//Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, IPAddress(192,168,1,100), 8080);
// Setup a function to be called every second
timer.setInterval(1000, myTimerEvent);
}
void loop()
{
Blynk.run();
timer.run();
// Serial.println(V1);
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
Here is the error log:
14:55:18.502 -> [39] Connecting to Simon
14:55:19.618 -> Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
14:55:19.618 -> Memory dump at 0x4012b8dc: ff8d2500 0c042102 23053240
14:55:19.618 -> Core 0 register dump:
14:55:19.618 -> PC : 0x4012b8e2 PS : 0x00060830 A0 : 0x8014d8ba A1 : 0x3ffca800
14:55:19.618 -> A2 : 0x00000000 A3 : 0x00000000 A4 : 0x4012bfd2 A5 : 0x3ffc630c
14:55:19.618 -> A6 : 0x00000000 A7 : 0x00000008 A8 : 0x8012bfda A9 : 0x3ffca7e0
14:55:19.618 -> A10 : 0x00000000 A11 : 0x0000007f A12 : 0x3ffc5700 A13 : 0x00060823
14:55:19.665 -> A14 : 0x00060820 A15 : 0x00000001 SAR : 0x00000020 EXCCAUSE: 0x00000000
14:55:19.665 -> EXCVADDR: 0x00000000 LBEG : 0x4008921c LEND : 0x40089232 LCOUNT : 0xffffffff
14:55:19.665 ->
14:55:19.665 ->
14:55:19.665 -> Backtrace: 0x4012b8df:0x3ffca800 0x4014d8b7:0x3ffca840
14:55:19.665 ->
14:55:19.665 ->
14:55:19.665 ->
14:55:19.665 ->
14:55:19.665 -> ELF file SHA256: 4d0cdee3a6aaa97e
14:55:19.665 ->
14:55:19.899 -> Rebooting...
14:55:19.899 -> ets Jul 29 2019 12:21:46
14:55:19.899 ->
14:55:19.899 -> rst:0xc (SW_CPU_RESET),boot:0x36 (SPI_FAST_FLASH_BOOT)
14:55:19.899 -> configsip: 0, SPIWP:0xee
14:55:19.899 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
14:55:19.899 -> mode:DIO, clock div:1
14:55:19.899 -> load:0x3fff0030,len:1344
14:55:19.899 -> load:0x40078000,len:13924
14:55:19.899 -> ho 0 tail 12 room 4
14:55:19.899 -> load:0x40080400,len:3600
14:55:19.899 -> entry 0x400805f0
14:55:20.175 -> [38] Connecting to Simon
14:55:24.087 -> Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled.
14:55:24.087 ->
14:55:24.087 -> Core 0 register dump:
14:55:24.087 -> PC : 0x3f4104be PS : 0x00060c33 A0 : 0x8013481a A1 : 0x3ffca5f0
14:55:24.087 -> A2 : 0x00000043 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x3ff4e0c4
14:55:24.087 -> A6 : 0x00000001 A7 : 0x00000001 A8 : 0x801345ea A9 : 0x00060c23
14:55:24.087 -> A10 : 0x3ff4e0c4 A11 : 0x00060c23 A12 : 0x00060c20 A13 : 0x3ffc7698
14:55:24.087 -> A14 : 0x007c1684 A15 : 0x003fffff SAR : 0x0000001d EXCCAUSE: 0x00000002
14:55:24.087 -> EXCVADDR: 0x3f4104bc LBEG : 0x40089384 LEND : 0x4008938f LCOUNT : 0x00000000
14:55:24.087 ->
14:55:24.087 ->
14:55:24.087 -> Backtrace: 0x3f4104bb:0x3ffca5f0 |<-CORRUPTED
14:55:24.087 ->
14:55:24.087 ->
14:55:24.087 ->
14:55:24.087 ->
14:55:24.087 -> ELF file SHA256: 4d0cdee3a6aaa97e
14:55:24.087 ->
14:55:24.321 -> Rebooting...
14:55:24.368 -> ets Jul 29 2019 12:21:46
14:55:24.368 ->
14:55:24.368 -> rst:0xc (SW_CPU_RESET),boot:0x36 (SPI_FAST_FLASH_BOOT)
14:55:24.368 -> configsip: 0, SPIWP:0xee
14:55:24.368 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
14:55:24.368 -> mode:DIO, clock div:1
14:55:24.368 -> load:0x3fff0030,len:1344
14:55:24.368 -> load:0x40078000,len:13924
14:55:24.368 -> ho 0 tail 12 room 4
14:55:24.368 -> load:0x40080400,len:3600
14:55:24.368 -> entry 0x400805f0
14:55:24.599 -> [39] Connecting to Simon
14:55:30.193 -> ets Jul 29 2019 12:21:46
14:55:30.193 ->
14:55:30.193 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x36 (SPI_FAST_FLASH_BOOT)
14:55:30.193 -> configsip: 0, SPIWP:0xee
14:55:30.193 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
14:55:30.193 -> mode:DIO, clock div:1
14:55:30.193 -> load:0x3fff0030,len:1344
14:55:30.193 -> load:0x40078000,len:13924
14:55:30.193 -> ho 0 tail 12 room 4
14:55:30.193 -> load:0x40080400,len:3600
14:55:30.193 -> csum err:0x9d!=0x19
14:55:30.193 -> ets_main.c 384
14:55:30.520 -> ets Jul 29 2019 12:21:46
any help would be appreciated.