← index #17918Issue #7417
Related · high · value 1.791
QUERY · ISSUE

mpremote: enter_raw_repl: not working with micropython v1.26

openby sebert007opened 2025-08-14updated 2025-09-05
bugtools

Port, board and/or hardware

esp32-s3, mpremote

MicroPython version

micropython v1.26 with ESP32-S3

Reproduction

mpremote cp process_handler.py :/process_handler.py

Expected behaviour

Should copy

Observed behaviour

mpremote.transport.TransportError: could not enter raw repl

Additional Information

I observed that from being in raw REPL, you cannot initiate a reboot with CTRL-D any more like it was in earlier micropython version.
For reboot, you now need to leave the raw REPL with CTRL-A first before being able to reboot with CTRL-D.

So the behavior of enter_raw_repl in transport_serial.pymight need modification.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

mpremote: Use time delay between copying files in WINDOWS batch file

closedby IhorNehrutsaopened 2021-06-18updated 2022-03-07
tools

I use WINDOWS 10 and ESP32

python.exe mpremote.py connect port:COM8 cp file1.py :
timeout 2
python.exe mpremote.py connect port:COM8 cp file2.py :
timeout 2
python.exe mpremote.py connect port:COM8 cp file3.py :

If timeout less 2 then raise "could not enter raw repl"

b'MicroPython v1.15-274-g023342b45-dirty on 2021-06-11; ESP32 module with ESP32\r\nType "help()" for more information.\r\n>>> '
Traceback (most recent call last):
  File "d:\MicroPython\micropython_0\tools\mpremote\mpremote.py", line 6, in <module>
    sys.exit(main.main())
  File "d:\MicroPython\micropython_0\tools\mpremote\mpremote\main.py", line 408, in main
    pyb.enter_raw_repl()
  File "d:\MicroPython\micropython_0\tools\mpremote\mpremote/../..\pyboard.py", line 340, in enter_raw_repl
    raise PyboardError("could not enter raw repl")
pyboard.PyboardError: could not enter raw repl

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied