-->
Page 1 of 1

ESP8266 acting weird.

PostPosted: Sun Jun 26, 2022 9:32 am
by pperica
So, I bought a new ESP8266 board, but I can't get it to run properly. It's constantly printing this to the Serial monitor on 115200 baud rate:
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld


Also if I try to open the Serial monitor on 9600 baud rate and try to print to it, it's printing unknown characters
The onboard LED flashes every 10-15ish seconds and every time it flashes it seems that code in the loop section has been run. I ran esptools.py flash_id command and this is what I got:
esptool.py v4.1

Found 2 serial ports

Serial port COM7

Connecting....

Detecting chip type... Unsupported detection protocol, switching and trying again...

Connecting....

Detecting chip type... ESP8266

Chip is ESP8266EX

Features: WiFi

Crystal is 26MHz

MAC: 48:55:19:c7:dd:6e

Uploading stub...

Running stub...

Stub running...

Manufacturer: 5e

Device: 4016

Detected flash size: 4MB

Hard resetting via RTS pin...


Any help?

Re: ESP8266 acting weird.

PostPosted: Tue Jun 28, 2022 4:38 pm
by AcmeUK
rst cause:4 tells you that the esp has been reset by hardware watchdog timer.

This is confirmed by the wdt reset text on the next line.

The hardware wdt is the last resort of ESP to tell you that application is locked up.

This is extracted from HERE.