Hi, hadn't time testing until now.
I imported webrepl, did some test, it seems to work so far. I disconnected, looked back at the serial and saw a reboot.
I did several test, even just connecting to and disconnecting from webrepl, after some times the same fatal exception and reboot. It's seems to be similar to deshipu's problem.
Code: Select all
Fatal exception 28(LoadProhibitedCause):
epc1=0x4025481a, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000070, depc=0x00000000
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 30424, room 16
tail 8
chksum 0x9a
load 0x3ffe8000, len 1000, room 0
tail 8
chksum 0x0e
load 0x3ffe83f0, len 2652, room 0
tail 12
chksum 0xff
csum 0xff
os.listdir() works fine for me, no fatal exception
I tried to connect with http on the ws, I know, it won't work, but it made webrepl2 crash
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "", line 74, in <module>
File "", line 67, in start
File "", line 34, in handshake
OSError: Not a websocket request
I tried to restart and got
Code: Select all
>>> import webrepl2
>>> webrepl2.start()
Bind address info: [(2, 1, 0, '', ('0.0.0.0', 8080))]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "", line 61, in start
File "", line 47, in wait_connection
OSError: 112
A soft reboot changes nothing, but after some time, the webrepl2.start() works again, perhaps after timeout.
On my Olimex board :
Code: Select all
>>> hex(esp.flash_id())
'0x1540ef'