Hello everyone,
I encounter a big difficulty with the OTAA.ino example of the “ESP32_LoRaWAN-master” library.
In this sketch, I’m doing a LoRaWAN uplink every 10 minutes and saving sensor data every 10 seconds to a file.
After a while the ESP reboots with the following error:
19:08:28.088 -> Guru Meditation Error: Core 1 panic’ed (Cache disabled but cached memory region accessed)
19:08:28.088 -> Core 1 register dump:
*19:08:28.088 -> PC : 0x400d69a4 PS : 0x00060034 A0 : 0x40084d00 A1 : 0x3ffbe7b0 *
*19:08:28.088 -> A2 : 0x0000001a A3 : 0x3ffc0ac0 A4 : 0x00000000 A5 : 0x04000000 *
*19:08:28.136 -> A6 : 0x3ff42000 A7 : 0x700000bb A8 : 0x800810c4 A9 : 0xd0000070 *
*19:08:28.136 -> A10 : 0x00000000 A11 : 0xb0000000 A12 : 0x00060023 A13 : 0x3ffbe790 *
*19:08:28.136 -> A14 : 0x3ffbe7d8 A15 : 0x00000001 SAR : 0x00000015 EXCCAUSE: 0x00000007 *
*19:08:28.136 -> EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000 *
19:08:28.136 -> Core 1 was running in ISR context:
19:08:28.136 -> EPC1 : 0x4006225d EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x400d69a4
*19:08:28.136 -> *
19:08:28.136 -> Backtrace: 0x400d69a4:0x3ffbe7b0 0x40084cfd:0x3ffbe7d0 0x4006225a:0x3ffb1b70 0x4008e7a7:0x3ffb1b90 0x4008e7de:0x3ffb1bc0 0x4008e87d:0x3ffb1bf0 0x4008ed12:0x3ffb1c10 0x40087169:0x3ffb1c30 0x400f8549:0x3ffb1c50 0x400e0d25:0x3ffb1c70 0x400e25d2:0x3ffb1ca0 0x400e112d:0x3ffb1cd0 0x400e1c6e:0x3ffb1cf0 0x400e338d:0x3ffb1d30 0x400dfbbd:0x3ffb1d90 0x400dfc35:0x3ffb1db0 0x400e096a:0x3ffb1de0 0x400df709:0x3ffb1e00 0x400e7c51:0x3ffb1e20 0x4000bd4b:0x3ffb1e40 0x400011c1:0x3ffb1e60 0x40002055:0x3ffb1e80 0x400020b5:0x3ffb1ea0 0x400d86c9:0x3ffb1ec0 0x400d8645:0x3ffb1ee0 0x400d157f:0x3ffb1f10 0x400d168a:0x3ffb1f90 0x400da921:0x3ffb1fb0 0x40088971:0x3ffb1fd0
*19:08:28.229 -> *
19:08:28.229 -> Rebooting…
I think this is an SPI access conflict between SPIFFS and the SX1276 Lora, the time is very variable 5 to 90 minutes after the run.
Has anyone ever had this problem?
Thank you in advance for your help.
Olivier