Raspberry Pi Pico W Device is busy problem ultimate solution
foreword
Raspberry Pi Pico W
I ran into this problem when using :
Device is busy or does not respond. Your options:
wait until it completes current work;
use Ctrl+C to interrupt current work;
use Stop/Restart to interrupt more and enter REPL.
The core reason is that I created one main.py
, but I wrote some logic while True:
, which causes it to run continuously when it is powered on, even if the firmware code is reflashed, it still runs in the flash memory.
I searched a lot on Google and couldn't find it. If I didn't see this sentence in the official document
There is no way to brick the board through software.
Maybe I'll just give up on finding the way,
solution
Raspberry Pi Pico W
Note: All files in the folder will be deleted after flashing
The flashing method is the same for the next two steps Hold the button while
inserting , it will show up as a drive, you can drag the downloaded file into the drive.Pico
BOOTSEL
UR2
Step One: Reset the Flash
Flash download address:
https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html
Step 2: Flash MicroPython
MicroPython firmware download address:
https://www.raspberrypi.com/documentation/microcontrollers/micropython.html
how to avoid
main.py
Avoid using filenames when creating and testing programs- If you want to run the program on power-up, use the
main.py