Open aivarannamaa opened 3 years ago
Have a look at https://github.com/dhylands/rshell/issues/27 and my fix. I have a sense there are multiple situations that make the soft reboot not reliably return to raw REPL when it was there already, and then could well be solved by my -s
, --suppress-reset
command-line option.
rshell 0.0.30 gets blocked at
Trying to connect to REPL
after I've used the device in Thonny (which leaves it in the raw mode).I can reproduce this with RPi Pico and SparkFun ESP32 Thing on Ubuntu 20.04. Both devices have empty main.py and empty boot.py. Pico has MicroPython 1.15, ESP32 has 1.14.
After connecting with
tio
and switching to normal REPL,rshell
can connect without problems. After switching to raw mode intio
,rshell
fails to connect again.