Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. ESP8266 gateway crashes while the node is in FOTA progress.

ESP8266 gateway crashes while the node is in FOTA progress.

Scheduled Pinned Locked Moved Troubleshooting
rfm69otamqttesp8266
6 Posts 2 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abdu Sahin
    wrote on last edited by Abdu Sahin
    #1

    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 node

    ets Jan 8 2013,rst cause:4, boot mode:(3,6)
    wdt reset

    4_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

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      It seems a watchdog reset. Try increase the timer before the watchdog resets the chip

      A 1 Reply Last reply
      0
      • gohanG gohan

        It seems a watchdog reset. Try increase the timer before the watchdog resets the chip

        A Offline
        A Offline
        Abdu Sahin
        wrote on last edited by
        #3

        @gohan thanks for the suggestion. Would you mind giving a code example please. I don't; know much about the esp8266 :(

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          I don't know much about the esp8266 watchdog too... Sorry

          A 1 Reply Last reply
          0
          • gohanG gohan

            I don't know much about the esp8266 watchdog too... Sorry

            A Offline
            A Offline
            Abdu Sahin
            wrote on last edited by Abdu Sahin
            #5

            @gohan I've added ESP.wdtFeed() and tried with another memos d1 mini + rfm69, but it didn't help, still getting ets Jan 8 2013,rst cause:4, boot mode:(3,6) message.
            @yury / @Koresh do you have any idea about it ?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Abdu Sahin
              wrote on last edited by
              #6

              After upgrading Wemos from 2.3.0 to 2.4.0-RC2 version, OTA works well know :smiley:

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              29

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular