[SOLVED] Can't obtain repl over USB using screen on micro:bit

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
talosthoren
Posts: 5
Joined: Sat Jul 13, 2019 5:58 am

Re: Can't obtain repl over USB using screen on micro:bit

Post by talosthoren » Thu Jan 02, 2020 10:49 pm

lujo wrote:
Fri Dec 27, 2019 12:28 am
Hi,

Or MicroPython has been overwritten (with a Microsoft MakeCode program
or something like that).
Plug in the micro:bit, wait until your PC has detected the microbit, you now
have a device file. Start the mu-editor. Click New, then click Flash. This will
install the MicroPython runtime. Click REPL and hit Ctrl-C a few times.
Now you should get a MicroPython prompt. Exit the mu-editor. Screen
should work too.

lujo
Huzaah! That did it! Reflashing the devices got them working as expected. I had tried to flash a recent build of MicroPython on one of them from the CLI, but I suppose it didn't actually work; or the build didn't expose the repl or something. Flashing directly from mu-editor has resolved the issue. Thanks so much!

Post Reply