ESP32 LoRa (v2) rebooting hard 0.0.4

Hello people!

Recently I´m updated the hardware version and I had a surprise… The firmware I have made with hard ver 0.0.2-rc1 no longer work. Apparently ESP32 rebooting when I tried to send a string by LoRa.

Executing a downgrade again the firmware back to work.

I´m new in Arduino program and I have no idea what hapens…

See the debug below::

Serial initial done
you can see OLED printed OLED initial done!
LoRa Initial success!
Connecting to dlink-0785

Waiting for WiFi…
WiFi connected
IP address:
LoRa init Gateway.
Received from: 0x1
Sent to: 0xff
Message ID: 3
Message length: 33
Message: M1,3687,1000.000000,1000.000000,1
RSSI: -52
Guru Meditation Error: Core 1 panic’ed (Coprocessor exception)
Core 1 register dump:
PC : 0x400d6cba PS : 0x00060531 A0 : 0x800d2155 A1 : 0x3ffbe570
A2 : 0x3ffbe734 A3 : 0x00000001 A4 : 0x00000002 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x3ffcc130 A8 : 0x800d2863 A9 : 0x3ffbe660
A10 : 0x41500000 A11 : 0x402a0000 A12 : 0x00000000 A13 : 0x41500000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001d EXCCAUSE: 0x00000004
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffe
Core 1 was running in ISR context:
EPC1 : 0x400d6cba EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x40087585

Backtrace: 0x400d6cba:0x3ffbe570 0x400d2152:0x3ffbe690 0x400d2e14:0x3ffbe770 0x400d2e2a:0x3ffbe790 0x4008135d:0x3ffbe7b0 0x400852cd:0x3ffbe7d0 0x4000bfed:0x3ffb1db0 0x4008a855:0x3ffb1dc0 0x4008c583:0x3ffb1de0 0x4008cc08:0x3ffb1e00 0x40085570:0x3ffb1e20 0x4008567d:0x3ffb1e40 0x40085742:0x3ffb1e60 0x40085a85:0x3ffb1e80 0x4000bedd:0x3ffb1ea0 0x400d6a47:0x3ffb1ec0 0x400d6b5c:0x3ffb1ef0 0x400d6b71:0x3ffb1f10 0x400d6bb3:0x3ffb1f30 0x400d1c79:0x3ffb1f50 0x400d6f09:0x3ffb1fb0 0x400896d9:0x3ffb1fd0


Can you please upload your example code here? I want test at my side.

Hello Friend,

See below. I think is a problem with simple solution but as I said I´m noob and I don´t know what happen…


That is terrible to read.
Please format your source code

Hi friend,

So sorry for this. I don´t know how can I format it to help you but see the link below.

Maybe it can help you.


Hi friend,

How are you?

Did you see the file I sent? Were you able to run this firmware? There’s something new about that.


the problem started with your latest release 0.5 it was working fine with me a week back… i was able to use duplex communication from 2 ESP 32 Lora boards ( not V2) but then i had to change my machine and reuinstall the library … now since then it is not working. i tried downgrading the hardware version ( since i dont remember when i last installed this library) but this problem is not going away… even the example code is for multiple duplex communication with interrupt is
not working.

From what i have gathered from the posts is that people have recently started sharing the same error ( Guru Meditation Error) this is arising every time a person uses anything with interrupt ( hardware interrupt) Esressif forum indicates that this error arises when stack invades heap. or simply when IRQ is long that it gets inside some other function defined at some other location.
I hope this will help you check the difference in the previous and latest versions… because previous versions used to run but new versions are creating problem

But compare with V0.0.5 and V0.0.4, the V0.0.5 version only added LoRaWAN parameters option to the Tools menu, fixed nothing about the source code.

Did you choose a correct board on the menu? WiFi LoRa 32 V1 and V2 have a different FLASH size and partition map, incorrect board type will case system reboot.

Yes I did checked the board… It’s working fine for me now, since I have downgraded to version 0.0.1 and what I have gathered from the first comment in this thread his code is running for version 0.0.2 as well… I check it for version 0.0.4 also, but it didn’t work… You are right in saying that it can be board related issue, but on the other hand the problem is with the ISR only…
You can try running your example code of multiple lora communication with interrupt… The same is also not working for version 0.0.5 or even 0.0.4
Though I haven’t checked it for 0.0.2 myself so i won’t comment on that…

I am no expert in programming I am only telling you what I have experienced from my permutations and combinations…

Hi @anshul_sharma

I tested with 4 WiFi LoRa 32(V2) and a WiFi LoRa 32 (V1), both of they are working well here.

Make sure the board type must select correct in the menu:

Did you used version 0. 0.5 or 0.0.4!!!

Also suggest if we should install the heltec 32 board through git Or using board manager… What do you suggest!!!


Git and board manager have a same code version now.