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
-
💬 MySWeMosIRShield - IR blaster shield for WeMos D1
OpenHardware.io • 8 May 2017, 05:14 • openhardware.io 3 Feb 2019, 18:22 -
💬 RFM69 Raspberry PI Zero(W) Shield(HAT)
OpenHardware.io • 11 Oct 2017, 13:41 • openhardware.io 17 Jan 2018, 11:24 -
RFM69HW & ATC not working
Troubleshooting • 8 Aug 2020, 23:33 • KevinT 13 Aug 2020, 08:57 -
MySensorsTracker - a simple logger for MySensors MQTT messages
My Project • 5 Aug 2021, 08:44 • canyouhearmenow 1 Nov 2021, 15:18 -
ESP8266 WiFi settings in EEPROM
Development • 11 Feb 2016, 13:42 • Alexander Voronin 12 Feb 2016, 11:06 -
💬 MySensors Stable Node V2
OpenHardware.io • 24 Aug 2016, 23:44 • openhardware.io 9 Oct 2017, 07:53 -
Breakout Board for ESP-12F
Hardware • 1 Feb 2016, 09:54 • jolny 1 Feb 2016, 12:00 -
RFM69 using Mysensors 2.3.2
General Discussion • 28 Sept 2020, 03:53 • Highland 16 Oct 2020, 08:43