WebREPL access resets board?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

WebREPL access resets board?

Post by davef » Sat May 01, 2021 7:26 am

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

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: WebREPL access resets board?

Post by dhylands » Sat May 01, 2021 3:13 pm

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.

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: WebREPL access resets board?

Post by davef » Sat May 01, 2021 7:17 pm

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

Post Reply