Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5408

MicroPython • Re: Is regular Pi Pico bricking normal?

$
0
0
I've never had to use nuke, holding the bootsel down when reboot has always ended up with it appearing as a storqge device and being easily reprogrammed.
That works for Pico SDK programs, also works for installing or reinstalling MicroPython firmware, other '.uf2' files, but doesn't work for uploading '.py' files into the MicroPython file system which MicroPython will run.

If MicroPython executes a badly coded 'main.py' or something that imports, it can 'brick' MicroPython, will require Flash to be nuked to recover from that.

Tools which interact with MicroPython shouldn't interact with 'main.py' unless explicitly told to do so, should interact via the REPL. Thonny and 'mpremote' do that but other tools may not.

Statistics: Posted by hippy — Sat Jan 11, 2025 8:25 pm



Viewing all articles
Browse latest Browse all 5408

Trending Articles