User Tools

Site Tools


Sidebar

micropython

This is an old revision of the document!


How to unbrick your pico

If you have a main.py file and can not stop if to code using Thonny, you can always rename the file.

Install rshell

sudo pip3 install rshell
rshell --quiet --port /dev/ttyACM0 cp /pyboard/main.py /pyboard/main-1.py
rshell --quiet --port /dev/ttyACM0 rm /pyboard/main.py
micropython.1675925016.txt.gz · Last modified: 2023/02/08 22:43 by vissie