Raspberry Pi Pico W Device is busy problem ultimate solution

Raspberry Pi Pico W Device is busy problem ultimate solution

foreword

Raspberry Pi Pico WI 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 WNote: 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.PicoBOOTSELUR2

Step One: Reset the Flash

Flash download address:
https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html

Click to download flash flash file

Step 2: Flash MicroPython

MicroPython firmware download address:
https://www.raspberrypi.com/documentation/microcontrollers/micropython.html
Flash MicroPython

how to avoid

  • main.pyAvoid using filenames when creating and testing programs
  • If you want to run the program on power-up, use themain.py

Supongo que te gusta

Origin blog.csdn.net/a71468293a/article/details/128887369
Recomendado
Clasificación