LoPy4 - LoRa Nano Gateway - Guru Meditation Error
I'm running the latest LoRa nano gateway example here on LoPy4, firmware version: 1.18.2.r3, pybytes: 0.9.10. And a FiPy running OTAA node example.
Everything is running fine with TTN but for only few hours. I got data sent from the node and can receive data using an MQTT client connecting to TTN. After maximum 8 hours, the gateway always crash with either
Guru Meditation Error, core panic'ed (LoadProhibited)or
(Unhandled debug exception). I've tested it many times, always crash. The difference is in how long it will crash. Sometime after only approximately one hour.
Here is an example of error with
Unhandled debug exceptionis here.
Please could someone help me with this issue?
robert-hh last edited by robert-hh
- The LoPy runs well 2-4 weeks in a row and sometimes stops. I did not look for the reason, but most likely it's power fluctuations. I enabled the internal Watchdog and to gc() in the main loop. For better robustness, I should add an external Watchdog. In general I have the impression that the LoPy is more robust than the LoPy4. Maybe there is still a rare race condition between SPI RAM and flash.
- The IC880A/RPi combo runs uninterrupted for a year now. Never stops, always serves messages well.
I should however mention that the traffic is extremely low. Besides the ones I create, I see about 1-2 message per day with proper CRC, and about 10 with bad CRC. The latter may be just noise.
@jason_gladen Did you find any way to fix the issue? I still get stuck with it.
I had a similar sounding problem with loramesh on LoPy1 firmware 1.20..(rc7 and rc8)