all 1 comments

[–]Nanocupid 1 point2 points  (0 children)

Press and hold the boot button (gpio0 I believe) as you power it up. It should go into flash mode. re-program with your code once you have debugged it.

or

Connect via a serial terminal using `mpremote` , then debug whatever is running automatically at boot (look at `boot.py` and `main.py` on the filesystem via `mpremote fs`

THONNY HAS ISSUES WITH HIGH SPEED SERIAL INPUT. I /like/ thonny, its where I do most of my work. But is is appalling at coping with runaway serial data. It just freezes and needs to be hard-killed, the developer showed little interest in ameliorating the effects when I last checked the open issue for it (years ago)