Page 1 of 1

WebREPL access resets board?

Posted: Sat May 01, 2021 7:26 am
by davef
I have been trying to track down random re-boots on an ESP8266. By logging the time every minute it appears that these re-boots often occur when I try to access the device via WebREPL.

In order to access the device I have WiFi running all the time. I don't use rshell as that re-boots the board when you fire up a new session. To clarify I am accessing via the network not at http://192.168.4.1:8266/

Is there some way running the command <rshell> that will not re-boot the board or am I using WebREPL incorrectly?

Thanks,
Dave

Re: WebREPL access resets board?

Posted: Sat May 01, 2021 3:13 pm
by dhylands
Fundamentally, rshell needs to get to the REPL, which means that it needs to stop whatever is running on the board.

If you’re just trying to get a REPL then you would need to build that into your program.

Re: WebREPL access resets board?

Posted: Sat May 01, 2021 7:17 pm
by davef
OK on rshell.

I will change to "debugging" my program via a direct connection (192.168.4.1:8266) to the ESP8266 rather than through the network and see if that helps.

Thanks