ESP32-LMIC-DeepSleep-example
ESP32-LMIC-DeepSleep-example copied to clipboard
Guru Meditation Error: Core 1 panic'ed
Hello, after uploading your code, i get this:
Starting DeepSleep test LMIC: 4.1.1.0 Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled. Memory dump at 0x400d5040:
I use Arduino 1.8.19 and the newest LMIC library 4.1.1.0 and a Lolin ESP32 mini
Do you have an idea?
Regards Juergen
Sorry no idea, possible wrong pin assignment? Because after the Starting DeepSleep test
and the Version output the os_init();
and LMIC_reset();
is executed. Does the board work with the examples from the LMIC lib?
I Think, you are right! It works now a little bit. But it cannot sleep! This message is endless.
(PS: i use a DFrobot FireBeetle ESP32-E) _
11:39:19.940 -> Packet queued 11:39:19.940 -> 3376: EV_JOINING 11:39:20.767 -> 56298: EV_TXSTART 11:39:21.867 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 2 seconds 11:39:23.890 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 4 seconds 11:39:25.887 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 6 seconds 11:39:27.887 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 8 seconds 11:39:29.874 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 10 seconds 11:39:31.868 -> Cannot sleep TimeCriticalJobs: 0 LMIC.opmode: OP_JOINING OP_TXDATA OP_TXRXPEND OP_NEXTCHNL Runtime: 12 seconds ..................... _
Seems the board is in joining phase, thus it does as designed no sleep.
but why? The original LMIC OTAA example with same TTN credentials works fine. (same board)