Skip to content

ESP8266 reboot randomly after awhile #8687

@xuejohn28

Description

@xuejohn28

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: [ESP8266 - ESP-WROOM-02]
  • Core Version: [2.7.4]
  • Development Env: [Arduino IDE]
  • Operating System: [Ubuntu]

Settings in IDE

  • Module: [|Nodemcu]
  • Flash Mode: [qio|dio|other]
  • Flash Size: [4MB/1MB]
  • lwip Variant: [v1.4]
  • Reset Method: [ck|nodemcu]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz|160MHz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200|other] (serial upload only)

Problem Description

I am working on ESP8266 board (ESP-wroom-02), and use wifi-ap, it works fine most of time, the device can connect to it and sends/receives data without problem. However it will reboot randomly if letting it run for awhile, sometimes it reboots within 30 minutes, sometimes it reboots after several hours. Multiple boards have been tested, all of them have same problem.

The following 2 line message are shown from serial port right before rebooting, then it will reboot immediately:
"tx rts error 0x16"
"mac 1370"

I am using arduino IDE with ESP8266 sdk v2.7.4, nonosdk, I have spent so much time to identify the issue, however I have no clue so far.

I suspect it has something to do with Nonos_sdk, and but there is no source code to let me tracking down where and how the issue occurs.

NOTES: I must use ESP8266 SDK v2.74 (or lower), but cannot use greater than v2.7.4, since I need to use lwip v1.4 compile from source option, and high version sdk doesn't have this option but only lwip v2.0, which is not suitable for our project.

Please help to resolve this issue.
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions