Skip to content

esp32 constantly restarts (SW_CPU_RESET) #6

@Gehilfe

Description

@Gehilfe

Hello,
I can't get the code to work on an esp32-Wroomer-32. There is no error message when compiling, the transfer also works without problems. However, I always get the following message via the serial monitor:

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:0x3fff0030,len:1100
ho 0 tail 12 room 4
load:0x40078000,len:12280
ho 0 tail 12 room 4
load:0x40080400,len:3076
entry 0x400805ec
[ 17][E][ESPmDNS.cpp:65] begin(): Failed starting MDNS
[ 18][E][ESPmDNS.cpp:148] addService(): Failed adding service http.tcp.

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x400d3d07 PS : 0x00060130 A0 : 0x800d3d02 A1 : 0x3ffb2760
A2 : 0x00000000 A3 : 0x0000000a A4 : 0x00000005 A5 : 0x3ffc2b30
A6 : 0x3ffb2740 A7 : 0x3ffb2750 A8 : 0x00000000 A9 : 0x3ffb2730
A10 : 0x00000000 A11 : 0x3ffb275c A12 : 0x0000000a A13 : 0x3ffc236c
A14 : 0x3ffc23b4 A15 : 0x00000072 SAR : 0x00000019 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x40084b65 LEND : 0x40084b6d LCOUNT : 0x00000027

Backtrace:0x400d3d04:0x3ffb27600x400d3cff:0x3ffb2780 0x400d3e49:0x3ffb27c0 0x400d2980:0x3ffb2800 0x400e1cc7:0x3ffb2820

ELF file SHA256: 0000000000000000

Rebooting...

The problem occurs regardless of whether I use Platform.io or the Arduino IDE. I have also tried different versions of the libraries. I am currently using the following libraries under Platform.io:
prampec/IotWebConf@2.3.1
adafruit/RTClib
makuna/NeoPixelBus@2.5.5

To rule out a possible defect in the microcontroller, I have now used 3 different esp32. The same error pattern occurs with all three.

I would be pleased if you could give me a tip. I have already searched the net desperately for possible solutions, but have found nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions