Suddenly no response from REPL

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
lgyer
Posts: 29
Joined: Fri Feb 26, 2021 8:09 am

Suddenly no response from REPL

Post by lgyer » Mon May 24, 2021 2:53 am

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

lgyer
Posts: 29
Joined: Fri Feb 26, 2021 8:09 am

Re: Suddenly no response from REPL

Post by lgyer » Mon May 31, 2021 8:24 am

Does anyone have any ideas?

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

Re: Suddenly no response from REPL

Post by davef » 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.

lgyer
Posts: 29
Joined: Fri Feb 26, 2021 8:09 am

Re: Suddenly no response from REPL

Post by lgyer » Tue Jun 01, 2021 2:43 am

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.

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

Re: Suddenly no response from REPL

Post by davef » Tue Jun 01, 2021 3:12 am

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.

Post Reply