ESP8266 (ESP32 WROOM-2) NodeMCU board reboot randomly

I have a ESP32 WROOM-02 board, which works fine most of time. set to work as WIFI-AP mode, the device can connect and send/receive data without any issue.

However it will randomly reboot if let it run for awhile, sometime it takes 30 minutes to reboot, sometimes it takes several hours to reboot.

From the serial port, it shows following 2 lines message right before reboot:
tx rts error 0x16
mac 1370

I have tried to replace the nonossdk with various versions (below 3.0), there is no difference.

ESP8266 sdk v2.74 was used, and all other versions below 2.74 had been tested too, got same error.

Upgrading to high version (>3.0) is causing other issue (device cannot get IP once connected), there is no other option, besides I have to use 'lwip v1.4 compile from the source' option other than 'lwip v2.0', so v2.74 is the best one I can use.

Anyone has seen this issue too? It runs fine most of time, but just not stable and it cannot be released to the customers b/c of this rebooting issue.

I really cannot find where the 'tx rts error 0x16' coming from, neither know what this error really means.

Thanks advance for the help.
John

You have an ESP8266 and a ESP32 that randomly reboot right?

Which board will you be trying to troubleshoot in this thread first?

No, the board is ESP32-WROOM-02, which is equivalent to ESP8266. So I use all the ESP8266's SDK to create the build.

Thanks
John

An ESP8266 is NOT a ESP32.

Unfortunately they are completely different animals, they may behave similarly but are different bits of hardware.
You will find that there are libraries for 8266 and separate libraries for ESP32.
ESP32 vs ESP8266 - Pros and Cons - Maker Advisor.

Tom... :smiley: :+1: :coffee: :australia:

Sorry, my bad, I didn't describe it right. The board is ESP-WROOM-02, which has ESP8266 chip embedded. It is not ESP32 chip.
Thanks
John

Good luck.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.