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
-
💬 Smart Sensors Shield
OpenHardware.io • 6 May 2018, 21:51 • openhardware.io 6 May 2018, 21:51 -
vThing - CO2 Monitor - Dual Beam - Wifi
OpenHardware.io • 21 Jun 2016, 03:47 • openhardware.io 22 Jun 2016, 16:05 -
RFM69 on one print board or on separate Rx and Tx prints?
General Discussion • 16 Jul 2020, 09:51 • Thomas433 16 Jul 2020, 10:32 -
💬 EASY NRF24+PA+LNA for RFM69HCW footprint
OpenHardware.io • 5 Aug 2017, 20:38 • openhardware.io 5 Aug 2017, 20:38 -
💬 Mini Dimmer Box
OpenHardware.io • 31 Mar 2018, 11:19 • openhardware.io 31 Mar 2018, 11:24 -
Adafruit RFM69HCW and Arduino Nano
Troubleshooting • 27 Jul 2020, 13:21 • keithJ 29 Jul 2020, 10:37 -
So many arduino and radio choices!
Hardware • 28 Dec 2016, 23:37 • Michael_K 29 Dec 2016, 21:27 -
Indoor BLE Location ( or presence detection)
General Discussion • 11 Dec 2014, 05:01 • gregl 17 Nov 2016, 12:27