Page 1 of 1

Suddenly no response from REPL

Posted: Mon May 24, 2021 2:53 am
by lgyer
Hi guys,

I am a novice of Micropython.
I ran into a problem about the REPL. When I use the REPL to go into raw mode and type commands repeatly, the REPL does not display any output sometimes. And CTRL+C does not respond. When I use CTRL+D to restart the hardware, but there is still no log output after restarting. Only by shutting down the hardware and then turning it back on can it return to normal.

My board is M5Stack Core and micropython's version is v1.12.

Thanks

Re: Suddenly no response from REPL

Posted: Mon May 31, 2021 8:24 am
by lgyer
Does anyone have any ideas?

Re: Suddenly no response from REPL

Posted: Mon May 31, 2021 8:57 am
by davef
On re-reading this ... do you mean when no program is running and that you are running rshell.

Re: Suddenly no response from REPL

Posted: Tue Jun 01, 2021 2:43 am
by lgyer
davef wrote:
Mon May 31, 2021 8:57 am
On re-reading this ... do you mean when no program is running and that you are running rshell.
Hi davef

Thanks for your reply.
There was some code running, such as led blink.

Re: Suddenly no response from REPL

Posted: Tue Jun 01, 2021 3:12 am
by davef
Ah, I saw a post somewhere about the same issue.

CTRL C stops a running program which puts you in raw repl.

Then CTRL X gets you back to /pyboard/ so that you can then edit files

CTRL D will soft re-boot the device.