Project is Crashing. ESP32 to Blynk

My project crashes every time I incorporate “Blynk.begin(auth, ssid, pass).” I even tried the simple ESP32 Wifi Blynk Blynk Example script and it still crashes! Can you please help? What is happening and what do I do? Frustrated…

Here are the error messages below:

22:26:33.023 -> ets Jun  8 2016 00:22:57
22:26:33.023 -> 
22:26:33.023 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
22:26:33.023 -> configsip: 0, SPIWP:0xee
22:26:33.023 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
22:26:33.023 -> mode:DIO, clock div:1
22:26:33.023 -> load:0x3fff0018,len:4
22:26:33.023 -> load:0x3fff001c,len:808
22:26:33.023 -> load:0x40078000,len:6084
22:26:33.023 -> load:0x40080000,len:6696
22:26:33.023 -> entry 0x400802e4
22:26:33.262 -> [19] Connecting to Symbatek-H
22:26:33.534 -> assertion "usedEntries == newPage->getUsedEntryCount()" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_pagemanager.cpp", line 175, function: esp_err_t nvs::PageManager::requestNewPage()
22:26:33.534 -> abort() was called at PC 0x400d7d4f on core 0
22:26:33.534 -> 
22:26:33.534 -> Backtrace: 0x4008fac0:0x3ffb6f00 0x4008fcc3:0x3ffb6f20 0x400d7d4f:0x3ffb6f40 0x400ddb15:0x3ffb6f70 0x400dc1af:0x3ffb6f90 0x400dbe75:0x3ffb6ff0 0x400da4e9:0x3ffb7030 0x400da864:0x3ffb7070 0x400dabc2:0x3ffb70a0 0x4010d956:0x3ffb70d0 0x4010d9f0:0x3ffb7100 0x4010dcda:0x3ffb7130 0x4010de53:0x3ffb7160 0x40088e0c:0x3ffb7180
22:26:33.534 -> 
22:26:33.534 -> Rebooting...
22:26:33.568 -> ets Jun  8 2016 00:22:57
22:26:33.568 -> 
22:26:33.568 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
22:26:33.568 -> configsip: 0, SPIWP:0xee
22:26:33.568 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
22:26:33.568 -> mode:DIO, clock div:1
22:26:33.568 -> load:0x3fff0018,len:4
22:26:33.568 -> load:0x3fff001c,len:808
22:26:33.568 -> load:0x40078000,len:6084
22:26:33.568 -> load:0x40080000,len:6696
22:26:33.568 -> entry 0x400802e4
22:26:33.806 -> [27] Connecting to Symbatek-H
22:26:34.083 -> assertion "usedEntries == newPage->getUsedEntryCount()" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_pagemanager.cpp", line 175, function: esp_err_t nvs::PageManager::requestNewPage()
22:26:34.083 -> abort() was called at PC 0x400d7d4f on core 0
22:26:34.083 -> 
22:26:34.083 -> Backtrace: 0x4008fac0:0x3ffb6f00 0x4008fcc3:0x3ffb6f20 0x400d7d4f:0x3ffb6f40 0x400ddb15:0x3ffb6f70 0x400dc1af:0x3ffb6f90 0x400dbe75:0x3ffb6ff0 0x400da4e9:0x3ffb7030 0x400da864:0x3ffb7070 0x400dabc2:0x3ffb70a0 0x4010d956:0x3ffb70d0 0x4010d9f0:0x3ffb7100 0x4010dcda:0x3ffb7130 0x4010de53:0x3ffb7160 0x40088e0c:0x3ffb7180
22:26:34.118 -> 
22:26:34.118 -> Rebooting...
22:26:34.151 -> ets Jun  8 2016 00:22:57

Nope (with current info), and dunno… but if you include your code, and versions of all used and relevant software and info (ESP32 Arduino Core, Blynk Library, Local or Cloud Server, and so on…) we might have a better chance :stuck_out_tongue:

Please properly format it all for cleaner forum viewability, like I just did for your initial post.

Blynk%20-%20FTFC

Here is my code below:

#define BLYNK_PRINT Serial


#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxxxxxxxxxxxx";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "xxxxxxxxxxxxxx";
char pass[] = "xxxxxxxxxxxxxx";

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}

void loop()
{
  Blynk.run();
  // 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!
}

Well, you neglected to properly format it, again… so I did, again…

Since is looks like the basic Blynk Blink sketch… and nothing wrong there that I can see. Your issue is probably related to how you installed your ESP32 Arduino Core. Not much we can do there… i recommend you double check your install and perhaps ask around the espressif forums for ideas.

https://www.esp32.com/