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:
192.168.0.100
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

Rebooting…

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…

Edited…2020/03/18

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.

File.c