Skip to content

esp32 bootloop with platform=espressif32 #329

@MichaelDvP

Description

@MichaelDvP

With the new espressif 6.4.0 / framework-arduinoespressif32 3.20011 the esp32 bootloops with this message

rst:0x10 (RTCWDT_RTC_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:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4

I've tested with the plain code from here, set all features.ini to zero and also removed the LightStateSevice and LightMqttSettingsService, but still bootloop. -D CORE_DEBUG_LEVEL=5 does not give any other message.
I think it's something at initialisation so i moved the esp8266React to the setup funcion and it works.

This bootloops:

main.cpp:
#include <ESP8266React.h>
AsyncWebServer server(80);
ESP8266React esp8266React(&server);
ESP8266React * espReact;
void setup() {
  espReact->begin();
  server.begin();
}
void loop() {
  esp8266React.loop();
}

This works:

main.cpp:
#include <ESP8266React.h>
AsyncWebServer server(80);
ESP8266React * espReact;
void setup() {
  espReact = new ESP8266React(&server);
  espReact->begin();
  server.begin();
}
void loop() {
  espReact->loop();
}

Any idea what causes the bootloop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions