matthias-bs / BresserWeatherSensorTTN

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver based on ESP32 and RFM95W/SX1276 - sends data to a LoRaWAN Network (e.g. The Things Network)
MIT License
22 stars 9 forks source link

Guru Meditation Error with v2.0.x of Arduino core for the ESP32 #9

Closed matthias-bs closed 1 year ago

matthias-bs commented 1 year ago

After getting the build process with v2.0.x to work, I got the following run time error (the same code works fine with v1.0.6):

[...]
23:14:20.569 -> Indoor Humidity:     56.8 %
23:14:20.569 -> 
23:14:20.569 -> Guru Meditation Error: Core  1 panic'ed (LoadStoreError). Exception was unhandled.
23:14:20.569 -> 
23:14:20.569 -> Core  1 register dump:
23:14:20.569 -> PC      : 0x400d3df3  PS      : 0x00060b30  A0      : 0x800d3e77  A1      : 0x3ffcf4e0  
23:14:20.603 -> A2      : 0x40030a4e  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x00387313  
23:14:20.603 -> A6      : 0xfffffffc  A7      : 0x00000003  A8      : 0x00000000  A9      : 0x3ffc3694  
23:14:20.603 -> A10     : 0x00000010  A11     : 0x00000016  A12     : 0x00000000  A13     : 0x00040df7  
23:14:20.603 -> A14     : 0x63ffffff  A15     : 0x00000003  SAR     : 0x0000001b  EXCCAUSE: 0x00000003  
23:14:20.636 -> EXCVADDR: 0x40030a4e  LBEG    : 0x400d3da4  LEND    : 0x400d3e02  LCOUNT  : 0x00000004  
23:14:20.636 -> 
23:14:20.636 -> 
23:14:20.636 -> Backtrace:0x400d3df0:0x3ffcf4e00x400d3e74:0x3ffcf510 0x400d383b:0x3ffcf610 0x400d3912:0x3ffcf630 0x400d3954:0x3ffcf650 0x400d4d9e:0x3ffcf670 0x400d6325:0x3ffcf690 0x400d6636:0x3ffcf6b0 0x400d78d8:0x3ffcf6d0 0x400d3c93:0x3ffcf6f0 0x400d2ea1:0x3ffcf710 0x400e3908:0x3ffcf730 
23:14:20.636 -> 
23:14:20.636 -> 
23:14:20.636 -> 
23:14:20.636 -> 
23:14:20.636 -> ELF file SHA256: 0000000000000000
matthias-bs commented 1 year ago

Could be related to https://github.com/mcci-catena/arduino-lorawan/issues/181

matthias-bs commented 1 year ago

Confirmed! Fixed with https://github.com/mcci-catena/arduino-lorawan/pull/204.