could you please provide an advice how to handle the following issue?
I've connected Ublox NEO-6M module to my Chinese ESP32 WROOM (like this https://github.com/Nicholas3388/LuaNode )
Then I flashed my ESP32 by latest Loboris firmware. Everything works fine until I tried to get GPS coordinates.
I downloaded the latest micropyGPS library and made a simple test code. Please see it below.
Code: Select all
from machine import UART from micropyGPS import MicropyGPS import utime uart = UART(2, rx=13, tx=12, baudrate=9600, bits=8, parity=None, stop=1, timeout=200, buffer_size=256, lineend='\r\n') my_gps = MicropyGPS(local_offset=0, location_formatting='ddm') def test(): while True: len = uart.any() if len>0: b = uart.read(len) for x in b: if 10 <= x <= 126: stat = my_gps.update(chr(x)) if stat: print(stat)
I got Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited)
or Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
or Task watchdog got triggered. The following tasks did not reset the watchdog in time:
or different uPython errors.
I'd like to catch the problem.
Could someone provide me some ideas what could be the reason of my crashes?
Please see clips from the ./BUILD.sh monitor
Code also attached. Thank you in advance for any ideas.