Skip to content

esp-01s crash on boot and/or boot loops #13656

@DimmaDont

Description

@DimmaDont

The problem

ESPHome either hangs on boot or boot loops. May occasionally connect given enough manual resets.

Which version of ESPHome has the issue?

2026.1.3

What type of installation are you using?

pip

What platform are you using?

ESP8266

Component causing the issue

wifi

YAML Config

esphome:
  name: esp01s

esp8266:
  board: esp01_1m

wifi:
  networks:
  - ssid: !secret wifi_ssid
    password: !secret wifi_password

logger:

Anything in the logs that might be useful for us?

Fatal exception 28(LoadProhibitedCause):
epc1=0x40230e85, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000001c, depc=0x00000000

0x4021701c: netif_add_LWIP2 at /local/users/gauchard/arduino/arduino_esp8266/origin/tools/sdk/lwip2/builder/lwip2-src/src/core/netif.c:427

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3424, room 16 
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v0004bf70
~ld
[I][logger:028]: Log initialized
[I][app:087]: Running through setup()
[C][wifi:475]: Starting
[D][wifi:1098]: Starting scan
[I][app:134]: setup() finished successfully!
[W][component:395]: wifi set Warning flag: scanning for networks
[I][app:206]: ESPHome version 2026.1.3 compiled on 2026-01-30 19:56:58 -0500
[C][logger:316]: Logger:
  Max Level: DEBUG
  Initial Level: DEBUG
[C][logger:322]:   Log Baud Rate: 115200
  Hardware UART: UART0
[C][wifi:1304]: WiFi:
  Local MAC: local mac
  Connected: NO
[C][mdns:177]: mDNS:
  Hostname: esp01s
[D][wifi:1227]: Found networks:
[I][wifi:1188]: - 'wifi_ssid' (wifi mac) âââ–†â Ch:11 -65dB P:0
[D][wifi:1259]: - 75 non-matching (VERBOSE to show)
[D][wifi:1563]: Retry phase: INITIAL_CONNECT â SCAN_CONNECTING
[I][wifi:899]: Connecting to 'wifi_ssid' (wifi_mac) (priority 0, attempt 1/2 in phase SCAN_CONNECTING)...

----------------

Exception (1769238629):
epc1=0x28206e6f epc2=0x39363731 epc3=0x36383332 excvaddr=0x3a293932 depc=0x00000000

>>>stack>>>

ctx: sys

0x4021532c: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:179
0x402153f0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:232
0x40215840: _svfprintf_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:662
0x402153f0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:232
0x40212bd5: _vsnprintf_r at /workdir/repo/newlib/newlib/libc/stdio/vsnprintf.c:71
0x402153f0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:232
0x402155ed: _svfprintf_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c:528
0x40212c11: vsnprintf at /workdir/repo/newlib/newlib/libc/stdio/vsnprintf.c:41
0x40212c11: vsnprintf at /workdir/repo/newlib/newlib/libc/stdio/vsnprintf.c:41

Additional information

Device is a stock ESP-01S, connected over serial, and powered externally.

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