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
-
FOTA/MYSBootloader for RFM69?
General Discussion • 2 Aug 2021, 21:01 • Thomas433 2 Aug 2021, 21:01 -
MQTT Gateway + wi-fi instead of ethernet
Controllers • 13 Mar 2015, 08:29 • vladimir 14 Mar 2015, 09:13 -
💬 ESP8266 Gateway
OpenHardware.io • 18 Feb 2018, 21:52 • openhardware.io 21 Mar 2018, 06:31 -
Mysensors - Keep alive / LWT (last will, testament)?
General Discussion • 25 Aug 2015, 08:10 • ahhk 25 Aug 2015, 10:41 -
💬 JMP Arduino Pro Mini Multisensor Board v2.1
OpenHardware.io • 20 Feb 2018, 21:45 • openhardware.io 6 Mar 2018, 11:55 -
OpenHAB Mysensors binding 2.4: cant get mqtt gateway online
Troubleshooting • 21 Jan 2019, 20:51 • jimmy loyens 21 Mar 2019, 02:32 -
💬 MDMSNode "Lighting X2"
OpenHardware.io • 29 May 2017, 07:56 • openhardware.io 27 Apr 2019, 08:23 -
[SOLVED] ESP8266MQTTClientGateway problem
General Discussion • 24 Jan 2016, 19:32 • mbj 26 Jan 2016, 21:29