ESP8266 gateway crashes while the node is in FOTA progress.
-
Hi there,
I recently started using the library and i wanted to use firmware OTA feature. However I'm getting error at gateway whenever the node requests firmware OTA update. I can see from gateway logs firmware OTA is initiated and data is exchanged between the gateway and node, but unfortunatelly the gateway crashes every time and resets. I appreciate any help as I have spent many hours but couldn't find a solution yet.Setup:
Gateway : Wemos D1 Mini + RFM69
Node : ButtonSize Node (a custom Arduino Pro mini + RFM69 + Flash + Dualboot)
Controller: MyController
Transport: MQTT
Power : Through USB port from the computer for both gateway and nodeets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset4_1511569006091_stacktrace.txt
3_1511569006091_gw-log.txt
2_1511569006090_node-log.txt
1_1511569006090_gw.ino
0_1511569006090_node.ino
0_1511567682094_dump.txt
-
It seems a watchdog reset. Try increase the timer before the watchdog resets the chip
-
@gohan thanks for the suggestion. Would you mind giving a code example please. I don't; know much about the esp8266
-
I don't know much about the esp8266 watchdog too... Sorry
-
@gohan I've added
ESP.wdtFeed()
and tried with another memos d1 mini + rfm69, but it didn't help, still gettingets Jan 8 2013,rst cause:4, boot mode:(3,6)
message.
@yury / @Koresh do you have any idea about it ?
-
After upgrading Wemos from 2.3.0 to 2.4.0-RC2 version, OTA works well know
Suggested Topics
-
💬 Leaky - water detector
OpenHardware.io • 12 Dec 2020, 08:10 • openhardware.io 21 Dec 2020, 09:53 -
Sudden battery drain - Pro-mini + RFM69
Troubleshooting • 6 Apr 2023, 10:58 • Oumuamua 13 Oct 2023, 23:49 -
My final setup to get MySensors and OpenHab communicating via MQTT
OpenHAB • 28 Jul 2016, 04:10 • Eric Buhring 21 Jun 2017, 20:06 -
💬 MySensor RFM69HCW micro pcb for DHT, Si7021, CNY70, ...
OpenHardware.io • 14 Mar 2017, 09:41 • openhardware.io 13 May 2017, 21:35 -
A mesh network for use with ESP8266 and MQTT
Development • 23 Apr 2017, 02:01 • PhracturedBlue 26 Dec 2017, 12:55 -
Node Child and MQTT Subscribe
Development • 16 Jan 2015, 15:28 • Gambituk 17 Jan 2015, 14:11 -
Gateway or mqtt?
General Discussion • 21 Nov 2016, 03:03 • Michael_K 22 Nov 2016, 09:05 -
Raspberry Pi and MQTT-OpenHAB
General Discussion • 27 Nov 2014, 17:33 • C.r.a.z.y. 30 Nov 2014, 17:59