I'm testing on ESP-01.
Sometimes calling system_restart() hangup at below place:
ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
A success restart with below messages:
rm match
pm close 7 0 0/249983509
del if0
usl
sul 0 0
TCP: Reconnect to test.mosquitto.org:1883
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 30172, room 16
tail 12
chksum 0x70
ho 0 tail 12 room 4
load 0x3ffe8000, len 2416, room 12
tail 4
chksum 0x03
load 0x3ffe8970, len 5316, room 4
tail 0
chksum 0x93
csum 0x93
It seems the boot mode always shows boot mode:(1,7) when the hangup happens.
What is the meaning of the boot mode code?