Random crashes on ESP32-WROOM-32UE

y_runwal_er
Posts: 1
Joined: Fri Mar 28, 2025 6:57 am

Random crashes on ESP32-WROOM-32UE

Postby y_runwal_er » Fri Mar 28, 2025 7:01 am

Hi community!!
I am having ESP32-WROOM-32UE with external antenna and it scans BLE devices and sends them to Cloud over WiFi (4G dongle). But I am observing auto reset issues (sometimes stuck). I am using AsyncMQTT_ESP32 by Marvin Roger, Khoi Hoang.. Version 1.10.0 and Board Manager: esp32 by Expressif Systems Version 3.0.3. Can anyone suggest what might be problem? Or can anyone suggest how can I debug it? Also if need something, do let me know.

Sometime device used to work continuously for 2-3 days, sometimes it used crash at first message publish only. Whenever I used to observe ESP crash/reset, it was due to memory allocation issue I think (backtrace led me to mqtt publish function).

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: Random crashes on ESP32-WROOM-32UE

Postby ahsrabrifat » Sat Mar 29, 2025 3:46 pm

You can enable the watchdog timer and see if it helps.

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests