Closed ricaun closed 5 years ago
For some reason, the new version of the ESP32 board 1.0.2 makes the gateway to reset when the gateway sends a message from the onMessage callback.
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x4008161a PS : 0x00050031 A0 : 0x800d1021 A1 : 0x3ffbe7c0 A2 : 0x00000040 A3 : 0x00018040 A4 : 0x000637ff A5 : 0x3ffbe7a0 A6 : 0x00000000 A7 : 0x3ffbfe5c A8 : 0x00000000 A9 : 0x04000000 A10 : 0x00000001 A11 : 0x00000000 A12 : 0x80080e7c A13 : 0x3ffbe780 A14 : 0x00000000 A15 : 0x3ffb0060 SAR : 0x0000000e EXCCAUSE: 0x0000001c EXCVADDR: 0x800d102d LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff Core 1 was running in ISR context: EPC1 : 0x4008161a EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x40082835 Backtrace: 0x4008161a:0x3ffbe7c0 0x400d101e:0x3ffb1f90 0x400d2ae9:0x3ffb1fb0 0x40087911:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 188777542, 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:928 ho 0 tail 12 room 4 load:0x40078000,len:8424 ho 0 tail 12 room 4 load:0x40080400,len:5868 entry 0x4008069c LoRaNow Simple Gateway
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x4008161a PS : 0x00050031 A0 : 0x800d1021 A1 : 0x3ffbe7c0 A2 : 0x00000040 A3 : 0x00018040 A4 : 0x000637ff A5 : 0x3ffbe7a0 A6 : 0x00000000 A7 : 0x3ffbfe5c A8 : 0x00000000 A9 : 0x04000000 A10 : 0x00000001 A11 : 0x00000000 A12 : 0x80080e7c A13 : 0x3ffbe780 A14 : 0x00000000 A15 : 0x3ffb0060 SAR : 0x0000000e EXCCAUSE: 0x0000001c EXCVADDR: 0x800d102d LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff Core 1 was running in ISR context: EPC1 : 0x4008161a EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x40082835
Backtrace: 0x4008161a:0x3ffbe7c0 0x400d101e:0x3ffb1f90 0x400d2ae9:0x3ffb1fb0 0x40087911:0x3ffb1fd0
Rebooting... ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 188777542, 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:928 ho 0 tail 12 room 4 load:0x40078000,len:8424 ho 0 tail 12 room 4 load:0x40080400,len:5868 entry 0x4008069c LoRaNow Simple Gateway
If you have the same problem you can downgrade the version to 1.0.1, for some reason the new version cause the board to reset.
This is a temporary solution until I discover what's going on.
I change the callback to the loop, Fix the interrupt issue
For some reason, the new version of the ESP32 board 1.0.2 makes the gateway to reset when the gateway sends a message from the onMessage callback.
If you have the same problem you can downgrade the version to 1.0.1, for some reason the new version cause the board to reset.
This is a temporary solution until I discover what's going on.