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
-
💬 MySensors Easy Pro Mini
OpenHardware.io • 31 May 2017, 07:30 • openhardware.io 20 Nov 2018, 15:59 -
ENC28j60 MQTT problem
Troubleshooting • 2 Dec 2014, 21:27 • bomber 4 Dec 2014, 05:48 -
No softspi support for RFM69
Bug Reports • 16 Aug 2015, 06:35 • mrmin24 23 Jul 2017, 11:32 -
💬 ESP-LINK ESP8266 WeMos D1 Mini Adapter Board
OpenHardware.io • 7 Nov 2016, 17:03 • openhardware.io 9 Feb 2017, 04:56 -
💬 Just RFM gateway
OpenHardware.io • 15 Nov 2016, 01:19 • openhardware.io 10 Mar 2017, 18:15 -
MySensorsTracker - a simple logger for MySensors MQTT messages
My Project • 5 Aug 2021, 08:44 • canyouhearmenow 1 Nov 2021, 15:18 -
💬 MySensors Nrf24/RFM Serial/Ethernet GW Shield (for Uno)
OpenHardware.io • 6 May 2019, 12:53 • openhardware.io 14 Jan 2021, 22:54 -
💬 Wall Socket Insertable Node
OpenHardware.io • 22 May 2016, 20:08 • openhardware.io 28 Jan 2018, 14:54