ESP32 resetting when IP/espalexa opened
Opened this issue · 2 comments
Jellmeister commented
I'm having issues:
Firstly Alexa can't discover any devices from the example sketches.
When trying to debug the above I visited IP/espalexa which makes my device reset.
Alas I don't really know what I'm doing :(
My device is Heltec HTIT-WB32 with an ESP32 in case that helps
Any thoughts as to what the issue is?
The Serial dump is as follows:
HTTP Req espalexa ...
Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled.
Core 1 register dump:
PC : 0x400d4ce1 PS : 0x00060830 A0 : 0x800d53cc A1 : 0x3ffb1ce0
A2 : 0x00002710 A3 : 0x3ffcb524 A4 : 0x00000000 A5 : 0x00000012
A6 : 0x3ffccff8 A7 : 0xff000000 A8 : 0x00000001 A9 : 0x3ffb1ce0
A10 : 0x3ffb1d94 A11 : 0x00000012 A12 : 0x00000005 A13 : 0x3ffcd00b
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000008 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x4000c28c LEND : 0x4000c296 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400d4ce1:0x3ffb1ce0 0x400d53c9:0x3ffb1d20 0x400d193a:0x3ffb1d40 0x400d1dbd:0x3ffb1e60 0x400d8613:0x3ffb1e80 0x400d86b9:0x3ffb1ea0 0x400d8726:0x3ffb1ed0 0x400d88a5:0x3ffb1f20 0x400d3100:0x3ffb1f70 0x400d31b6:0x3ffb1f90 0x400da23d:0x3ffb1fb0 0x40089782:0x3ffb1fd0
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x17 (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:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
Connecting to WiFi
Connecting....
Connected to VM0234570_2.4
IP address: 192.168.0.38
Constructing device 1
Adding device 1
Constructing device 2
Adding device 2
Constructing device 3
Adding device 3
Constructing device 4
Adding device 4
Adding device 5
Espalexa Begin...
MAXDEVICES 10
Done
Got UDP!
```
barneyz commented
You must update to library version 2.7.0 so the discovery problems should be solved.
Your device has a reset "IntegerDivideByZero" because your 5th device is not constructed, but added -> BANG!
Jellmeister commented
Thanks,
I'll try that out tonight.